#include <able/input.h>

Data Fields | |
| struct timeval | time |
| The time the event occoured. | |
| uint16_t | type |
| The type of event. | |
| uint16_t | code |
| The event code. | |
| int32_t | value |
| The value for the code. | |
Input events are delivered to applications in this format.
This structure is compatible with the linux equivalent so porting is easier.
struct timeval input_event::time [read] |
The time the event occoured.
The type of event.
The event code.
The value for the code.
e.g. The magnitude of a relative movement.
1.5.6