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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
7366646e20
commit
0204fe2a20
@@ -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"
|
||||
|
Reference in New Issue
Block a user