aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/dibusb-common.c
diff options
context:
space:
mode:
authorSergei Haller <sergei@sergei-haller.de>2006-05-14 09:47:21 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-09-26 10:53:42 -0400
commita841e1f6d153c72e29802a33520f2c862792f7b0 (patch)
tree6729a39150b74fd1fd8f75ded1b9e409995d33fa /drivers/media/dvb/dvb-usb/dibusb-common.c
parent4de2730a1d2742aea67f24d1041bdc5e0bad37e3 (diff)
V4L/DVB (4453): [PATCH] dibcom mod3000p + mt2060 -- remote control
+ Added support for the remote control shipped with the pen drive size DVB-T receiver [ID 10b8:0bc7 DiBcom DiBcom USB2.0 DVB-T reference design (MOD3000P)] Signed-off-by: Sergei Haller <sergei@sergei-haller.de> 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/dibusb-common.c')
-rw-r--r--drivers/media/dvb/dvb-usb/dibusb-common.c61
1 files changed, 61 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dibusb-common.c b/drivers/media/dvb/dvb-usb/dibusb-common.c
index 88062b219b91..d7e2319ff202 100644
--- a/drivers/media/dvb/dvb-usb/dibusb-common.c
+++ b/drivers/media/dvb/dvb-usb/dibusb-common.c
@@ -343,6 +343,67 @@ struct dvb_usb_rc_key dibusb_rc_keys[] = {
343 { 0x86, 0x1e, KEY_DOWN }, 343 { 0x86, 0x1e, KEY_DOWN },
344 { 0x86, 0x1f, KEY_LEFT }, 344 { 0x86, 0x1f, KEY_LEFT },
345 { 0x86, 0x1b, KEY_RIGHT }, 345 { 0x86, 0x1b, KEY_RIGHT },
346
347 /* Key codes for the DiBcom MOD3000 remote. */
348 { 0x80, 0x00, KEY_MUTE },
349 { 0x80, 0x01, KEY_TEXT },
350 { 0x80, 0x02, KEY_HOME },
351 { 0x80, 0x03, KEY_POWER },
352
353 { 0x80, 0x04, KEY_RED },
354 { 0x80, 0x05, KEY_GREEN },
355 { 0x80, 0x06, KEY_YELLOW },
356 { 0x80, 0x07, KEY_BLUE },
357
358 { 0x80, 0x08, KEY_DVD },
359 { 0x80, 0x09, KEY_AUDIO },
360 { 0x80, 0x0a, KEY_MEDIA }, /* Pictures */
361 { 0x80, 0x0b, KEY_VIDEO },
362
363 { 0x80, 0x0c, KEY_BACK },
364 { 0x80, 0x0d, KEY_UP },
365 { 0x80, 0x0e, KEY_RADIO },
366 { 0x80, 0x0f, KEY_EPG },
367
368 { 0x80, 0x10, KEY_LEFT },
369 { 0x80, 0x11, KEY_OK },
370 { 0x80, 0x12, KEY_RIGHT },
371 { 0x80, 0x13, KEY_UNKNOWN }, /* SAP */
372
373 { 0x80, 0x14, KEY_TV },
374 { 0x80, 0x15, KEY_DOWN },
375 { 0x80, 0x16, KEY_MENU }, /* DVD Menu */
376 { 0x80, 0x17, KEY_LAST },
377
378 { 0x80, 0x18, KEY_RECORD },
379 { 0x80, 0x19, KEY_STOP },
380 { 0x80, 0x1a, KEY_PAUSE },
381 { 0x80, 0x1b, KEY_PLAY },
382
383 { 0x80, 0x1c, KEY_PREVIOUS },
384 { 0x80, 0x1d, KEY_REWIND },
385 { 0x80, 0x1e, KEY_FASTFORWARD },
386 { 0x80, 0x1f, KEY_NEXT},
387
388 { 0x80, 0x40, KEY_1 },
389 { 0x80, 0x41, KEY_2 },
390 { 0x80, 0x42, KEY_3 },
391 { 0x80, 0x43, KEY_CHANNELUP },
392
393 { 0x80, 0x44, KEY_4 },
394 { 0x80, 0x45, KEY_5 },
395 { 0x80, 0x46, KEY_6 },
396 { 0x80, 0x47, KEY_CHANNELDOWN },
397
398 { 0x80, 0x48, KEY_7 },
399 { 0x80, 0x49, KEY_8 },
400 { 0x80, 0x4a, KEY_9 },
401 { 0x80, 0x4b, KEY_VOLUMEUP },
402
403 { 0x80, 0x4c, KEY_CLEAR },
404 { 0x80, 0x4d, KEY_0 },
405 { 0x80, 0x4e, KEY_ENTER },
406 { 0x80, 0x4f, KEY_VOLUMEDOWN },
346}; 407};
347EXPORT_SYMBOL(dibusb_rc_keys); 408EXPORT_SYMBOL(dibusb_rc_keys);
348 409