summaryrefslogtreecommitdiff
path: root/XI2.h
diff options
context:
space:
mode:
Diffstat (limited to 'XI2.h')
-rw-r--r--XI2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/XI2.h b/XI2.h
index 8a87d89..e50db00 100644
--- a/XI2.h
+++ b/XI2.h
@@ -28,6 +28,13 @@
#define XI_2_Major 2
#define XI_2_Minor 0
+/* XIAllowEvents event-modes */
+#define AsyncDevice 0
+#define SyncDevice 1
+#define ReplayDevice 2
+#define AsyncPairedDevice 3
+#define AsyncPair 4
+#define SyncPair 5
/* DeviceChangedEvent change reasons */
#define SlaveSwitch 1