summaryrefslogtreecommitdiff
path: root/XIproto.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-02-12 19:19:58 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-02-12 19:20:10 +1030
commit6a91ee1bd1d4751d09f2e4aa832913bc66ae4602 (patch)
tree8dad48036aaf5f98a23115b67258650d016a1610 /XIproto.h
parent1d097c26264b657689d74f3f0a77cd1aa4f7e576 (diff)
Remove RawDeviceEvent - for now anyway.
Wasn't quite as thought-out as it should be. Throwing it out for now, to get the rest of MPX more stable.
Diffstat (limited to 'XIproto.h')
-rw-r--r--XIproto.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/XIproto.h b/XIproto.h
index a84491e..8ccd8c9 100644
--- a/XIproto.h
+++ b/XIproto.h
@@ -121,7 +121,6 @@ struct tmask
/* GE events */
#define XI_DeviceHierarchyChangedNotify 0
#define XI_DeviceClassesChangedNotify 1
-#define XI_RawDeviceEvent 2
/*********************************************************
@@ -2030,35 +2029,6 @@ typedef deviceEnterNotify deviceLeaveNotify;
/*********************************************************
- * RawDeviceEvent.
- *
- * GE event, may be larger than 32 bytes. If length is > 0, then the event is
- * followed by (length * CARD32) fields denoting the values of valuator4 to
- * valuator(num_valuators-1).
- */
-
-typedef struct
- {
- BYTE type; /* always GenericEvent */
- BYTE extension; /* XI extension offset */
- CARD16 sequenceNumber B16;
- CARD32 length B32;
- CARD16 evtype B16; /* XI_RawDeviceEvent */
- CARD8 buttons;
- CARD8 num_valuators;
- CARD8 first_valuator;
- CARD8 deviceid;
- CARD8 event_type; /* one of MotionNotify,
- ButtonPress, ButtonRelase */
- CARD8 pad0;
- CARD32 valuator0 B32;
- CARD32 valuator1 B32;
- CARD32 valuator2 B32;
- CARD32 valuator3 B32;
- } rawDeviceEvent;
-
-
-/*********************************************************
* DeviceHierarchyChangedEvent.
*
* Intended as a notification event only, the client is expected to query the