25#include <l4/sys/l4int.h>
27typedef struct L4_EXPORT_TYPE l4re_event_stream_id_t
33} l4re_event_stream_id_t;
35typedef struct L4_EXPORT_TYPE l4re_event_absinfo_t
43} l4re_event_absinfo_t;
45enum l4re_event_stream_max_values_t
47 L4RE_EVENT_EV_MAX = 0x1f,
48 L4RE_EVENT_KEY_MAX = 0x1ff,
49 L4RE_EVENT_REL_MAX = 0xf,
50 L4RE_EVENT_ABS_MAX = 0x3f,
51 L4RE_EVENT_PROP_MAX = 0x1f,
52 L4RE_EVENT_SW_MAX = 0xf,
55enum l4re_event_stream_props_t
57 L4RE_EVENT_STREAM_CALIBRATE = 0x001,
61#define __UNUM_B(x) ((x+1) + sizeof(unsigned long)*8 - 1) / (sizeof(unsigned long)*8)
63typedef struct L4_EXPORT_TYPE l4re_event_stream_info_t
68 l4re_event_stream_id_t id;
70 unsigned long propbits[__UNUM_B(L4RE_EVENT_PROP_MAX)];
72 unsigned long evbits[__UNUM_B(L4RE_EVENT_EV_MAX)];
73 unsigned long keybits[__UNUM_B(L4RE_EVENT_KEY_MAX)];
74 unsigned long relbits[__UNUM_B(L4RE_EVENT_REL_MAX)];
75 unsigned long absbits[__UNUM_B(L4RE_EVENT_ABS_MAX)];
76 unsigned long swbits[__UNUM_B(L4RE_EVENT_SW_MAX)];
78} l4re_event_stream_info_t;
80typedef struct L4_EXPORT_TYPE l4re_event_stream_state_t
82 unsigned long keybits[__UNUM_B(L4RE_EVENT_KEY_MAX)];
83 unsigned long swbits[__UNUM_B(L4RE_EVENT_SW_MAX)];
84} l4re_event_stream_state_t;
L4 compiler related defines.
unsigned long l4_umword_t
Unsigned machine word.
signed int l4_int32_t
Signed 32bit value.
unsigned short int l4_uint16_t
Unsigned 16bit value.