[PATCH xf86-input-joystick] Handle DEVICE_ABORT for input ABI 19.1
Peter Hutterer
peter.hutterer at who-t.net
Tue Jan 29 19:20:05 PST 2013
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
src/jstk.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/jstk.c b/src/jstk.c
index b82481a..bee34fc 100644
--- a/src/jstk.c
+++ b/src/jstk.c
@@ -422,6 +422,11 @@ jstkDeviceControlProc(DeviceIntPtr pJstk,
pJstk->public.on = FALSE;
break;
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) * 100 + GET_ABI_MINOR(ABI_XINPUT_VERSION) >= 1901
+ case DEVICE_ABORT:
+ break;
+#endif
+
default:
ErrorF("unsupported mode=%d\n", what);
return BadValue;
--
1.8.1
More information about the xorg-devel
mailing list