diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-20 08:23:55 +1000 |
---|---|---|
committer | Chase Douglas <chase.douglas@canonical.com> | 2011-12-20 14:11:04 -0800 |
commit | 9a9746b95f3585bba9730105769e9c74520f6bc4 (patch) | |
tree | d8ba9a74b95e3c939c1896aef4dae9c743ed10e1 | |
parent | ee0bc61ee3fd775127f8cd222d83314f66255f2b (diff) |
Reinstate libXi's version definesmultitouch-devel
Realistically, we can't remove these from the protocol without breaking
older libraries.
Introduced in a02566ca7fd37d279b957037e1251a3b3419866d
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r-- | XI.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -135,6 +135,17 @@ 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 +#define XInput_Add_XSetDeviceValuators 3 +#define XInput_Add_XChangeDeviceControl 4 +#define XInput_Add_DevicePresenceNotify 5 +#define XInput_Add_DeviceProperties 6 +/* DO NOT ADD TO HERE -> XI2 */ + #define XI_Absent 0 #define XI_Present 1 |