summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--XI.h7
-rw-r--r--XI2.h6
2 files changed, 6 insertions, 7 deletions
diff --git a/XI.h b/XI.h
index 2a885ea..727621a 100644
--- a/XI.h
+++ b/XI.h
@@ -274,13 +274,6 @@ SOFTWARE.
#define DeviceUnrecoverable 4
#define DeviceControlChanged 5
-
-/* ChangeHierarchy constants */
-#define CH_CreateMasterDevice 1
-#define CH_RemoveMasterDevice 2
-#define CH_AttachSlave 3
-#define CH_DetachSlave 4
-
#define AttachToMaster 1
#define Floating 2
diff --git a/XI2.h b/XI2.h
index f612759..ac6e0ed 100644
--- a/XI2.h
+++ b/XI2.h
@@ -39,6 +39,12 @@
#define HF_DeviceEnabled (1 << 6)
#define HF_DeviceDisabled (1 << 7)
+/* ChangeHierarchy constants */
+#define CH_CreateMasterDevice 1
+#define CH_RemoveMasterDevice 2
+#define CH_AttachSlave 3
+#define CH_DetachSlave 4
+
/* Valuator modes */
#define ModeRelative 0
#define ModeAbsolute 1