touchpad: reduce edge scroll motion threshold to 3mm

Reduce the dead zone/initial jump

https://bugs.freedesktop.org/show_bug.cgi?id=90990

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
Peter Hutterer 2015-06-19 10:11:13 +10:00
parent f783dae0a7
commit abc8c0d6c2

View file

@ -39,7 +39,7 @@
avoid accidentally locking in scrolling mode when trying to use the entire avoid accidentally locking in scrolling mode when trying to use the entire
touchpad to move the pointer. The user can wait for the timeout to trigger touchpad to move the pointer. The user can wait for the timeout to trigger
to do a small scroll. */ to do a small scroll. */
#define DEFAULT_SCROLL_THRESHOLD TP_MM_TO_DPI_NORMALIZED(5) #define DEFAULT_SCROLL_THRESHOLD TP_MM_TO_DPI_NORMALIZED(3)
enum scroll_event { enum scroll_event {
SCROLL_EVENT_TOUCH, SCROLL_EVENT_TOUCH,