summaryrefslogtreecommitdiff
path: root/src/evdev.c
diff options
context:
space:
mode:
authorPeter De Wachter <pdewacht@gmail.com>2013-03-20 00:35:45 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2013-10-07 09:21:07 +1100
commit54a3120e339e55fc4721543abb15692c3e9ede09 (patch)
tree718e11ff6eea7c16234604c7b6d813d10a115314 /src/evdev.c
parent0f16065b00436c5df48af6e1d6a18e2ed27a12fd (diff)
Map REL_DIAL to vertical scrolling
This makes the absolute axis codepath behave the same as the relative axis path. Signed-off-by: Peter De Wachter <pdewacht@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/evdev.c')
-rw-r--r--src/evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c
index b97b841..bafe81f 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1574,7 +1574,7 @@ EvdevAddAbsValuatorClass(DeviceIntPtr device, int want_scroll_axes)
NO_AXIS_LIMITS, NO_AXIS_LIMITS,
0, 0, 0, Relative);
SetScrollValuator(device, pEvdev->rel_axis_map[idx],
- SCROLL_TYPE_HORIZONTAL, 1.0,
+ SCROLL_TYPE_VERTICAL, -1.0,
SCROLL_FLAG_NONE);
}
}