diff options
author | Jarod Wilson <jarod@redhat.com> | 2010-07-03 00:07:53 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 14:16:20 -0400 |
commit | ca4146985db7cbb97816e9b961b8db79e63d9e86 (patch) | |
tree | dd44b6e835a4f381acc949226277fe4de91c4219 /include/media | |
parent | 4a62a5ab59742331a4e17ccaa894968d40ed9b16 (diff) |
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 36ee280d42a9..f982144685e7 100644 --- a/include/media/rc-map.h +++ b/include/media/rc-map.h | |||
@@ -17,10 +17,12 @@ | |||
17 | #define IR_TYPE_RC6 (1 << 2) /* Philips RC6 protocol */ | 17 | #define IR_TYPE_RC6 (1 << 2) /* Philips RC6 protocol */ |
18 | #define IR_TYPE_JVC (1 << 3) /* JVC protocol */ | 18 | #define IR_TYPE_JVC (1 << 3) /* JVC protocol */ |
19 | #define IR_TYPE_SONY (1 << 4) /* Sony12/15/20 protocol */ | 19 | #define IR_TYPE_SONY (1 << 4) /* Sony12/15/20 protocol */ |
20 | #define IR_TYPE_LIRC (1 << 30) /* Pass raw IR to lirc userspace */ | ||
20 | #define IR_TYPE_OTHER (1u << 31) | 21 | #define IR_TYPE_OTHER (1u << 31) |
21 | 22 | ||
22 | #define IR_TYPE_ALL (IR_TYPE_RC5 | IR_TYPE_NEC | IR_TYPE_RC6 | \ | 23 | #define IR_TYPE_ALL (IR_TYPE_RC5 | IR_TYPE_NEC | IR_TYPE_RC6 | \ |
23 | IR_TYPE_JVC | IR_TYPE_SONY | IR_TYPE_OTHER) | 24 | IR_TYPE_JVC | IR_TYPE_SONY | IR_TYPE_LIRC | \ |
25 | IR_TYPE_OTHER) | ||
24 | 26 | ||
25 | struct ir_scancode { | 27 | struct ir_scancode { |
26 | u32 scancode; | 28 | u32 scancode; |