libinput/src
Peter Hutterer 182b7b7da9 touchpad: fix double/multitap timeouts
The current doubletap timeout was incorrect, it gave the user only 180ms to
touch, release, touch, release to recognise a doubletap. But it would also set
a timeout on the second release, delaying the button events by 180ms.

Instead, re-arm the timer on the second touch down. This gives the user 180ms
to release and touch again (or time out). This makes doubletap much more
reliable and reduces the delay between the release and the button events
arriving since the finger down time is already counted.

Same fix for MULTITAP, though we already armed the timer on touch down so we
just have to remove the new timer on touch release which did little but delay
everything.

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

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-05-04 10:22:58 +10:00
..
evdev-middle-button.c evdev: add support for middle button emulation 2015-04-17 12:50:03 +10:00
evdev-mt-touchpad-buttons.c touchpad: allow BTN_LEFT in clickfinger mode without touches 2015-04-27 09:04:27 +10:00
evdev-mt-touchpad-edge-scroll.c touchpad: add state debugging to the edge scroll state machine 2015-04-09 07:52:19 +10:00
evdev-mt-touchpad-gestures.c touchpad: Only use slot 0 deltas for 2fg scrolling on semi-mt touchpads 2015-04-27 11:08:52 +10:00
evdev-mt-touchpad-tap.c touchpad: fix double/multitap timeouts 2015-05-04 10:22:58 +10:00
evdev-mt-touchpad.c evdev: use a different filter for low resolution touchpad on the Lenovo X230 2015-04-27 10:00:10 +10:00
evdev-mt-touchpad.h touchpad: introduce MULTITAP for multi-tap-and-drag 2015-04-17 12:59:22 +10:00
evdev.c Set O_CLOEXEC when opening devices 2015-05-01 08:56:11 +10:00
evdev.h evdev: use a different filter for low resolution touchpad on the Lenovo X230 2015-04-27 10:00:10 +10:00
filter-private.h filter: switch to normalized_coords 2015-03-19 12:06:48 +10:00
filter.c evdev: use a different filter for low resolution touchpad on the Lenovo X230 2015-04-27 10:00:10 +10:00
filter.h evdev: use a different filter for low resolution touchpad on the Lenovo X230 2015-04-27 10:00:10 +10:00
libinput-private.h Add middle mouse button emulation config options 2015-04-17 12:49:43 +10:00
libinput-util.c evdev: Add support for POINTINGSTICK_CONST_ACCEL udev property 2015-04-22 09:35:28 +02:00
libinput-util.h evdev: Add support for POINTINGSTICK_CONST_ACCEL udev property 2015-04-22 09:35:28 +02: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 Add libinput_device_keyboard_has_key() 2015-04-23 10:32:31 +10:00
libinput.h Add libinput_device_keyboard_has_key() 2015-04-23 10:32:31 +10:00
libinput.pc.in Add -lrt to the libs 2014-07-03 09:59:43 +10:00
libinput.sym Add libinput_device_keyboard_has_key() 2015-04-23 10:32:31 +10:00
Makefile.am evdev: add support for middle button emulation 2015-04-17 12:50:03 +10: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 timer: set O_NONBLOCK on the timerfd 2015-05-01 09:09:38 +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