summaryrefslogtreecommitdiff
path: root/XI2.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-04-16 11:37:20 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-04-20 13:37:21 +1000
commit3380ae0ac0220c7f8fea9df855113819b472a233 (patch)
treee0593c9096a36a7e651cfb697289b088f172fa14 /XI2.h
parent3c273d7145ed5f53b54d2812ad2ac8430d449555 (diff)
Add XIAllowEvents.
Basically the same as the core protocol AllowEvents.
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