diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-06 08:13:36 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-06 19:45:28 +1000 |
commit | 4361b3efa0da5e85da7f0506c81dba31e59dc897 (patch) | |
tree | 5d333cc9116cad717bd6d5a79f6efac9f8f58d42 | |
parent | 281a7b4b88015c768639b7ae960b62f3539f012b (diff) |
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.c | 2 |
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); |