libinput/src
Peter Hutterer 1cebdc7a2b touchpad: accumulate the initial scroll edge delta
The previous setting of 10 wasn't 10 mm, it was used against the deltas
normalized to a 1000DPI mouse, i.e. closer to 4mm. It was also also per-event,
so a slow movement or a high-frequency touchpad can struggle to meet the
threshold.

Change the trigger to be ~5 mm from the initial touch down, accumulated until
we either meet the threshold or the timeout expires. The first scroll event
includes the delta since the touch down rather than the most recent delta.
This removes the delay otherwise seen in scrolling and makes the scroll motion
match the finger motion. This accumulated delta only applies when exceeding
the motion threshold, when the timeout triggers the switch to scrolling the
first delta posted is the current delta.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-03-10 07:09:23 +10:00
..
evdev-mt-touchpad-buttons.c touchpad: don't warn about clickpads without left buttons 2015-03-05 13:30:49 +10:00
evdev-mt-touchpad-edge-scroll.c touchpad: accumulate the initial scroll edge delta 2015-03-10 07:09:23 +10:00
evdev-mt-touchpad-gestures.c touchpad: Refactor tp_get_*_touches_delta 2015-02-23 10:06:37 +01:00
evdev-mt-touchpad-tap.c touchpad: change tap motion threshold to 3 mm 2015-03-10 07:09:23 +10:00
evdev-mt-touchpad.c Move DEFAULT_MOUSE_DPI to evdev.h, provide a conversion macro 2015-03-10 07:09:23 +10:00
evdev-mt-touchpad.h touchpad: accumulate the initial scroll edge delta 2015-03-10 07:09:23 +10:00
evdev.c evdev: ignore tablet pad devices explicitly 2015-03-02 12:45:47 +10:00
evdev.h Move DEFAULT_MOUSE_DPI to evdev.h, provide a conversion macro 2015-03-10 07:09:23 +10:00
filter-private.h cosmetic: more duplicate empty line removal 2015-03-02 16:48:51 +10:00
filter.c filter: zalloc the struct to make sure the speed is initialized 2015-02-03 10:37:51 +10:00
filter.h Move DEFAULT_MOUSE_DPI to evdev.h, provide a conversion macro 2015-03-10 07:09:23 +10:00
libinput-private.h cosmetic: drop double empty lines 2015-02-20 09:57:39 +10:00
libinput-util.c Parse the MOUSE_WHEEL_CLICK_ANGLE udev property if present 2015-01-13 13:35:42 +10:00
libinput-util.h Change axis events to carry all directions 2015-01-13 13:54:21 +10:00
libinput-version.h.in Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00
libinput.c Drop libinput_device_has_button 2015-03-06 15:50:17 +10:00
libinput.h Drop libinput_device_has_button 2015-03-06 15:50:17 +10:00
libinput.pc.in Add -lrt to the libs 2014-07-03 09:59:43 +10:00
libinput.sym Sort exported symbols alphabetically 2015-03-09 14:09:02 +10:00
Makefile.am touchpad: Gesture support preparation 2015-02-23 10:01:02 +01:00
path.c path: make sure udev devices are initialized before usage 2015-02-04 08:14:50 +10:00
path.h path: store the udev device instead of just the devnode 2014-11-25 16:33:01 +10:00
timer.c Add a helper function for clock_gettime 2014-09-18 11:30:15 +10:00
timer.h timer.h: Add #include libinput-util.h 2014-06-11 10:30:12 +10:00
udev-seat.c udev: fix a race condition if a device disappears before we get a handle 2015-02-19 06:56:23 +10:00
udev-seat.h udev: Drop unused seat_name in struct udev_seat 2014-01-16 20:42:30 +01:00