summaryrefslogtreecommitdiff
path: root/XIproto.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 /XIproto.h
parent42a6b9b643d22ca8df64757cf497d2c7ac2dee65 (diff)
Add event_type to RawDeviceEvent to store matching core event type.
Diffstat (limited to 'XIproto.h')
-rw-r--r--XIproto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/XIproto.h b/XIproto.h
index 962c04c..182eca9 100644
--- a/XIproto.h
+++ b/XIproto.h
@@ -2080,7 +2080,9 @@ typedef struct
CARD8 num_valuators;
CARD8 first_valuator;
CARD8 deviceid;
- CARD16 pad1;
+ CARD8 event_type; /* one of MotionNotify,
+ ButtonPress, ButtonRelase */
+ CARD8 pad0;
CARD32 valuator0 B32;
CARD32 valuator1 B32;
CARD32 valuator2 B32;