diff options
author | Jarod Wilson <jarod@redhat.com> | 2010-06-01 16:30:35 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 13:05:48 -0400 |
commit | 0204fe2a20da12ddae1b564712ceeebc55214f97 (patch) | |
tree | 64c52ee75b74089f0878a62fdde2514dea7b991c /include/media/rc-map.h | |
parent | 7366646e20f8800433333a7102e3ce488215e33f (diff) |
V4L/DVB: IR: add RC6 keymap for Windows Media Center Ed. remotes
This is the RC6 keymap for the Windows Media Center Edition remotes
that come bundled with MCE/eHome Infrared Remote transceivers. Tested
with 3 different variants of the remote, but its possible there are
still some additional keys missing, but its simple enough to add them
in later...
This patch also adds an IR_TYPE_ALL convenience macro to make life
easier for receivers that support all IR protocols.
v2: fix an erroneous comment that referred to imon devices
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/rc-map.h')
-rw-r--r-- | include/media/rc-map.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/rc-map.h b/include/media/rc-map.h index c78e99a435b6..36ee280d42a9 100644 --- a/include/media/rc-map.h +++ b/include/media/rc-map.h | |||
@@ -19,6 +19,9 @@ | |||
19 | #define IR_TYPE_SONY (1 << 4) /* Sony12/15/20 protocol */ | 19 | #define IR_TYPE_SONY (1 << 4) /* Sony12/15/20 protocol */ |
20 | #define IR_TYPE_OTHER (1u << 31) | 20 | #define IR_TYPE_OTHER (1u << 31) |
21 | 21 | ||
22 | #define IR_TYPE_ALL (IR_TYPE_RC5 | IR_TYPE_NEC | IR_TYPE_RC6 | \ | ||
23 | IR_TYPE_JVC | IR_TYPE_SONY | IR_TYPE_OTHER) | ||
24 | |||
22 | struct ir_scancode { | 25 | struct ir_scancode { |
23 | u32 scancode; | 26 | u32 scancode; |
24 | u32 keycode; | 27 | u32 keycode; |
@@ -107,6 +110,7 @@ void rc_map_init(void); | |||
107 | #define RC_MAP_PV951 "rc-pv951" | 110 | #define RC_MAP_PV951 "rc-pv951" |
108 | #define RC_MAP_RC5_HAUPPAUGE_NEW "rc-rc5-hauppauge-new" | 111 | #define RC_MAP_RC5_HAUPPAUGE_NEW "rc-rc5-hauppauge-new" |
109 | #define RC_MAP_RC5_TV "rc-rc5-tv" | 112 | #define RC_MAP_RC5_TV "rc-rc5-tv" |
113 | #define RC_MAP_RC6_MCE "rc-rc6-mce" | ||
110 | #define RC_MAP_REAL_AUDIO_220_32_KEYS "rc-real-audio-220-32-keys" | 114 | #define RC_MAP_REAL_AUDIO_220_32_KEYS "rc-real-audio-220-32-keys" |
111 | #define RC_MAP_TBS_NEC "rc-tbs-nec" | 115 | #define RC_MAP_TBS_NEC "rc-tbs-nec" |
112 | #define RC_MAP_TERRATEC_CINERGY_XS "rc-terratec-cinergy-xs" | 116 | #define RC_MAP_TERRATEC_CINERGY_XS "rc-terratec-cinergy-xs" |