summaryrefslogtreecommitdiff
path: root/XI.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-04-24 22:53:27 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-04-24 22:53:27 +0930
commitc9bed7d4750c314002c16430a4dd75f95cc2f78d (patch)
treebd10ab37950272fa813e6d7f04f2428515b5be5a /XI.h
parentc608d82c6b5b87ddc8d14862f528bdd69f5f5b72 (diff)
Add flags to be used for DevicePrensence's devchange field.
Diffstat (limited to 'XI.h')
-rw-r--r--XI.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/XI.h b/XI.h
index fbecd80..ae52292 100644
--- a/XI.h
+++ b/XI.h
@@ -250,6 +250,12 @@ SOFTWARE.
#define _devicePresence 0
+#define DeviceAdded 0
+#define DeviceRemoved 1
+#define DeviceEnabled 2
+#define DeviceDisabled 3
+#define DeviceUnrecoverable 4
+
#define XI_BadDevice 0
#define XI_BadEvent 1
#define XI_BadMode 2