aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorRichard Zidlicky <rz@linux-m68k.org>2010-12-01 18:52:49 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 05:16:59 -0500
commitdd89aec47325a251eeaf39ee4b84adb521270cba (patch)
tree0db6f484bc1eb4c96c1e280b78b16775030c0bb5 /drivers/media/rc
parent8350e1551c27ee784ded579fd224846972d4b0d3 (diff)
[media] keycodes for DSR-0112 remote bundled with Haupauge MiniStick
Add kycodes for DSR-0112 remote that comes together with Haupauge MiniStick http://lirc.sourceforge.net/remotes/hauppauge/DSR-0112.jpg [mchehab@redhat.com: Fix KEY_PREVIOUS to match the definition for the other model] Signed-off-by: Richard Zidlicky <rz@linux-m68k.org> Acked-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc')
-rw-r--r--drivers/media/rc/keymaps/rc-rc5-hauppauge-new.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/drivers/media/rc/keymaps/rc-rc5-hauppauge-new.c b/drivers/media/rc/keymaps/rc-rc5-hauppauge-new.c
index df534b08959e..dfc9b15f43a9 100644
--- a/drivers/media/rc/keymaps/rc-rc5-hauppauge-new.c
+++ b/drivers/media/rc/keymaps/rc-rc5-hauppauge-new.c
@@ -75,6 +75,44 @@ static struct rc_map_table rc5_hauppauge_new[] = {
75 { 0x1e3b, KEY_SELECT }, /* top right button */ 75 { 0x1e3b, KEY_SELECT }, /* top right button */
76 { 0x1e3c, KEY_ZOOM }, /* full */ 76 { 0x1e3c, KEY_ZOOM }, /* full */
77 { 0x1e3d, KEY_POWER }, /* system power (green button) */ 77 { 0x1e3d, KEY_POWER }, /* system power (green button) */
78
79 /* Keycodes for DSR-0112 remote bundled with Haupauge MiniStick */
80 { 0x1d00, KEY_0 },
81 { 0x1d01, KEY_1 },
82 { 0x1d02, KEY_2 },
83 { 0x1d03, KEY_3 },
84 { 0x1d04, KEY_4 },
85 { 0x1d05, KEY_5 },
86 { 0x1d06, KEY_6 },
87 { 0x1d07, KEY_7 },
88 { 0x1d08, KEY_8 },
89 { 0x1d09, KEY_9 },
90 { 0x1d0a, KEY_TEXT },
91 { 0x1d0d, KEY_MENU },
92 { 0x1d0f, KEY_MUTE },
93 { 0x1d10, KEY_VOLUMEUP },
94 { 0x1d11, KEY_VOLUMEDOWN },
95 { 0x1d12, KEY_PREVIOUS }, /* Prev.Ch .. ??? */
96 { 0x1d14, KEY_UP },
97 { 0x1d15, KEY_DOWN },
98 { 0x1d16, KEY_LEFT },
99 { 0x1d17, KEY_RIGHT },
100 { 0x1d1c, KEY_TV },
101 { 0x1d1e, KEY_NEXT }, /* >| */
102 { 0x1d1f, KEY_EXIT },
103 { 0x1d20, KEY_CHANNELUP },
104 { 0x1d21, KEY_CHANNELDOWN },
105 { 0x1d24, KEY_LAST }, /* <| */
106 { 0x1d25, KEY_OK },
107 { 0x1d30, KEY_PAUSE },
108 { 0x1d32, KEY_REWIND },
109 { 0x1d34, KEY_FASTFORWARD },
110 { 0x1d35, KEY_PLAY },
111 { 0x1d36, KEY_STOP },
112 { 0x1d37, KEY_RECORD },
113 { 0x1d3b, KEY_GOTO },
114 { 0x1d3d, KEY_POWER },
115 { 0x1d3f, KEY_HOME },
78}; 116};
79 117
80static struct rc_map_list rc5_hauppauge_new_map = { 118static struct rc_map_list rc5_hauppauge_new_map = {