diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-05-02 09:43:48 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-05-02 09:43:48 +0930 |
commit | b12514254cb1d2b91381b59251440b22e36052fb (patch) | |
tree | 5278042692ee6b885c33ed18b7f9771a5e96155f | |
parent | ce7bbfb7e0ecaf977c4ec8e760c634cebf8ac167 (diff) |
Providing a device id for a RawDeviceEvent may not be a bad idea.
-rw-r--r-- | XInput.h | 1 | ||||
-rw-r--r-- | XIproto.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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; @@ -2014,7 +2014,7 @@ typedef struct CARD8 buttons; CARD8 num_valuators; CARD8 first_valuator; - CARD8 pad0; + CARD8 deviceid; CARD16 pad1; CARD32 valuator0 B32; CARD32 valuator1 B32; |