diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-10 15:42:51 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-11 14:49:07 +1000 |
commit | c6985e7651636d75ad7f7ed1b3ef434e123a8492 (patch) | |
tree | da4739482559185793281d30fdd8be48e8cfe80e /include/X11 | |
parent | 2712dbc2609ad75674c77df04d42899844968e10 (diff) |
Add support for Raw events.
Diffstat (limited to 'include/X11')
-rw-r--r-- | include/X11/extensions/XInput2.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h index e0ca45a..11f335c 100644 --- a/include/X11/extensions/XInput2.h +++ b/include/X11/extensions/XInput2.h @@ -219,6 +219,22 @@ typedef struct { XIGroupState *group; } XIDeviceEvent; +typedef struct { + int type; /* GenericEvent */ + unsigned long serial; /* # of last request processed by server */ + Bool send_event; /* true if this came from a SendEvent request */ + Display *display; /* Display the event was read from */ + int extension; /* XI extension offset */ + int evtype; + Time time; + int detail; + int deviceid; + int sourceid; + XIValuatorState *valuators; + double *raw_values; +} XIRawDeviceEvent; + + _XFUNCPROTOBEGIN extern Bool XIQueryDevicePointer( |