|
LIRC libraries
LinuxInfraredRemoteControl
|
#include <driver.h>
Data Fields | |
| const char * | device |
| int | fd |
| __u32 | features |
| __u32 | send_mode |
| __u32 | rec_mode |
| const __u32 | code_length |
| int(*const | open_func )(const char *device) |
| int(*const | init_func )(void) |
| int(*const | deinit_func )(void) |
| int(*const | send_func )(struct ir_remote *remote, struct ir_ncode *code) |
| char *(*const | rec_func )(struct ir_remote *remotes) |
| int(*const | decode_func )(struct ir_remote *remote, struct decode_ctx_t *ctx) |
| int(*const | drvctl_func )(unsigned int cmd, void *arg) |
| lirc_t(*const | readdata )(lirc_t timeout) |
| const char * | name |
| unsigned int | resolution |
| const int | api_version |
| const char * | driver_version |
| const char * | info |
| int(*const | close_func )(void) |
| const char *const | device_hint |
The data the driver exports i. e., lirc accesses the driver as defined here.
| const int driver::api_version |
| int(*const driver::close_func) (void) |
| const __u32 driver::code_length |
| int(*const driver::decode_func) (struct ir_remote *remote, struct decode_ctx_t *ctx) |
| int(*const driver::deinit_func) (void) |
| const char* driver::device |
Name of the device (string). Set by open_func() before init(), possibly using the hard-coded driver default value.
| const char* const driver::device_hint |
device_hint is a mean for config tools to autodetect devices.
| const char* driver::driver_version |
| int(*const driver::drvctl_func) (unsigned int cmd, void *arg) |
| __u32 driver::features |
| int(*const driver::init_func) (void) |
| const char* driver::name |
| int(*const driver::open_func) (const char *device) |
| lirc_t(*const driver::readdata) (lirc_t timeout) |
| char*(*const driver::rec_func) (struct ir_remote *remotes) |
| __u32 driver::rec_mode |
| unsigned int driver::resolution |
| __u32 driver::send_mode |