From 791cbbf9df621d9712731990271bf3b53076673a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 26 May 2008 22:00:23 +0930 Subject: Check for XINPUT ABI 3. --- src/acecad.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/acecad.c b/src/acecad.c index 71d2578..f3c284a 100644 --- a/src/acecad.c +++ b/src/acecad.c @@ -657,7 +657,10 @@ DeviceInit (DeviceIntPtr dev) /* 3 axes */ - if (InitValuatorClassDeviceStruct (dev, 3, xf86GetMotionEvents, + if (InitValuatorClassDeviceStruct (dev, 3, +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 + xf86GetMotionEvents, +#endif local->history_size, ((priv->flags & ABSOLUTE_FLAG)? Absolute: Relative)|OutOfProximity) == FALSE) -- cgit v1.2.3