input_event Struct Reference

Input event structure. More...

#include <able/input.h>

Collaboration diagram for input_event:

Collaboration graph
[legend]

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.

Detailed Description

Input event structure.

Input events are delivered to applications in this format.

This structure is compatible with the linux equivalent so porting is easier.


Field Documentation

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.


The documentation for this struct was generated from the following file:

Generated on Tue Jan 20 14:29:01 2009 for ABLE LIBC by  doxygen 1.5.6