diff options
author | Ricardo Cerqueira <devnull@localhost> | 2006-01-17 23:56:15 +0000 |
---|---|---|
committer | Ricardo Cerqueira <devnull@localhost> | 2006-01-17 23:56:15 +0000 |
commit | aa14ec8893a43f33a52ac624553a68c3db1f8024 (patch) | |
tree | 1b9a4d6d5cf2af1c2c31e009ae96ce373087ad33 /linux/drivers/media/common/ir-keymaps.c | |
parent | 4b9fa455b621a5ea37b84bb74e9a187489d587c0 (diff) | |
download | mediapointer-dvb-s2-aa14ec8893a43f33a52ac624553a68c3db1f8024.tar.gz mediapointer-dvb-s2-aa14ec8893a43f33a52ac624553a68c3db1f8024.tar.bz2 |
From: Ricardo Cerqueira <v4l@cerqueira.org>
Fix keymap declarations
Bugfix
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Diffstat (limited to 'linux/drivers/media/common/ir-keymaps.c')
-rw-r--r-- | linux/drivers/media/common/ir-keymaps.c | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/linux/drivers/media/common/ir-keymaps.c b/linux/drivers/media/common/ir-keymaps.c index afe35abf4..e0996abcd 100644 --- a/linux/drivers/media/common/ir-keymaps.c +++ b/linux/drivers/media/common/ir-keymaps.c @@ -1,6 +1,6 @@ /* - $Id: ir-keymaps.c,v 1.2 2006/01/17 21:54:41 rmcc Exp $ + $Id: ir-keymaps.c,v 1.3 2006/01/17 23:56:15 rmcc Exp $ Keytables for supported remote controls. This file is part of video4linux. @@ -27,13 +27,13 @@ #include <media/ir-common.h> /* empty keytable, can be used as placeholder for not-yet created keytables */ -static IR_KEYTAB_TYPE ir_codes_empty[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_empty[IR_KEYTAB_SIZE] = { [ 0x2a ] = KEY_COFFEE, }; EXPORT_SYMBOL_GPL(ir_codes_empty); -static IR_KEYTAB_TYPE ir_codes_avermedia[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_avermedia[IR_KEYTAB_SIZE] = { [ 0x22 ] = KEY_0, [ 0x28 ] = KEY_1, [ 0x18 ] = KEY_2, @@ -78,7 +78,7 @@ static IR_KEYTAB_TYPE ir_codes_avermedia[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_avermedia); /* Matt Jesson <dvb@jesson.eclipse.co.uk */ -static IR_KEYTAB_TYPE ir_codes_avermedia_dvbt[IR_KEYTAB_SIZE] = { +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' @@ -119,7 +119,7 @@ static IR_KEYTAB_TYPE ir_codes_avermedia_dvbt[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_avermedia_dvbt); /* Attila Kondoros <attila.kondoros@chello.hu> */ -static IR_KEYTAB_TYPE ir_codes_apac_viewcomp[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_apac_viewcomp[IR_KEYTAB_SIZE] = { [ 0x01 ] = KEY_1, [ 0x02 ] = KEY_2, @@ -163,7 +163,7 @@ EXPORT_SYMBOL_GPL(ir_codes_apac_viewcomp); /* ---------------------------------------------------------------------- */ -static IR_KEYTAB_TYPE ir_codes_conceptronic[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_conceptronic[IR_KEYTAB_SIZE] = { [ 0x1e ] = KEY_POWER, // power [ 0x07 ] = KEY_MEDIA, // source @@ -227,7 +227,7 @@ static IR_KEYTAB_TYPE ir_codes_conceptronic[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_conceptronic); -static IR_KEYTAB_TYPE ir_codes_nebula[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_nebula[IR_KEYTAB_SIZE] = { [ 0x00 ] = KEY_0, [ 0x01 ] = KEY_1, [ 0x02 ] = KEY_2, @@ -288,7 +288,7 @@ static IR_KEYTAB_TYPE ir_codes_nebula[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_nebula); /* DigitalNow DNTV Live DVB-T Remote */ -static IR_KEYTAB_TYPE ir_codes_dntv_live_dvb_t[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_dntv_live_dvb_t[IR_KEYTAB_SIZE] = { [ 0x00 ] = KEY_ESC, /* 'go up a level?' */ /* Keys 0 to 9 */ [ 0x0a ] = KEY_0, @@ -331,7 +331,7 @@ EXPORT_SYMBOL_GPL(ir_codes_dntv_live_dvb_t); /* ---------------------------------------------------------------------- */ /* IO-DATA BCTV7E Remote */ -static IR_KEYTAB_TYPE ir_codes_iodata_bctv7e[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_iodata_bctv7e[IR_KEYTAB_SIZE] = { [ 0x40 ] = KEY_TV, [ 0x20 ] = KEY_RADIO, /* FM */ [ 0x60 ] = KEY_EPG, @@ -384,7 +384,7 @@ EXPORT_SYMBOL_GPL(ir_codes_iodata_bctv7e); /* ---------------------------------------------------------------------- */ /* ADS Tech Instant TV DVB-T PCI Remote */ -static IR_KEYTAB_TYPE ir_codes_adstech_dvb_t_pci[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_adstech_dvb_t_pci[IR_KEYTAB_SIZE] = { /* Keys 0 to 9 */ [ 0x4d ] = KEY_0, [ 0x57 ] = KEY_1, @@ -438,7 +438,7 @@ EXPORT_SYMBOL_GPL(ir_codes_adstech_dvb_t_pci); /* ---------------------------------------------------------------------- */ /* MSI TV@nywhere remote */ -static IR_KEYTAB_TYPE ir_codes_msi_tvanywhere[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_msi_tvanywhere[IR_KEYTAB_SIZE] = { /* Keys 0 to 9 */ [ 0x00 ] = KEY_0, [ 0x01 ] = KEY_1, @@ -472,7 +472,7 @@ EXPORT_SYMBOL_GPL(ir_codes_msi_tvanywhere); /* ---------------------------------------------------------------------- */ /* Cinergy 1400 DVB-T */ -static IR_KEYTAB_TYPE ir_codes_cinergy_1400[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_cinergy_1400[IR_KEYTAB_SIZE] = { [ 0x01 ] = KEY_POWER, [ 0x02 ] = KEY_1, [ 0x03 ] = KEY_2, @@ -521,7 +521,7 @@ EXPORT_SYMBOL_GPL(ir_codes_cinergy_1400); /* ---------------------------------------------------------------------- */ /* AVERTV STUDIO 303 Remote */ -static IR_KEYTAB_TYPE ir_codes_avertv_303[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_avertv_303[IR_KEYTAB_SIZE] = { [ 0x2a ] = KEY_1, [ 0x32 ] = KEY_2, [ 0x3a ] = KEY_3, @@ -571,7 +571,7 @@ EXPORT_SYMBOL_GPL(ir_codes_avertv_303); /* ---------------------------------------------------------------------- */ /* DigitalNow DNTV Live! DVB-T Pro Remote */ -static IR_KEYTAB_TYPE ir_codes_dntv_live_dvbt_pro[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_dntv_live_dvbt_pro[IR_KEYTAB_SIZE] = { [ 0x16 ] = KEY_POWER, [ 0x5b ] = KEY_HOME, @@ -630,7 +630,7 @@ static IR_KEYTAB_TYPE ir_codes_dntv_live_dvbt_pro[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_dntv_live_dvbt_pro); -static IR_KEYTAB_TYPE ir_codes_em_terratec[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_em_terratec[IR_KEYTAB_SIZE] = { [ 0x01 ] = KEY_CHANNEL, [ 0x02 ] = KEY_SELECT, [ 0x03 ] = KEY_MUTE, @@ -663,7 +663,7 @@ static IR_KEYTAB_TYPE ir_codes_em_terratec[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_em_terratec); -static IR_KEYTAB_TYPE ir_codes_em_pinnacle_usb[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_em_pinnacle_usb[IR_KEYTAB_SIZE] = { [ 0x3a ] = KEY_0, [ 0x31 ] = KEY_1, [ 0x32 ] = KEY_2, @@ -717,7 +717,7 @@ static IR_KEYTAB_TYPE ir_codes_em_pinnacle_usb[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_em_pinnacle_usb); -static IR_KEYTAB_TYPE ir_codes_flyvideo[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_flyvideo[IR_KEYTAB_SIZE] = { [ 0x0f ] = KEY_0, [ 0x03 ] = KEY_1, [ 0x04 ] = KEY_2, @@ -747,7 +747,7 @@ static IR_KEYTAB_TYPE ir_codes_flyvideo[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_flyvideo); -static IR_KEYTAB_TYPE ir_codes_flydvb[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_flydvb[IR_KEYTAB_SIZE] = { [ 0x01 ] = KEY_ZOOM, // Full Screen [ 0x00 ] = KEY_POWER, // Power @@ -788,7 +788,7 @@ static IR_KEYTAB_TYPE ir_codes_flydvb[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_flydvb); -static IR_KEYTAB_TYPE ir_codes_cinergy[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_cinergy[IR_KEYTAB_SIZE] = { [ 0x00 ] = KEY_0, [ 0x01 ] = KEY_1, [ 0x02 ] = KEY_2, @@ -832,7 +832,7 @@ EXPORT_SYMBOL_GPL(ir_codes_cinergy); /* Alfons Geser <a.geser@cox.net> * updates from Job D. R. Borges <jobdrb@ig.com.br> */ -static IR_KEYTAB_TYPE ir_codes_eztv[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_eztv[IR_KEYTAB_SIZE] = { [ 0x12 ] = KEY_POWER, [ 0x01 ] = KEY_TV, // DVR [ 0x15 ] = KEY_DVD, // DVD @@ -889,7 +889,7 @@ static IR_KEYTAB_TYPE ir_codes_eztv[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_eztv); -static IR_KEYTAB_TYPE ir_codes_avacssmart[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_avacssmart[IR_KEYTAB_SIZE] = { [ 0x1e ] = KEY_POWER, // power [ 0x1c ] = KEY_SEARCH, // scan [ 0x07 ] = KEY_SELECT, // source @@ -934,7 +934,7 @@ static IR_KEYTAB_TYPE ir_codes_avacssmart[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_avacssmart); /* Alex Hermann <gaaf@gmx.net> */ -static IR_KEYTAB_TYPE ir_codes_md2819[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_md2819[IR_KEYTAB_SIZE] = { [ 0x28 ] = KEY_1, [ 0x18 ] = KEY_2, [ 0x38 ] = KEY_3, @@ -982,7 +982,7 @@ static IR_KEYTAB_TYPE ir_codes_md2819[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_md2819); -static IR_KEYTAB_TYPE ir_codes_videomate_tv_pvr[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_videomate_tv_pvr[IR_KEYTAB_SIZE] = { [ 0x14 ] = KEY_MUTE, [ 0x24 ] = KEY_ZOOM, @@ -1042,7 +1042,7 @@ EXPORT_SYMBOL_GPL(ir_codes_videomate_tv_pvr); the button labels (several variants when appropriate) helps to descide which keycodes to assign to the buttons. */ -static IR_KEYTAB_TYPE ir_codes_manli[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_manli[IR_KEYTAB_SIZE] = { /* 0x1c 0x12 * * FUNCTION POWER * @@ -1132,7 +1132,7 @@ static IR_KEYTAB_TYPE ir_codes_manli[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_manli); /* Mike Baikov <mike@baikov.com> */ -static IR_KEYTAB_TYPE ir_codes_gotview7135[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_gotview7135[IR_KEYTAB_SIZE] = { [ 0x21 ] = KEY_POWER, [ 0x69 ] = KEY_TV, @@ -1173,7 +1173,7 @@ static IR_KEYTAB_TYPE ir_codes_gotview7135[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_gotview7135); -static IR_KEYTAB_TYPE ir_codes_purpletv[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_purpletv[IR_KEYTAB_SIZE] = { [ 0x03 ] = KEY_POWER, [ 0x6f ] = KEY_MUTE, [ 0x10 ] = KEY_BACKSPACE, /* Recall */ @@ -1227,7 +1227,7 @@ EXPORT_SYMBOL_GPL(ir_codes_purpletv); /* Mapping for the 28 key remote control as seen at http://www.sednacomputer.com/photo/cardbus-tv.jpg Pavel Mihaylov <bin@bash.info> */ -static IR_KEYTAB_TYPE ir_codes_pctv_sedna[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_pctv_sedna[IR_KEYTAB_SIZE] = { [ 0x00 ] = KEY_0, [ 0x01 ] = KEY_1, [ 0x02 ] = KEY_2, @@ -1262,7 +1262,7 @@ static IR_KEYTAB_TYPE ir_codes_pctv_sedna[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_pctv_sedna); /* Mark Phalan <phalanm@o2.ie> */ -static IR_KEYTAB_TYPE ir_codes_pv951[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_pv951[IR_KEYTAB_SIZE] = { [ 0x00 ] = KEY_0, [ 0x01 ] = KEY_1, [ 0x02 ] = KEY_2, @@ -1305,7 +1305,7 @@ EXPORT_SYMBOL_GPL(ir_codes_pv951); /* generic RC5 keytable */ /* see http://users.pandora.be/nenya/electronics/rc5/codes00.htm */ /* used by old (black) Hauppauge remotes */ -static IR_KEYTAB_TYPE ir_codes_rc5_tv[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_rc5_tv[IR_KEYTAB_SIZE] = { /* Keys 0 to 9 */ [ 0x00 ] = KEY_0, [ 0x01 ] = KEY_1, @@ -1380,7 +1380,7 @@ static IR_KEYTAB_TYPE ir_codes_rc5_tv[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_rc5_tv); /* Table for Leadtek Winfast Remote Controls - used by both bttv and cx88 */ -static IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE] = { /* Keys 0 to 9 */ [ 0x12 ] = KEY_0, [ 0x05 ] = KEY_1, @@ -1442,7 +1442,7 @@ static IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_winfast); -static IR_KEYTAB_TYPE ir_codes_pinnacle[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_pinnacle[IR_KEYTAB_SIZE] = { [ 0x59 ] = KEY_MUTE, [ 0x4a ] = KEY_POWER, @@ -1505,7 +1505,7 @@ EXPORT_SYMBOL_GPL(ir_codes_pinnacle); /* Hauppauge: the newer, gray remotes (seems there are multiple * slightly different versions), shipped with cx88+ivtv cards. * almost rc5 coding, but some non-standard keys */ -static IR_KEYTAB_TYPE ir_codes_hauppauge_new[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_hauppauge_new[IR_KEYTAB_SIZE] = { /* Keys 0 to 9 */ [ 0x00 ] = KEY_0, [ 0x01 ] = KEY_1, @@ -1565,7 +1565,7 @@ static IR_KEYTAB_TYPE ir_codes_hauppauge_new[IR_KEYTAB_SIZE] = { EXPORT_SYMBOL_GPL(ir_codes_hauppauge_new); -static IR_KEYTAB_TYPE ir_codes_pixelview[IR_KEYTAB_SIZE] = { +IR_KEYTAB_TYPE ir_codes_pixelview[IR_KEYTAB_SIZE] = { [ 0x02 ] = KEY_0, [ 0x01 ] = KEY_1, [ 0x0b ] = KEY_2, |