mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-04-14 11:44:16 +00:00
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 54a3120e33)
This commit is contained in:
committed by
Peter Hutterer
parent
8a9b1ec6b5
commit
af1d085877
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user