summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/ir-keymaps.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-11-26 13:57:10 -0800
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-11-26 13:57:10 -0800
commit916446c701fb0dd6e8c29f883d8b73a14745ab6e (patch)
tree53147972e5eac7076af4818fd2eea62501553cab /linux/drivers/media/common/ir-keymaps.c
parent3e183c071a2386de1e1f9d6149540e362cf2597a (diff)
downloadmediapointer-dvb-s2-916446c701fb0dd6e8c29f883d8b73a14745ab6e.tar.gz
mediapointer-dvb-s2-916446c701fb0dd6e8c29f883d8b73a14745ab6e.tar.bz2
ir-keymaps.c: extra keys on winfast Y04G0033 remote
From: Michel Lespinasse <walken@zoy.org> This change adds support for 4 extra keys on the remote currently being shipped by leadtek with their "WinFast TV2000 XP/Expert" and "WinFast PVR2000" cards. The remote P/N seems to be Y04G0033 and you can see a picture of it here: http://lespinasse.org/y04g0033.jpg The extra keys are at the bottom and are labeled MCE +VOL, -VOL, +CH, -CH. I chose to map them to the F21-F24 keycodes, following the precedent of ir_codes_gotview7135[], so as to differentiate these 'MCE' keys from the other +VOL, -VOL, +CH, -CH 'arrow' keys higher up on the remote. Signed-off-by: Michel Lespinasse <walken@zoy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/common/ir-keymaps.c')
-rw-r--r--linux/drivers/media/common/ir-keymaps.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/linux/drivers/media/common/ir-keymaps.c b/linux/drivers/media/common/ir-keymaps.c
index f61bbc37a..a15adf834 100644
--- a/linux/drivers/media/common/ir-keymaps.c
+++ b/linux/drivers/media/common/ir-keymaps.c
@@ -1374,7 +1374,12 @@ IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE] = {
[ 0x35 ] = KEY_FASTFORWARD,
[ 0x36 ] = KEY_TV,
[ 0x37 ] = KEY_RADIO, /* FM */
- [ 0x38 ] = KEY_DVD
+ [ 0x38 ] = KEY_DVD,
+
+ [ 0x3e ] = KEY_F21, /* MCE +VOL, on Y04G0033 */
+ [ 0x3a ] = KEY_F22, /* MCE -VOL, on Y04G0033 */
+ [ 0x3b ] = KEY_F23, /* MCE +CH, on Y04G0033 */
+ [ 0x3f ] = KEY_F24 /* MCE -CH, on Y04G0033 */
};
EXPORT_SYMBOL_GPL(ir_codes_winfast);