summaryrefslogtreecommitdiff
path: root/XIproto.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-05-02 18:19:11 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-05-02 18:19:11 +0930
commitccbe2e63123c58041a3c32ae6a21b05bd8c72b04 (patch)
tree66db614ee72526be376cb123018772eb042194eb /XIproto.h
parentb12514254cb1d2b91381b59251440b22e36052fb (diff)
Add xFakeDeviceDataReq
Diffstat (limited to 'XIproto.h')
-rw-r--r--XIproto.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/XIproto.h b/XIproto.h
index 9dfec78..b904097 100644
--- a/XIproto.h
+++ b/XIproto.h
@@ -177,6 +177,7 @@ struct tmask
#define X_GetClientPointer 45
#define X_GetPairedPointer 46
#define X_XiSelectEvent 47
+#define X_FakeDeviceData 48
/*********************************************************
*
@@ -1727,6 +1728,29 @@ typedef struct {
/**********************************************************
*
+ * FakeDeviceData.
+ *
+ * Followed by num_valuators * CARD32 fields that represent valuator data.
+ *
+ */
+
+typedef struct {
+ CARD8 reqType; /* input extension major opcode */
+ CARD8 ReqType; /* always X_XiSelectEvent */
+ CARD16 length B16;
+ CARD8 type;
+ CARD8 buttons;
+ CARD8 num_valuators;
+ CARD8 first_valuator;
+ CARD8 deviceid;
+ CARD8 pad0;
+ CARD16 pad1;
+} xFakeDeviceDataReq;
+
+
+
+/**********************************************************
+ *
* Input extension events.
*
* DeviceValuator