From 93efa978bee7785adef9fc8a2b6379ebc21398fb Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 26 May 2008 22:08:12 +0930 Subject: Check for XINPUT ABI 3. --- src/xf86HyperPen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xf86HyperPen.c b/src/xf86HyperPen.c index f27899a..c80f2e1 100644 --- a/src/xf86HyperPen.c +++ b/src/xf86HyperPen.c @@ -1242,7 +1242,9 @@ xf86HypProc(DeviceIntPtr pHyp, int what) if (InitValuatorClassDeviceStruct(pHyp, nbaxes, +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 3 xf86GetMotionEvents, +#endif local->history_size, (priv->flags & ABSOLUTE_FLAG)? Absolute: Relative) == FALSE) { -- cgit v1.2.3