19 #ifndef IR_REMOTE_TYPES_H
20 #define IR_REMOTE_TYPES_H
26 #if defined(__linux__)
27 #include <sys/types.h>
32 typedef int16_t __s16;
33 typedef uint16_t __u16;
34 typedef int32_t __s32;
35 typedef uint32_t __u32;
36 typedef int64_t __s64;
37 typedef uint64_t __u64;
45 #if defined(__linux__)
46 #include <linux/types.h>
49 #include "include/media/lirc.h"
107 #define IR_PROTOCOL_MASK 0x07ff
112 #define RAW_CODES 0x0001
114 #define SHIFT_ENC RC5
121 #define SPACE_ENC 0x0010
122 #define SPACE_FIRST 0x0020
123 #define GOLDSTAR 0x0040
124 #define GRUNDIG 0x0080
126 #define SERIAL 0x0200
130 #define REVERSE 0x0800
131 #define NO_HEAD_REP 0x1000
132 #define NO_FOOT_REP 0x2000
133 #define CONST_LENGTH 0x4000
134 #define REPEAT_HEADER 0x8000
136 #define COMPAT_REVERSE 0x00010000
141 #define REPEAT_MAX_DEFAULT 600
143 #define DEFAULT_FREQ 38000
145 #define IR_PARITY_NONE 0
146 #define IR_PARITY_EVEN 1
147 #define IR_PARITY_ODD 2
233 ir_code toggle_bit_mask_state;
234 int toggle_mask_state;
235 int repeat_countdown;
247 lirc_t min_pulse_length, max_pulse_length;
248 lirc_t min_space_length, max_space_length;
lirc_t min_total_signal_length
lirc_t max_total_signal_length
struct ir_ncode * toggle_code
struct ir_code_node * next
struct ir_ncode * last_code
struct ir_code_node * current
struct ir_code_node * transmit_state
struct ir_ncode * next_ncode
unsigned int min_code_repeat
struct ir_ncode dyncodes[2]
unsigned int bits_in_byte