diff options
author | Marcel J.E. Mol <marcel@mesa.nl> | 2014-07-26 16:28:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-26 18:38:04 -0400 |
commit | 1dee9b59d69a15d566c16ee6fbd7216108ad5cac (patch) | |
tree | 75d5c4bba63dfba3b04cb2d7178f2c1834242eb9 /include/media/rc-map.h | |
parent | 0a6824bc10de58dac8beca4ad6744753f1cf9a6f (diff) |
[media] rc: Add support for decoding XMP protocol
This protocol is found on Dreambox remotes
[m.chehab@samsung.com: CodingStyle fixes and conflict fix]
Signed-off-by: Marcel Mol <marcel@mesa.nl>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media/rc-map.h')
-rw-r--r-- | include/media/rc-map.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/media/rc-map.h b/include/media/rc-map.h index 894c7e4c409b..80f951890b4c 100644 --- a/include/media/rc-map.h +++ b/include/media/rc-map.h | |||
@@ -31,6 +31,7 @@ enum rc_type { | |||
31 | RC_TYPE_RC6_6A_32 = 16, /* Philips RC6-6A-32 protocol */ | 31 | RC_TYPE_RC6_6A_32 = 16, /* Philips RC6-6A-32 protocol */ |
32 | RC_TYPE_RC6_MCE = 17, /* MCE (Philips RC6-6A-32 subtype) protocol */ | 32 | RC_TYPE_RC6_MCE = 17, /* MCE (Philips RC6-6A-32 subtype) protocol */ |
33 | RC_TYPE_SHARP = 18, /* Sharp protocol */ | 33 | RC_TYPE_SHARP = 18, /* Sharp protocol */ |
34 | RC_TYPE_XMP = 19, /* XMP protocol */ | ||
34 | }; | 35 | }; |
35 | 36 | ||
36 | #define RC_BIT_NONE 0 | 37 | #define RC_BIT_NONE 0 |
@@ -53,6 +54,7 @@ enum rc_type { | |||
53 | #define RC_BIT_RC6_6A_32 (1 << RC_TYPE_RC6_6A_32) | 54 | #define RC_BIT_RC6_6A_32 (1 << RC_TYPE_RC6_6A_32) |
54 | #define RC_BIT_RC6_MCE (1 << RC_TYPE_RC6_MCE) | 55 | #define RC_BIT_RC6_MCE (1 << RC_TYPE_RC6_MCE) |
55 | #define RC_BIT_SHARP (1 << RC_TYPE_SHARP) | 56 | #define RC_BIT_SHARP (1 << RC_TYPE_SHARP) |
57 | #define RC_BIT_XMP (1 << RC_TYPE_XMP) | ||
56 | 58 | ||
57 | #define RC_BIT_ALL (RC_BIT_UNKNOWN | RC_BIT_OTHER | RC_BIT_LIRC | \ | 59 | #define RC_BIT_ALL (RC_BIT_UNKNOWN | RC_BIT_OTHER | RC_BIT_LIRC | \ |
58 | RC_BIT_RC5 | RC_BIT_RC5X | RC_BIT_RC5_SZ | \ | 60 | RC_BIT_RC5 | RC_BIT_RC5X | RC_BIT_RC5_SZ | \ |
@@ -60,7 +62,9 @@ enum rc_type { | |||
60 | RC_BIT_SONY12 | RC_BIT_SONY15 | RC_BIT_SONY20 | \ | 62 | RC_BIT_SONY12 | RC_BIT_SONY15 | RC_BIT_SONY20 | \ |
61 | RC_BIT_NEC | RC_BIT_SANYO | RC_BIT_MCE_KBD | \ | 63 | RC_BIT_NEC | RC_BIT_SANYO | RC_BIT_MCE_KBD | \ |
62 | RC_BIT_RC6_0 | RC_BIT_RC6_6A_20 | RC_BIT_RC6_6A_24 | \ | 64 | RC_BIT_RC6_0 | RC_BIT_RC6_6A_20 | RC_BIT_RC6_6A_24 | \ |
63 | RC_BIT_RC6_6A_32 | RC_BIT_RC6_MCE | RC_BIT_SHARP) | 65 | RC_BIT_RC6_6A_32 | RC_BIT_RC6_MCE | RC_BIT_SHARP | \ |
66 | RC_BIT_XMP) | ||
67 | |||
64 | 68 | ||
65 | #define RC_SCANCODE_UNKNOWN(x) (x) | 69 | #define RC_SCANCODE_UNKNOWN(x) (x) |
66 | #define RC_SCANCODE_OTHER(x) (x) | 70 | #define RC_SCANCODE_OTHER(x) (x) |