Lines Matching defs:_DeviceEvent
96 struct _DeviceEvent { struct
97 unsigned char header; /**< Always ET_Internal */
98 enum EventType type; /**< One of EventType */
99 int length; /**< Length in bytes */
100 Time time; /**< Time in ms */
101 int deviceid; /**< Device to post this event for */
102 int sourceid; /**< The physical source device */
103 union {
107 } detail;
108 uint32_t touchid; /**< Touch ID (client_id) */
109 int16_t root_x; /**< Pos relative to root window in integral data */
110 float root_x_frac; /**< Pos relative to root window in frac part */
111 int16_t root_y; /**< Pos relative to root window in integral part */
112 float root_y_frac; /**< Pos relative to root window in frac part */
113 uint8_t buttons[(MAX_BUTTONS + 7) / 8]; /**< Button mask */
114 struct {
118 } valuators;
119 struct {
124 } mods;
125 struct {
130 } group;
131 Window root; /**< Root window of the event */
132 int corestate; /**< Core key/button state BEFORE the event */
133 int key_repeat; /**< Internally-generated key repeat event */
134 uint32_t flags; /**< Flags to be copied into the generated event */
135 uint32_t resource; /**< Touch event resource, only for TOUCH_REPLAYING */
136 enum DeviceEventSource source_type; /**< How this event was provoked */