summaryrefslogtreecommitdiff
path: root/XInput.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-05-17 20:19:02 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-05-17 20:19:02 +0930
commit3d164140845c2ff65d84b56977b1722e95882f1c (patch)
treea15fe3aa0e41a8d429ca80d0c1cf4e141afc6d55 /XInput.h
parent42a6b9b643d22ca8df64757cf497d2c7ac2dee65 (diff)
Add event_type to RawDeviceEvent to store matching core event type.
Diffstat (limited to 'XInput.h')
-rw-r--r--XInput.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/XInput.h b/XInput.h
index baeab9b..2494eaa 100644
--- a/XInput.h
+++ b/XInput.h
@@ -540,6 +540,8 @@ typedef struct {
Display *display; /* Display the event was read from */
int extension; /* XI extension offset */
int evtype; /* XI_RawDeviceEvent */
+ int event_type; /* MotionNotify, ButtonPress or
+ ButtonRelease*/
int deviceid;
int buttons;
int num_valuators;