summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2010-06-01 17:30:35 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 14:05:48 -0300
commit0204fe2a20da12ddae1b564712ceeebc55214f97 (patch)
tree64c52ee75b74089f0878a62fdde2514dea7b991c /include/media
parent7366646e20f8800433333a7102e3ce488215e33f (diff)
downloadlinux-0204fe2a20da12ddae1b564712ceeebc55214f97.tar.bz2
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')
-rw-r--r--include/media/rc-map.h4
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 @@
#define IR_TYPE_SONY (1 << 4) /* Sony12/15/20 protocol */
#define IR_TYPE_OTHER (1u << 31)
+#define IR_TYPE_ALL (IR_TYPE_RC5 | IR_TYPE_NEC | IR_TYPE_RC6 | \
+ IR_TYPE_JVC | IR_TYPE_SONY | IR_TYPE_OTHER)
+
struct ir_scancode {
u32 scancode;
u32 keycode;
@@ -107,6 +110,7 @@ void rc_map_init(void);
#define RC_MAP_PV951 "rc-pv951"
#define RC_MAP_RC5_HAUPPAUGE_NEW "rc-rc5-hauppauge-new"
#define RC_MAP_RC5_TV "rc-rc5-tv"
+#define RC_MAP_RC6_MCE "rc-rc6-mce"
#define RC_MAP_REAL_AUDIO_220_32_KEYS "rc-real-audio-220-32-keys"
#define RC_MAP_TBS_NEC "rc-tbs-nec"
#define RC_MAP_TERRATEC_CINERGY_XS "rc-terratec-cinergy-xs"