![]() |
Libmacro
0.2
Libmacro is an extensible macro and hotkey library.
|
#include <p_device.h>
Public Attributes | |
| struct mcr_context * | context |
| struct uinput_user_dev | device |
| struct { | |
| const int * set_events | |
| size_t set_event_count | |
| }; | |
| struct { | |
| const mcr_EvbitRange_t * event_bits | |
| size_t event_bit_count | |
| }; | |
| int | fd |
| int | event_fd |
| bool | enabled |
Linux - Wrapper for uinput devices.
Definition at line 44 of file p_device.h.
| struct { ... } |
int => int[], input type to input bit array
| struct uinput_user_dev mcr_Device::device |
Create a device and write to it
Definition at line 47 of file p_device.h.
| bool mcr_Device::enabled |
false disabled, otherwise can write events to fd
Definition at line 62 of file p_device.h.
| int mcr_Device::event_fd |
File descriptor for event node, to ioctl and read from
Definition at line 60 of file p_device.h.
| int mcr_Device::fd |
File descriptor to write input_events
Definition at line 58 of file p_device.h.