diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-23 10:04:08 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-23 16:23:10 -0500 |
commit | b32e724308300a6ecead0f4895f0452a06a4291d (patch) | |
tree | cafdc5dc6a5036f3c0e54346a220845910929018 /include/media/rc-map.h | |
parent | 39cac3758f62c6495d954e0d7dc1ca7e69fa565d (diff) |
[media] rc: Add support for decoding Sanyo protocol
This protocol is found on Sanyo/Aiwa remotes.
Tested with an Aiwa RC-7AS06 remote control.
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 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/media/rc-map.h b/include/media/rc-map.h index 26a3bd0fe57c..183d701eb3ce 100644 --- a/include/media/rc-map.h +++ b/include/media/rc-map.h | |||
@@ -18,13 +18,15 @@ | |||
18 | #define RC_TYPE_JVC (1 << 3) /* JVC protocol */ | 18 | #define RC_TYPE_JVC (1 << 3) /* JVC protocol */ |
19 | #define RC_TYPE_SONY (1 << 4) /* Sony12/15/20 protocol */ | 19 | #define RC_TYPE_SONY (1 << 4) /* Sony12/15/20 protocol */ |
20 | #define RC_TYPE_RC5_SZ (1 << 5) /* RC5 variant used by Streamzap */ | 20 | #define RC_TYPE_RC5_SZ (1 << 5) /* RC5 variant used by Streamzap */ |
21 | #define RC_TYPE_SANYO (1 << 6) /* Sanyo protocol */ | ||
21 | #define RC_TYPE_MCE_KBD (1 << 29) /* RC6-ish MCE keyboard/mouse */ | 22 | #define RC_TYPE_MCE_KBD (1 << 29) /* RC6-ish MCE keyboard/mouse */ |
22 | #define RC_TYPE_LIRC (1 << 30) /* Pass raw IR to lirc userspace */ | 23 | #define RC_TYPE_LIRC (1 << 30) /* Pass raw IR to lirc userspace */ |
23 | #define RC_TYPE_OTHER (1u << 31) | 24 | #define RC_TYPE_OTHER (1u << 31) |
24 | 25 | ||
25 | #define RC_TYPE_ALL (RC_TYPE_RC5 | RC_TYPE_NEC | RC_TYPE_RC6 | \ | 26 | #define RC_TYPE_ALL (RC_TYPE_RC5 | RC_TYPE_NEC | RC_TYPE_RC6 | \ |
26 | RC_TYPE_JVC | RC_TYPE_SONY | RC_TYPE_LIRC | \ | 27 | RC_TYPE_JVC | RC_TYPE_SONY | RC_TYPE_LIRC | \ |
27 | RC_TYPE_RC5_SZ | RC_TYPE_MCE_KBD | RC_TYPE_OTHER) | 28 | RC_TYPE_RC5_SZ | RC_TYPE_SANYO | RC_TYPE_MCE_KBD | \ |
29 | RC_TYPE_OTHER) | ||
28 | 30 | ||
29 | struct rc_map_table { | 31 | struct rc_map_table { |
30 | u32 scancode; | 32 | u32 scancode; |