summaryrefslogtreecommitdiff
path: root/include/X11/extensions/XInput2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/X11/extensions/XInput2.h')
-rw-r--r--include/X11/extensions/XInput2.h16
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(