diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-06-02 10:05:02 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-06-02 10:05:02 +1000 |
commit | 248c5936a0151d0766a95457330c7d3ef9335b94 (patch) | |
tree | a91cc2beba3b4965c1b43439903f9f9dc3e80567 /src/synapticsstr.h | |
parent | 59e5db025307404fbfbc82f2fb3fe91d6a3005d7 (diff) |
Support XINPUT ABI version 23
Use input_lock/input_unlock calls instead of SIGIO functions
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/synapticsstr.h')
-rw-r--r-- | src/synapticsstr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/synapticsstr.h b/src/synapticsstr.h index f8ab14e..905b78b 100644 --- a/src/synapticsstr.h +++ b/src/synapticsstr.h @@ -36,6 +36,10 @@ #define NO_DRIVER_SCALING 1 #endif +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 23 +#define HAVE_THREADED_INPUT 1 +#endif + #ifdef DBG #undef DBG #endif |