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:
Peter De Wachter
2013-03-20 00:35:45 +01:00
committed by Peter Hutterer
parent 8a9b1ec6b5
commit af1d085877

View File

@@ -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);
}
}