From c90ac5193dc3af8e2e68776235cd3eb2ea48532f Mon Sep 17 00:00:00 2001 From: Peter De Wachter Date: Wed, 20 Mar 2013 00:35:45 +0100 Subject: [PATCH 1/3] Map REL_DIAL to vertical scrolling This makes the absolute axis codepath behave the same as the relative axis path. --- src/evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evdev.c b/src/evdev.c index 052e9f0..360cf9f 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -1532,7 +1532,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); } } -- 1.7.10.4