diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-01 09:12:42 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-01 09:13:22 +1000 |
commit | 0d75208a554577d652ca9e2856a4f12b0d720a1f (patch) | |
tree | 0948a99ddef41ef788eaf394d934bc496ca3f814 | |
parent | 8aff0836afaef4397f9df273cc90edeca1ab9641 (diff) |
Move the XI2 index into versions[] over to XI2.h
-rw-r--r-- | XI.h | 4 | ||||
-rw-r--r-- | XI2.h | 9 |
2 files changed, 12 insertions, 1 deletions
@@ -135,6 +135,8 @@ SOFTWARE. #define XI_FOOTMOUSE "FOOTMOUSE" #define XI_JOYSTICK "JOYSTICK" +/* Indices into the versions[] array (XExtInt.c). Used as a index to + * retrieve the minimum version of XI from _XiCheckExtInit */ #define Dont_Check 0 #define XInput_Initial_Release 1 #define XInput_Add_XDeviceBell 2 @@ -142,7 +144,7 @@ SOFTWARE. #define XInput_Add_XChangeDeviceControl 4 #define XInput_Add_DevicePresenceNotify 5 #define XInput_Add_DeviceProperties 6 -#define XInput_2 7 +/* DO NOT ADD TO HERE -> XI2 */ #define XI_Absent 0 #define XI_Present 1 @@ -25,6 +25,15 @@ #ifndef _XI2_H_ #define _XI2_H_ +/* Indices into the versions[] array (XExtInt.c). Used as a index to + * retrieve the minimum version of XI from _XiCheckExtInit. + * For indices 0 to 6 see XI.h */ +#ifndef Dont_Check /* defined in XI.h */ +#define Dont_Check 0 +#endif +#define XInput_2_0 7 + + #define XI_2_Major 2 #define XI_2_Minor 0 |