aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2010-12-27 13:45:19 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 05:17:15 -0500
commitdb9285f79b12286a3b525b41ab275796679c1dfa (patch)
treeaa369040bb1851c3dc90882738550237d0a25410 /drivers/media
parent730726a6f90740a5954ca2fb1c74fad6f44a2c42 (diff)
[media] MEDIA: RC: Provide full scancodes for TT-1500 remote control
Add 0x15 prefix to scancodes for TT-1500 remote control. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/rc/keymaps/rc-tt-1500.c78
1 files changed, 39 insertions, 39 deletions
diff --git a/drivers/media/rc/keymaps/rc-tt-1500.c b/drivers/media/rc/keymaps/rc-tt-1500.c
index bb194879a794..295f3738e301 100644
--- a/drivers/media/rc/keymaps/rc-tt-1500.c
+++ b/drivers/media/rc/keymaps/rc-tt-1500.c
@@ -15,45 +15,45 @@
15/* for the Technotrend 1500 bundled remotes (grey and black): */ 15/* for the Technotrend 1500 bundled remotes (grey and black): */
16 16
17static struct rc_map_table tt_1500[] = { 17static struct rc_map_table tt_1500[] = {
18 { 0x01, KEY_POWER }, 18 { 0x1501, KEY_POWER },
19 { 0x02, KEY_SHUFFLE }, /* ? double-arrow key */ 19 { 0x1502, KEY_SHUFFLE }, /* ? double-arrow key */
20 { 0x03, KEY_1 }, 20 { 0x1503, KEY_1 },
21 { 0x04, KEY_2 }, 21 { 0x1504, KEY_2 },
22 { 0x05, KEY_3 }, 22 { 0x1505, KEY_3 },
23 { 0x06, KEY_4 }, 23 { 0x1506, KEY_4 },
24 { 0x07, KEY_5 }, 24 { 0x1507, KEY_5 },
25 { 0x08, KEY_6 }, 25 { 0x1508, KEY_6 },
26 { 0x09, KEY_7 }, 26 { 0x1509, KEY_7 },
27 { 0x0a, KEY_8 }, 27 { 0x150a, KEY_8 },
28 { 0x0b, KEY_9 }, 28 { 0x150b, KEY_9 },
29 { 0x0c, KEY_0 }, 29 { 0x150c, KEY_0 },
30 { 0x0d, KEY_UP }, 30 { 0x150d, KEY_UP },
31 { 0x0e, KEY_LEFT }, 31 { 0x150e, KEY_LEFT },
32 { 0x0f, KEY_OK }, 32 { 0x150f, KEY_OK },
33 { 0x10, KEY_RIGHT }, 33 { 0x1510, KEY_RIGHT },
34 { 0x11, KEY_DOWN }, 34 { 0x1511, KEY_DOWN },
35 { 0x12, KEY_INFO }, 35 { 0x1512, KEY_INFO },
36 { 0x13, KEY_EXIT }, 36 { 0x1513, KEY_EXIT },
37 { 0x14, KEY_RED }, 37 { 0x1514, KEY_RED },
38 { 0x15, KEY_GREEN }, 38 { 0x1515, KEY_GREEN },
39 { 0x16, KEY_YELLOW }, 39 { 0x1516, KEY_YELLOW },
40 { 0x17, KEY_BLUE }, 40 { 0x1517, KEY_BLUE },
41 { 0x18, KEY_MUTE }, 41 { 0x1518, KEY_MUTE },
42 { 0x19, KEY_TEXT }, 42 { 0x1519, KEY_TEXT },
43 { 0x1a, KEY_MODE }, /* ? TV/Radio */ 43 { 0x151a, KEY_MODE }, /* ? TV/Radio */
44 { 0x21, KEY_OPTION }, 44 { 0x1521, KEY_OPTION },
45 { 0x22, KEY_EPG }, 45 { 0x1522, KEY_EPG },
46 { 0x23, KEY_CHANNELUP }, 46 { 0x1523, KEY_CHANNELUP },
47 { 0x24, KEY_CHANNELDOWN }, 47 { 0x1524, KEY_CHANNELDOWN },
48 { 0x25, KEY_VOLUMEUP }, 48 { 0x1525, KEY_VOLUMEUP },
49 { 0x26, KEY_VOLUMEDOWN }, 49 { 0x1526, KEY_VOLUMEDOWN },
50 { 0x27, KEY_SETUP }, 50 { 0x1527, KEY_SETUP },
51 { 0x3a, KEY_RECORD }, /* these keys are only in the black remote */ 51 { 0x153a, KEY_RECORD }, /* these keys are only in the black remote */
52 { 0x3b, KEY_PLAY }, 52 { 0x153b, KEY_PLAY },
53 { 0x3c, KEY_STOP }, 53 { 0x153c, KEY_STOP },
54 { 0x3d, KEY_REWIND }, 54 { 0x153d, KEY_REWIND },
55 { 0x3e, KEY_PAUSE }, 55 { 0x153e, KEY_PAUSE },
56 { 0x3f, KEY_FORWARD }, 56 { 0x153f, KEY_FORWARD },
57}; 57};
58 58
59static struct rc_map_list tt_1500_map = { 59static struct rc_map_list tt_1500_map = {