diff options
author | Jarod Wilson <jarod@redhat.com> | 2010-07-03 01:07:53 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 15:16:20 -0300 |
commit | ca4146985db7cbb97816e9b961b8db79e63d9e86 (patch) | |
tree | dd44b6e835a4f381acc949226277fe4de91c4219 /include/media | |
parent | 4a62a5ab59742331a4e17ccaa894968d40ed9b16 (diff) | |
download | op-kernel-dev-ca4146985db7cbb97816e9b961b8db79e63d9e86.zip op-kernel-dev-ca4146985db7cbb97816e9b961b8db79e63d9e86.tar.gz |
V4L/DVB: IR: add ir-core to lirc userspace decoder bridge driver
v2: copy of buffer data from userspace done inside this plugin/driver,
keeping the actual drivers minimal, and more flexible in what we can
deliver to them later on (they may be fed from within kernelspace later
on, by an in-kernel IR encoder).
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/media/rc-map.h b/include/media/rc-map.h index 36ee280..f982144 100644 --- a/include/media/rc-map.h +++ b/include/media/rc-map.h @@ -17,10 +17,12 @@ #define IR_TYPE_RC6 (1 << 2) /* Philips RC6 protocol */ #define IR_TYPE_JVC (1 << 3) /* JVC protocol */ #define IR_TYPE_SONY (1 << 4) /* Sony12/15/20 protocol */ +#define IR_TYPE_LIRC (1 << 30) /* Pass raw IR to lirc userspace */ #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) + IR_TYPE_JVC | IR_TYPE_SONY | IR_TYPE_LIRC | \ + IR_TYPE_OTHER) struct ir_scancode { u32 scancode; |