aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJanne Grunau <janne-dvb@grunau.be>2007-07-30 12:54:55 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:03:45 -0400
commit7161f27f2e61b44352a9dcf3927813380d5e710b (patch)
treeeb9994c6bc81111a6426aa6928805b285f2ec25a /drivers
parent82f3d5594240adcd8d6764cf31dffc473a6cc1d0 (diff)
V4L/DVB (5957): Add remote keymap for the Hauppauge Nova-TD Stick
Copied from drivers/media/dvb/dvb-usb/nova-t-usb2.c Signed-off-by: Janne Grunau <janne-dvb@grunau.be> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/dvb-usb/dib0700_devices.c51
1 files changed, 49 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c
index 994e5b8d44a2..fb1a9bf7e591 100644
--- a/drivers/media/dvb/dvb-usb/dib0700_devices.c
+++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c
@@ -346,7 +346,7 @@ static struct dvb_usb_rc_key dib0700_rc_keys[] = {
346 { 0xeb, 0x1a, KEY_BLUE }, 346 { 0xeb, 0x1a, KEY_BLUE },
347 { 0xeb, 0x1b, KEY_CHANNELUP }, 347 { 0xeb, 0x1b, KEY_CHANNELUP },
348 { 0xeb, 0x1c, KEY_VOLUMEUP }, 348 { 0xeb, 0x1c, KEY_VOLUMEUP },
349 { 0xeb, 0x1d, KEY_MUTE }, 349 { 0xeb, 0x1d, KEY_MUTE },
350 { 0xeb, 0x1e, KEY_VOLUMEDOWN }, 350 { 0xeb, 0x1e, KEY_VOLUMEDOWN },
351 { 0xeb, 0x1f, KEY_CHANNELDOWN }, 351 { 0xeb, 0x1f, KEY_CHANNELDOWN },
352 { 0xeb, 0x40, KEY_PAUSE }, 352 { 0xeb, 0x40, KEY_PAUSE },
@@ -367,7 +367,54 @@ static struct dvb_usb_rc_key dib0700_rc_keys[] = {
367 { 0xeb, 0x4f, KEY_FASTFORWARD }, 367 { 0xeb, 0x4f, KEY_FASTFORWARD },
368 { 0xeb, 0x54, KEY_PREVIOUS }, 368 { 0xeb, 0x54, KEY_PREVIOUS },
369 { 0xeb, 0x58, KEY_RECORD }, 369 { 0xeb, 0x58, KEY_RECORD },
370 { 0xeb, 0x5c, KEY_NEXT } 370 { 0xeb, 0x5c, KEY_NEXT },
371
372 /* Key codes for the Haupauge WinTV Nova-TD, copied from nova-t-usb2.c (Nova-T USB2) */
373 { 0x1e, 0x00, KEY_0 },
374 { 0x1e, 0x01, KEY_1 },
375 { 0x1e, 0x02, KEY_2 },
376 { 0x1e, 0x03, KEY_3 },
377 { 0x1e, 0x04, KEY_4 },
378 { 0x1e, 0x05, KEY_5 },
379 { 0x1e, 0x06, KEY_6 },
380 { 0x1e, 0x07, KEY_7 },
381 { 0x1e, 0x08, KEY_8 },
382 { 0x1e, 0x09, KEY_9 },
383 { 0x1e, 0x0a, KEY_KPASTERISK },
384 { 0x1e, 0x0b, KEY_RED },
385 { 0x1e, 0x0c, KEY_RADIO },
386 { 0x1e, 0x0d, KEY_MENU },
387 { 0x1e, 0x0e, KEY_GRAVE }, /* # */
388 { 0x1e, 0x0f, KEY_MUTE },
389 { 0x1e, 0x10, KEY_VOLUMEUP },
390 { 0x1e, 0x11, KEY_VOLUMEDOWN },
391 { 0x1e, 0x12, KEY_CHANNEL },
392 { 0x1e, 0x14, KEY_UP },
393 { 0x1e, 0x15, KEY_DOWN },
394 { 0x1e, 0x16, KEY_LEFT },
395 { 0x1e, 0x17, KEY_RIGHT },
396 { 0x1e, 0x18, KEY_VIDEO },
397 { 0x1e, 0x19, KEY_AUDIO },
398 { 0x1e, 0x1a, KEY_MEDIA },
399 { 0x1e, 0x1b, KEY_EPG },
400 { 0x1e, 0x1c, KEY_TV },
401 { 0x1e, 0x1e, KEY_NEXT },
402 { 0x1e, 0x1f, KEY_BACK },
403 { 0x1e, 0x20, KEY_CHANNELUP },
404 { 0x1e, 0x21, KEY_CHANNELDOWN },
405 { 0x1e, 0x24, KEY_LAST }, /* Skip backwards */
406 { 0x1e, 0x25, KEY_OK },
407 { 0x1e, 0x29, KEY_BLUE},
408 { 0x1e, 0x2e, KEY_GREEN },
409 { 0x1e, 0x30, KEY_PAUSE },
410 { 0x1e, 0x32, KEY_REWIND },
411 { 0x1e, 0x34, KEY_FASTFORWARD },
412 { 0x1e, 0x35, KEY_PLAY },
413 { 0x1e, 0x36, KEY_STOP },
414 { 0x1e, 0x37, KEY_RECORD },
415 { 0x1e, 0x38, KEY_YELLOW },
416 { 0x1e, 0x3b, KEY_GOTO },
417 { 0x1e, 0x3d, KEY_POWER },
371}; 418};
372 419
373/* STK7700P: Hauppauge Nova-T Stick, AVerMedia Volar */ 420/* STK7700P: Hauppauge Nova-T Stick, AVerMedia Volar */