diff options
author | Peter De Wachter <pdewacht@gmail.com> | 2013-03-20 00:35:45 +0100 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-10-07 09:22:48 +1100 |
commit | af1d0858775dd130c59de921210a114580fef719 (patch) | |
tree | 1fd3386a65b3681e2afd972c740c3525bd5122ef | |
parent | 8a9b1ec6b58a36910a03f3e8b1f9bc8d91f87204 (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>
(cherry picked from commit 54a3120e339e55fc4721543abb15692c3e9ede09)
-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 ba2a98c..d36eb54 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -1541,7 +1541,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); } } |