aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/dib0700_devices.c
diff options
context:
space:
mode:
authorJaroslav Barton <djaara@djaara.net>2007-11-10 17:17:45 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:02:09 -0500
commit48e6a0173162690533951cd72b3edaa2e1605716 (patch)
treed685badd7b0c06b379c78b453cdb9ca577eb9eac /drivers/media/dvb/dvb-usb/dib0700_devices.c
parent7d497f8afa80128bb99a425a6d7a766a863128a5 (diff)
V4L/DVB (6588): Leadtek Winfast DTV Dongle remote control
Add remote controller support for Leadtek Winfast DTV Dongle based on DiB7700P, MT2060 and using last drivers (6040:6a79c243aecc), firmware dvb-usb-dib0700-03-pre1.fw Signed-off-by: Jaroslav Barton <djaara@djaara.net> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dib0700_devices.c')
-rw-r--r--drivers/media/dvb/dvb-usb/dib0700_devices.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c
index 58452b52002c..5af779e332b4 100644
--- a/drivers/media/dvb/dvb-usb/dib0700_devices.c
+++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c
@@ -415,6 +415,35 @@ static struct dvb_usb_rc_key dib0700_rc_keys[] = {
415 { 0x1e, 0x38, KEY_YELLOW }, 415 { 0x1e, 0x38, KEY_YELLOW },
416 { 0x1e, 0x3b, KEY_GOTO }, 416 { 0x1e, 0x3b, KEY_GOTO },
417 { 0x1e, 0x3d, KEY_POWER }, 417 { 0x1e, 0x3d, KEY_POWER },
418
419 /* Key codes for the Leadtek Winfast DTV Dongle */
420 { 0x00, 0x42, KEY_POWER },
421 { 0x07, 0x7c, KEY_TUNER },
422 { 0x0f, 0x4e, KEY_PRINT }, /* PREVIEW */
423 { 0x08, 0x40, KEY_SCREEN }, /* full screen toggle*/
424 { 0x0f, 0x71, KEY_DOT }, /* frequency */
425 { 0x07, 0x43, KEY_0 },
426 { 0x0c, 0x41, KEY_1 },
427 { 0x04, 0x43, KEY_2 },
428 { 0x0b, 0x7f, KEY_3 },
429 { 0x0e, 0x41, KEY_4 },
430 { 0x06, 0x43, KEY_5 },
431 { 0x09, 0x7f, KEY_6 },
432 { 0x0d, 0x7e, KEY_7 },
433 { 0x05, 0x7c, KEY_8 },
434 { 0x0a, 0x40, KEY_9 },
435 { 0x0e, 0x4e, KEY_CLEAR },
436 { 0x04, 0x7c, KEY_CHANNEL }, /* show channel number */
437 { 0x0f, 0x41, KEY_LAST }, /* recall */
438 { 0x03, 0x42, KEY_MUTE },
439 { 0x06, 0x4c, KEY_RESERVED }, /* PIP button*/
440 { 0x01, 0x72, KEY_SHUFFLE }, /* SNAPSHOT */
441 { 0x0c, 0x4e, KEY_PLAYPAUSE }, /* TIMESHIFT */
442 { 0x0b, 0x70, KEY_RECORD },
443 { 0x03, 0x7d, KEY_VOLUMEUP },
444 { 0x01, 0x7d, KEY_VOLUMEDOWN },
445 { 0x02, 0x42, KEY_CHANNELUP },
446 { 0x00, 0x7d, KEY_CHANNELDOWN },
418}; 447};
419 448
420/* STK7700P: Hauppauge Nova-T Stick, AVerMedia Volar */ 449/* STK7700P: Hauppauge Nova-T Stick, AVerMedia Volar */