diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-26 22:00:23 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-27 11:44:59 +0930 |
commit | 791cbbf9df621d9712731990271bf3b53076673a (patch) | |
tree | 739667b7496d9b3c7924a755d1e387d3d674f36f /src | |
parent | 33e64334db17ed3d2307e3ac465450c5c9b39ad9 (diff) |
Check for XINPUT ABI 3.
Diffstat (limited to 'src')
-rw-r--r-- | src/acecad.c | 5 |
1 files changed, 4 insertions, 1 deletions
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) |