diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-08-09 19:05:26 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-08-09 19:05:26 +0000 |
commit | 5bfafc99664fa8e4dcd4265219b6fb41f18587a8 (patch) | |
tree | 81f882d479c6085ec30a67f38f8f4fc91b48daa6 /linux/include | |
parent | 1eec170d392cefcb7b5121ddc79140653b04ff9f (diff) | |
download | mediapointer-dvb-s2-5bfafc99664fa8e4dcd4265219b6fb41f18587a8.tar.gz mediapointer-dvb-s2-5bfafc99664fa8e4dcd4265219b6fb41f18587a8.tar.bz2 |
- Added support for remote control to Cinergy DVBT-1400.
- local var renamed from rc5 to a better name (ircode).
- Added a new NEC protocol based on pulse distance.
Signed-off-by: Uli Luckas <luckas@musoft.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/media/ir-common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/include/media/ir-common.h b/linux/include/media/ir-common.h index 2b69e9f94..296ac10c3 100644 --- a/linux/include/media/ir-common.h +++ b/linux/include/media/ir-common.h @@ -1,5 +1,5 @@ /* - * $Id: ir-common.h,v 1.10 2005/07/13 17:25:25 mchehab Exp $ + * $Id: ir-common.h,v 1.11 2005/08/09 19:05:26 mchehab Exp $ * * some common structs and functions to handle infrared remotes via * input layer ... @@ -55,6 +55,7 @@ #endif #define IR_TYPE_RC5 1 +#define IR_TYPE_PD 2 /* Pulse distance encoded IR */ #define IR_TYPE_OTHER 99 #define IR_KEYTAB_TYPE u32 @@ -89,6 +90,7 @@ void ir_input_keydown(struct input_dev *dev, struct ir_input_state *ir, u32 ir_extract_bits(u32 data, u32 mask); int ir_dump_samples(u32 *samples, int count); int ir_decode_biphase(u32 *samples, int count, int low, int high); +int ir_decode_pulsedistance(u32 *samples, int count, int low, int high); /* * Local variables: |