summaryrefslogtreecommitdiff
path: root/XI.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 /XI.h
parentb12514254cb1d2b91381b59251440b22e36052fb (diff)
Add xFakeDeviceDataReq
Diffstat (limited to 'XI.h')
-rw-r--r--XI.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/XI.h b/XI.h
index 6e00ba1..179b9a2 100644
--- a/XI.h
+++ b/XI.h
@@ -127,6 +127,7 @@ SOFTWARE.
#define sz_xGetPairedPointerReq 8
#define sz_xGetPairedPointerReply 32
#define sz_xXiSelectEventReq 12
+#define sz_xFakeDeviceDataReq 12
#define INAME "XInputExtension"
@@ -304,14 +305,17 @@ SOFTWARE.
#define XI_RandomStringMask (1 << 1)
#define XI_RawDeviceEventMask (1 << 2)
+
/* Make XEventClass be a CARD32 for 64 bit servers. Don't affect client
* definition of XEventClass since that would be a library interface change.
* See the top of X.h for more _XSERVER64 magic.
*/
#ifdef _XSERVER64
typedef CARD32 XEventClass;
+typedef CARD32 ValuatorData;
#else
typedef unsigned long XEventClass;
+typedef unsigned long ValuatorData;
#endif
/*******************************************************************