[PATCH] Terratec Cinergy USB (HD) (remote control key codes)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I figured out that my remote control of the Cinergy T USB XXS
(HD)
has slightly different key codes then the one already in the
dvb_usb_dib0700 module.

The following patch adds the key codes
to
table.

Best regards,
Sebastian

---

Add key codes for Cinergy T USB XXS
(HD) (device ID: 0ccd:00ab) remote control.
Signed-off-by: Sebastian
Rettenberger <rettenberger.sebastian@xxxxxxxx>
---
a/drivers/media/dvb/dvb-usb/dib0700_devices.c       2010-07-24
19:05:45.659569355 +0200
+++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c  
    2010-07-24 19:08:31.667571034 +0200
@@ -639,6 +639,56 @@ static struct
dvb_usb_rc_key dib0700_rc_
        { 0xeb58, KEY_RECORD },
        { 0xeb5c,
KEY_NEXT },
 
+       /* Terratec Cinergy USB (HD) */
+       { 0x1401,
KEY_POWER },
+       { 0x1402, KEY_1 },
+       { 0x1403, KEY_2 },
+       {
0x1404, KEY_3 },
+       { 0x1405, KEY_4 },
+       { 0x1406, KEY_5 },
+    
  { 0x1407, KEY_6 },
+       { 0x1408, KEY_7 },
+       { 0x1409, KEY_8 },
+
      { 0x140a, KEY_9 },
+       { 0x140b, KEY_VIDEO },
+       { 0x140c,
KEY_0 },
+       { 0x140d, KEY_REFRESH },
+       { 0x140f, KEY_EPG },
+    
  { 0x1410, KEY_UP },
+       { 0x1411, KEY_LEFT },
+       { 0x1412, KEY_OK
},
+       { 0x1413, KEY_RIGHT },
+       { 0x1414, KEY_DOWN },
+       {
0x1416, KEY_INFO },
+       { 0x1417, KEY_RED },
+       { 0x1418, KEY_GREEN
},
+       { 0x1419, KEY_YELLOW },
+       { 0x141a, KEY_BLUE },
+       {
0x141b, KEY_CHANNELUP },
+       { 0x141c, KEY_VOLUMEUP },
+       { 0x141d,
KEY_MUTE },
+       { 0x141e, KEY_VOLUMEDOWN },
+       { 0x141f,
KEY_CHANNELDOWN },
+       { 0x1440, KEY_PAUSE },
+       { 0x1441, KEY_HOME
},
+       { 0x1442, KEY_MENU }, /* DVD Menu */
+       { 0x1443,
KEY_SUBTITLE },
+       { 0x1444, KEY_TEXT }, /* Teletext */
+       {
0x1445, KEY_DELETE },
+       { 0x1446, KEY_TV },
+       { 0x1447, KEY_DVD
},
+       { 0x1448, KEY_STOP },
+       { 0x1449, KEY_VIDEO },
+       {
0x144a, KEY_AUDIO }, /* Music */
+       { 0x144b, KEY_SCREEN }, /* Pic */
+
      { 0x144c, KEY_PLAY },
+       { 0x144d, KEY_BACK },
+       { 0x144e,
KEY_REWIND },
+       { 0x144f, KEY_FASTFORWARD },
+       { 0x1454,
KEY_PREVIOUS },
+       { 0x1458, KEY_RECORD },
+       { 0x145c, KEY_NEXT
},
+
        /* Key codes for the Haupauge WinTV Nova-TD, copied from
nova-t-usb2.c (Nova-T USB2) */
        { 0x1e00, KEY_0 },
        { 0x1e01,
KEY_1 },
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux