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>
This commit is contained in:
Keith Packard
2016-05-31 17:52:42 -07:00
committed by Peter Hutterer
parent e08b033276
commit 7b1267f7f1
3 changed files with 24 additions and 6 deletions

View File

@@ -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