/*
Keytables for supported remote controls. This file is part of
video4linux.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/input.h>
#include <media/ir-common.h>
/* empty keytable, can be used as placeholder for not-yet created keytables */
IR_KEYTAB_TYPE ir_codes_empty[IR_KEYTAB_SIZE] = {
[ 0x2a ] = KEY_COFFEE,
};
EXPORT_SYMBOL_GPL(ir_codes_empty);
/* Matt Jesson <dvb@jesson.eclipse.co.uk */
IR_KEYTAB_TYPE ir_codes_avermedia_dvbt[IR_KEYTAB_SIZE] = {
[ 0x28 ] = KEY_0, //'0' / 'enter'
[ 0x22 ] = KEY_1, //'1'
[ 0x12 ] = KEY_2, //'2' / 'up arrow'
[ 0x32 ] = KEY_3, //'3'
[ 0x24 ] = KEY_4, //'4' / 'left arrow'
[ 0x14 ] = KEY_5, //'5'
[ 0x34 ] = KEY_6, //'6' / 'right arrow'
[ 0x26 ] = KEY_7, //'7'
[ 0x16 ] = KEY_8, //'8' / 'down arrow'
[ 0x36