diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-23 12:04:08 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-23 19:23:10 -0200 |
commit | b32e724308300a6ecead0f4895f0452a06a4291d (patch) | |
tree | cafdc5dc6a5036f3c0e54346a220845910929018 /include/media | |
parent | 39cac3758f62c6495d954e0d7dc1ca7e69fa565d (diff) | |
download | kernel_goldelico_gta04-b32e724308300a6ecead0f4895f0452a06a4291d.zip kernel_goldelico_gta04-b32e724308300a6ecead0f4895f0452a06a4291d.tar.gz kernel_goldelico_gta04-b32e724308300a6ecead0f4895f0452a06a4291d.tar.bz2 |
[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')
-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 26a3bd0..183d701 100644 --- a/include/media/rc-map.h +++ b/include/media/rc-map.h @@ -18,13 +18,15 @@ #define RC_TYPE_JVC (1 << 3) /* JVC protocol */ #define RC_TYPE_SONY (1 << 4) /* Sony12/15/20 protocol */ #define RC_TYPE_RC5_SZ (1 << 5) /* RC5 variant used by Streamzap */ +#define RC_TYPE_SANYO (1 << 6) /* Sanyo protocol */ #define RC_TYPE_MCE_KBD (1 << 29) /* RC6-ish MCE keyboard/mouse */ #define RC_TYPE_LIRC (1 << 30) /* Pass raw IR to lirc userspace */ #define RC_TYPE_OTHER (1u << 31) -#define RC_TYPE_ALL (RC_TYPE_RC5 | RC_TYPE_NEC | RC_TYPE_RC6 | \ - RC_TYPE_JVC | RC_TYPE_SONY | RC_TYPE_LIRC | \ - RC_TYPE_RC5_SZ | RC_TYPE_MCE_KBD | RC_TYPE_OTHER) +#define RC_TYPE_ALL (RC_TYPE_RC5 | RC_TYPE_NEC | RC_TYPE_RC6 | \ + RC_TYPE_JVC | RC_TYPE_SONY | RC_TYPE_LIRC | \ + RC_TYPE_RC5_SZ | RC_TYPE_SANYO | RC_TYPE_MCE_KBD | \ + RC_TYPE_OTHER) struct rc_map_table { u32 scancode; |