diff options
Diffstat (limited to 'src/elo.c')
-rw-r--r-- | src/elo.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -309,7 +309,10 @@ DeviceInit( DeviceIntPtr dev ) * Device reports motions on 2 axes in absolute coordinates. * Device may reports touch pressure on the 3rd axis. */ - if (InitValuatorClassDeviceStruct (dev, priv->axes, xf86GetMotionEvents, + if (InitValuatorClassDeviceStruct (dev, priv->axes, +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 + xf86GetMotionEvents, +#endif local->history_size, Absolute) == FALSE) { ErrorF ("Unable to allocate Elographics touchscreen ValuatorClassDeviceStruct\n"); |