20 #ifndef IR_REMOTE_TYPES_H
21 #define IR_REMOTE_TYPES_H
27 #if defined(__linux__)
28 #include <sys/types.h>
33 typedef int16_t __s16;
34 typedef uint16_t __u16;
35 typedef int32_t __s32;
36 typedef uint32_t __u32;
37 typedef int64_t __s64;
38 typedef uint64_t __u64;
46 #if defined(__linux__)
47 #include <linux/types.h>
50 #include "include/media/lirc.h"
105 #define IR_PROTOCOL_MASK 0x07ff
110 #define RAW_CODES 0x0001
112 #define SHIFT_ENC RC5
119 #define SPACE_ENC 0x0010
120 #define SPACE_FIRST 0x0020
121 #define GOLDSTAR 0x0040
122 #define GRUNDIG 0x0080
124 #define SERIAL 0x0200
128 #define REVERSE 0x0800
129 #define NO_HEAD_REP 0x1000
130 #define NO_FOOT_REP 0x2000
131 #define CONST_LENGTH 0x4000
132 #define REPEAT_HEADER 0x8000
134 #define COMPAT_REVERSE 0x00010000
139 #define REPEAT_MAX_DEFAULT 600
141 #define DEFAULT_FREQ 38000
143 #define IR_PARITY_NONE 0
144 #define IR_PARITY_EVEN 1
145 #define IR_PARITY_ODD 2
232 ir_code toggle_bit_mask_state;
233 int toggle_mask_state;
234 int repeat_countdown;
246 lirc_t min_pulse_length, max_pulse_length;
247 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
unsigned int min_code_repeat
struct ir_ncode dyncodes[2]
unsigned int bits_in_byte