aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-06 08:13:36 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-06 19:45:28 +1000
commit4361b3efa0da5e85da7f0506c81dba31e59dc897 (patch)
tree5d333cc9116cad717bd6d5a79f6efac9f8f58d42
parentevdev 2.1.99.1 (diff)
downloadxf86-input-evdev-4361b3efa0da5e85da7f0506c81dba31e59dc897.tar.gz
xf86-input-evdev-4361b3efa0da5e85da7f0506c81dba31e59dc897.tar.bz2
xf86-input-evdev-4361b3efa0da5e85da7f0506c81dba31e59dc897.zip
Fix duplicate wheel button up mapping.
Reported by Simon Thum. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Simon Thum <simon.thum@gmx.de>
-rw-r--r--src/evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 8332500..519fd6a 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -2014,7 +2014,7 @@ EvdevInitProperty(DeviceIntPtr dev)
/* wheel buttons, hardcoded anyway */
atoms[3] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_WHEEL_UP);
- atoms[4] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_WHEEL_UP);
+ atoms[4] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_WHEEL_DOWN);
atoms[5] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_HWHEEL_LEFT);
atoms[6] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_HWHEEL_RIGHT);