aboutsummaryrefslogtreecommitdiff
path: root/src/emuWheel.c
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2011-01-22 16:40:48 -0500
committerPeter Hutterer <peter.hutterer@who-t.net>2011-01-24 14:12:39 +1000
commit8bc4be3048754b9c751cd98f5a5b46cf59a56f3a (patch)
tree37dcc1ebf7f05cada6f0d042e9e164a7ed5571bf /src/emuWheel.c
parentevdev 2.6.0 (diff)
downloadxf86-input-evdev-8bc4be3048754b9c751cd98f5a5b46cf59a56f3a.tar.gz
xf86-input-evdev-8bc4be3048754b9c751cd98f5a5b46cf59a56f3a.tar.bz2
xf86-input-evdev-8bc4be3048754b9c751cd98f5a5b46cf59a56f3a.zip
Remove support for X input ABI < 12.2
Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/emuWheel.c')
-rw-r--r--src/emuWheel.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/emuWheel.c b/src/emuWheel.c
index 9a53211..81ef2a3 100644
--- a/src/emuWheel.c
+++ b/src/emuWheel.c
@@ -44,13 +44,11 @@
#define WHEEL_NOT_CONFIGURED 0
-#ifdef HAVE_PROPERTIES
static Atom prop_wheel_emu = 0;
static Atom prop_wheel_axismap = 0;
static Atom prop_wheel_inertia = 0;
static Atom prop_wheel_timeout = 0;
static Atom prop_wheel_button = 0;
-#endif
/* Local Funciton Prototypes */
static BOOL EvdevWheelEmuHandleButtonMap(InputInfoPtr pInfo, WheelAxisPtr pAxis, char *axis_name);
@@ -335,7 +333,6 @@ EvdevWheelEmuPreInit(InputInfoPtr pInfo)
pInfo->name, pEvdev->emulateWheel.button, inertia, timeout);
}
-#ifdef HAVE_PROPERTIES
static int
EvdevWheelEmuSetProperty(DeviceIntPtr dev, Atom atom, XIPropertyValuePtr val,
BOOL checkonly)
@@ -485,4 +482,3 @@ EvdevWheelEmuInitProperty(DeviceIntPtr dev)
XIRegisterPropertyHandler(dev, EvdevWheelEmuSetProperty, NULL, NULL);
}
-#endif