summaryrefslogtreecommitdiff
path: root/XInput.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-05-02 09:43:48 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-05-02 09:43:48 +0930
commitb12514254cb1d2b91381b59251440b22e36052fb (patch)
tree5278042692ee6b885c33ed18b7f9771a5e96155f /XInput.h
parentce7bbfb7e0ecaf977c4ec8e760c634cebf8ac167 (diff)
Providing a device id for a RawDeviceEvent may not be a bad idea.
Diffstat (limited to 'XInput.h')
-rw-r--r--XInput.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/XInput.h b/XInput.h
index 7f6fcb9..c4318e3 100644
--- a/XInput.h
+++ b/XInput.h
@@ -539,6 +539,7 @@ typedef struct {
Display *display; /* Display the event was read from */
int extension; /* XI extension offset */
int evtype; /* XI_RawDeviceEvent */
+ int deviceid;
int buttons;
int num_valuators;
int first_valuator;