LIRC libraries
LinuxInfraredRemoteControl
|
#include <ir_remote_types.h>
Data Fields | |
const char * | name |
const char * | driver |
struct ir_ncode * | codes |
int | bits |
int | flags |
int | eps |
unsigned int | aeps |
char * | dyncodes_name |
int | dyncode |
struct ir_ncode | dyncodes [2] |
lirc_t | phead |
lirc_t | shead |
lirc_t | pthree |
lirc_t | sthree |
lirc_t | ptwo |
lirc_t | stwo |
lirc_t | pone |
lirc_t | sone |
lirc_t | pzero |
lirc_t | szero |
lirc_t | plead |
lirc_t | ptrail |
lirc_t | pfoot |
lirc_t | sfoot |
lirc_t | prepeat |
lirc_t | srepeat |
int | pre_data_bits |
ir_code | pre_data |
int | post_data_bits |
ir_code | post_data |
lirc_t | pre_p |
lirc_t | pre_s |
lirc_t | post_p |
lirc_t | post_s |
__u32 | gap |
__u32 | gap2 |
__u32 | repeat_gap |
int | toggle_bit |
ir_code | toggle_bit_mask |
int | suppress_repeat |
int | min_repeat |
unsigned int | min_code_repeat |
unsigned int | freq |
unsigned int | duty_cycle |
ir_code | toggle_mask |
ir_code | rc6_mask |
unsigned int | baud |
unsigned int | bits_in_byte |
unsigned int | parity |
unsigned int | stop_bits |
ir_code | ignore_mask |
ir_code | repeat_mask |
ir_code | toggle_bit_mask_state |
int | toggle_mask_state |
int | repeat_countdown |
struct ir_ncode * | last_code |
struct ir_ncode * | toggle_code |
int | reps |
struct timeval | last_send |
lirc_t | min_remaining_gap |
lirc_t | max_remaining_gap |
lirc_t | min_total_signal_length |
lirc_t | max_total_signal_length |
lirc_t | min_gap_length |
lirc_t | max_gap_length |
lirc_t | min_pulse_length |
lirc_t | max_pulse_length |
lirc_t | min_space_length |
lirc_t | max_space_length |
int | release_detected |
int | manual_sort |
struct ir_remote * | next |
One remote as represented in the configuration file.
Definition at line 163 of file ir_remote_types.h.
unsigned int ir_remote::aeps |
detecting very short pulses is difficult with relative tolerance for some remotes, this is an absolute tolerance to solve this problem usually you can say 0 here.
Definition at line 170 of file ir_remote_types.h.
unsigned int ir_remote::baud |
can be overridden by [p|s]zero, [p|s]one
Definition at line 222 of file ir_remote_types.h.
int ir_remote::bits |
bits (length of code)
Definition at line 167 of file ir_remote_types.h.
unsigned int ir_remote::bits_in_byte |
default: 8
Definition at line 223 of file ir_remote_types.h.
const char* ir_remote::driver |
Name of driver for LIRCCODE cases.
Definition at line 165 of file ir_remote_types.h.
unsigned int ir_remote::duty_cycle |
0<duty cycle<=100
Definition at line 217 of file ir_remote_types.h.
int ir_remote::dyncode |
last received code
Definition at line 177 of file ir_remote_types.h.
struct ir_ncode ir_remote::dyncodes[2] |
helper structs for unknown buttons
Definition at line 178 of file ir_remote_types.h.
char* ir_remote::dyncodes_name |
name for unknown buttons
Definition at line 176 of file ir_remote_types.h.
int ir_remote::eps |
eps (relative tolerance)
Definition at line 169 of file ir_remote_types.h.
int ir_remote::flags |
flags
Definition at line 168 of file ir_remote_types.h.
unsigned int ir_remote::freq |
modulation frequency
Definition at line 216 of file ir_remote_types.h.
__u32 ir_remote::gap |
time between signals in usecs
Definition at line 199 of file ir_remote_types.h.
__u32 ir_remote::gap2 |
time between signals in usecs
Definition at line 200 of file ir_remote_types.h.
ir_code ir_remote::ignore_mask |
mask defines which bits can be ignored when matching a code
Definition at line 229 of file ir_remote_types.h.
struct ir_ncode* ir_remote::last_code |
code received or sent last
Definition at line 236 of file ir_remote_types.h.
struct timeval ir_remote::last_send |
time last_code was received or sent
Definition at line 239 of file ir_remote_types.h.
int ir_remote::manual_sort |
If set in any remote, disables automatic sorting.
Definition at line 250 of file ir_remote_types.h.
lirc_t ir_remote::max_gap_length |
how long is the longest gap
Definition at line 246 of file ir_remote_types.h.
lirc_t ir_remote::max_remaining_gap |
gap range
Definition at line 241 of file ir_remote_types.h.
lirc_t ir_remote::max_total_signal_length |
how long is the longest signal including gap
Definition at line 244 of file ir_remote_types.h.
unsigned int ir_remote::min_code_repeat |
meaningful only if remote sends a repeat code: in this case this value indicates how often the real code is repeated before the repeat code is being sent
Definition at line 215 of file ir_remote_types.h.
lirc_t ir_remote::min_gap_length |
how long is the shortest gap
Definition at line 245 of file ir_remote_types.h.
lirc_t ir_remote::min_remaining_gap |
remember gap for CONST_LENGTH remotes
Definition at line 240 of file ir_remote_types.h.
int ir_remote::min_repeat |
code is repeated at least x times code sent once -> min_repeat=0
Definition at line 207 of file ir_remote_types.h.
lirc_t ir_remote::min_total_signal_length |
how long is the shortest signal including gap
Definition at line 243 of file ir_remote_types.h.
const char* ir_remote::name |
name of remote control
Definition at line 164 of file ir_remote_types.h.
unsigned int ir_remote::parity |
currently unsupported
Definition at line 224 of file ir_remote_types.h.
lirc_t ir_remote::plead |
leading pulse
Definition at line 187 of file ir_remote_types.h.
ir_code ir_remote::post_data |
data which the remote sends after actual keycode
Definition at line 195 of file ir_remote_types.h.
int ir_remote::post_data_bits |
length of post_data
Definition at line 194 of file ir_remote_types.h.
lirc_t ir_remote::post_s |
signal between keycode and post_code
Definition at line 197 of file ir_remote_types.h.
ir_code ir_remote::pre_data |
data which the remote sends before actual keycode
Definition at line 193 of file ir_remote_types.h.
int ir_remote::pre_data_bits |
length of pre_data
Definition at line 192 of file ir_remote_types.h.
lirc_t ir_remote::pre_s |
signal between pre_data and keycode
Definition at line 196 of file ir_remote_types.h.
lirc_t ir_remote::ptrail |
trailing pulse
Definition at line 188 of file ir_remote_types.h.
ir_code ir_remote::rc6_mask |
RC-6 doubles signal length of some bits
Definition at line 219 of file ir_remote_types.h.
int ir_remote::release_detected |
set by release generator
Definition at line 249 of file ir_remote_types.h.
__u32 ir_remote::repeat_gap |
time between two repeat codes if different from gap
Definition at line 201 of file ir_remote_types.h.
ir_code ir_remote::repeat_mask |
mask defines which bits are inverted for repeats
Definition at line 230 of file ir_remote_types.h.
lirc_t ir_remote::sfoot |
foot
Definition at line 189 of file ir_remote_types.h.
lirc_t ir_remote::shead |
header
Definition at line 182 of file ir_remote_types.h.
lirc_t ir_remote::sone |
1
Definition at line 185 of file ir_remote_types.h.
lirc_t ir_remote::srepeat |
indicate repeating
Definition at line 190 of file ir_remote_types.h.
lirc_t ir_remote::sthree |
3 (only used for RC-MM)
Definition at line 183 of file ir_remote_types.h.
unsigned int ir_remote::stop_bits |
mapping: 1->2 1.5->3 2->4
Definition at line 225 of file ir_remote_types.h.
lirc_t ir_remote::stwo |
2 (only used for RC-MM)
Definition at line 184 of file ir_remote_types.h.
int ir_remote::suppress_repeat |
suppress unwanted repeats
Definition at line 204 of file ir_remote_types.h.
lirc_t ir_remote::szero |
0
Definition at line 186 of file ir_remote_types.h.
int ir_remote::toggle_bit |
obsolete
Definition at line 202 of file ir_remote_types.h.
ir_code ir_remote::toggle_bit_mask |
previously only one bit called toggle_bit
Definition at line 203 of file ir_remote_types.h.
struct ir_ncode* ir_remote::toggle_code |
toggle code received or sent last
Definition at line 237 of file ir_remote_types.h.
ir_code ir_remote::toggle_mask |
Sharp (?) error detection scheme
Definition at line 218 of file ir_remote_types.h.