LIRC libraries
LinuxInfraredRemoteControl
|
One remote as represented in the configuration file. More...
#include <ir_remote_types.h>
Public Attributes | |
const char * | name |
name of remote control | |
const char * | driver |
Name of driver for LIRCCODE cases. More... | |
struct ir_ncode * | codes |
int | bits |
bits (length of code) | |
int | flags |
flags | |
int | eps |
eps (relative tolerance) | |
unsigned int | 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. More... | |
char * | dyncodes_name |
name for unknown buttons | |
int | dyncode |
last received code | |
struct ir_ncode | dyncodes [2] |
helper structs for unknown buttons | |
lirc_t | phead |
lirc_t | shead |
header | |
lirc_t | pthree |
lirc_t | sthree |
3 (only used for RC-MM) | |
lirc_t | ptwo |
lirc_t | stwo |
2 (only used for RC-MM) | |
lirc_t | pone |
lirc_t | sone |
1 | |
lirc_t | pzero |
lirc_t | szero |
0 | |
lirc_t | plead |
leading pulse | |
lirc_t | ptrail |
trailing pulse | |
lirc_t | pfoot |
lirc_t | sfoot |
foot | |
lirc_t | prepeat |
lirc_t | srepeat |
indicate repeating | |
int | pre_data_bits |
length of pre_data | |
ir_code | pre_data |
data which the remote sends before actual keycode | |
int | post_data_bits |
length of post_data | |
ir_code | post_data |
data which the remote sends after actual keycode | |
lirc_t | pre_p |
lirc_t | pre_s |
signal between pre_data and keycode | |
lirc_t | post_p |
lirc_t | post_s |
signal between keycode and post_code | |
uint32_t | gap |
time between signals in usecs | |
uint32_t | gap2 |
time between signals in usecs | |
uint32_t | repeat_gap |
time between two repeat codes if different from gap | |
int | toggle_bit |
obsolete | |
ir_code | toggle_bit_mask |
previously only one bit called toggle_bit | |
int | suppress_repeat |
suppress unwanted repeats | |
int | min_repeat |
code is repeated at least x times code sent once -> min_repeat=0 | |
unsigned int | 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 | |
unsigned int | freq |
modulation frequency | |
unsigned int | duty_cycle |
0<duty cycle<=100 default: 50 | |
ir_code | toggle_mask |
Sharp (?) error detection scheme. | |
ir_code | rc6_mask |
RC-6 doubles signal length of some bits. | |
unsigned int | baud |
can be overridden by [p|s]zero, [p|s]one | |
unsigned int | bits_in_byte |
default: 8 | |
unsigned int | parity |
currently unsupported | |
unsigned int | stop_bits |
mapping: 1->2 1.5->3 2->4 | |
ir_code | ignore_mask |
mask defines which bits can be ignored when matching a code | |
ir_code | repeat_mask |
mask defines which bits are inverted for repeats | |
ir_code | toggle_bit_mask_state |
int | toggle_mask_state |
int | repeat_countdown |
struct ir_ncode * | last_code |
code received or sent last | |
struct ir_ncode * | toggle_code |
toggle code received or sent last | |
int | reps |
struct timeval | last_send |
time last_code was received or sent | |
lirc_t | min_remaining_gap |
remember gap for CONST_LENGTH remotes | |
lirc_t | max_remaining_gap |
gap range | |
lirc_t | min_total_signal_length |
how long is the shortest signal including gap | |
lirc_t | max_total_signal_length |
how long is the longest signal including gap | |
lirc_t | min_gap_length |
how long is the shortest gap | |
lirc_t | max_gap_length |
how long is the longest gap | |
lirc_t | min_pulse_length |
lirc_t | max_pulse_length |
lirc_t | min_space_length |
lirc_t | max_space_length |
int | release_detected |
set by release generator | |
int | manual_sort |
If set in any remote, disables automatic sorting. More... | |
struct ir_remote * | next |
One remote as represented in the configuration file.
Definition at line 155 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 162 of file ir_remote_types.h.
const char* ir_remote::driver |
Name of driver for LIRCCODE cases.
Definition at line 157 of file ir_remote_types.h.
int ir_remote::manual_sort |
If set in any remote, disables automatic sorting.
Definition at line 242 of file ir_remote_types.h.