diff options
author | Keith Packard <keithp@keithp.com> | 2016-05-31 17:52:42 -0700 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-06-02 09:42:05 +1000 |
commit | 7b1267f7f18c478d3dc34a7668eaefa402815891 (patch) | |
tree | 78ccfd20e5261bf80e5e50c7543f59df2fa9a23d /src/evdev.h | |
parent | Report errors when attempting to write keyboard controls (diff) | |
download | xf86-input-evdev-7b1267f7f18c478d3dc34a7668eaefa402815891.tar.gz xf86-input-evdev-7b1267f7f18c478d3dc34a7668eaefa402815891.tar.bz2 xf86-input-evdev-7b1267f7f18c478d3dc34a7668eaefa402815891.zip |
Support XINPUT ABI version 23 (threaded input)
Use input_lock/input_unlock calls instead of SIGIO functions
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/evdev.h')
-rw-r--r-- | src/evdev.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/evdev.h b/src/evdev.h index 4d44d2b..0ebcfa0 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -67,6 +67,10 @@ #define LogMessageVerbSigSafe xf86MsgVerb #endif +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 23 +#define HAVE_THREADED_INPUT 1 +#endif + #define EVDEV_MAXBUTTONS 32 #define EVDEV_MAXQUEUE 32 |