libinput/test
Peter Hutterer 4e1610a286 touchpad: ignore hovering touches for the software button state
If a touch started hovering in the main area, the button state would start
with AREA and never move to the real button state, despite the finger
triggering the pressure thresholds correctly in one of the areas.

This could even happen across touch sequences if a touch went below pressure
in the software button area, it changed to hovering and the button state
changed to NONE. On the next event, the touch is still hovering and the
current position of the touch is taken for the button state machine.

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

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
(cherry picked from commit c0dbd6eb38)
2017-03-08 16:42:35 +10:00
..
50-litest.conf test: Prefix litest created device names with litest 2014-06-25 11:11:45 +10:00
build-cxx.cc test: Add include from C++ build test 2014-03-29 00:51:44 +01:00
build-pedantic.c Fix a couple of coding style issues 2015-05-01 12:09:57 +10:00
litest-device-acer-hawaii-keyboard.c touchpad: if an external touchpad and keyboard share a VID/PID assume dwt 2016-12-20 10:21:43 +10:00
litest-device-acer-hawaii-touchpad.c touchpad: if an external touchpad and keyboard share a VID/PID assume dwt 2016-12-20 10:21:43 +10:00
litest-device-alps-dualpoint.c touchpad: add a model tag to mark touchpads with visible marker 2017-01-11 10:39:05 +10:00
litest-device-alps-semi-mt.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-anker-mouse-kbd.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-apple-appletouch.c touchpad: mark the Apple onebutton touchpad as clickfinger-default 2017-02-17 15:38:54 +10:00
litest-device-apple-internal-keyboard.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-apple-magicmouse.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-asus-rog-gladius.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-atmel-hover.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-bcm5974.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-calibrated-touchscreen.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-cyborg-rat-5.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-elantech-touchpad.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-generic-singletouch.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-huion-pentablet.c Fix the license for a bunch of tablet test devices 2016-12-01 11:12:09 +10:00
litest-device-keyboard-all-codes.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-keyboard-razer-blackwidow.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-keyboard.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-logitech-trackball.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-magic-trackpad.c test: mark the magic trackpad as external in udev 2016-12-20 08:53:35 +10:00
litest-device-mouse-low-dpi.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-mouse-roccat.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-mouse-wheel-click-angle.c test: fix two test udev rules 2017-02-02 11:10:36 +10:00
litest-device-mouse-wheel-click-count.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-mouse.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-ms-surface-cover.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-nexus4-touch-screen.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-protocol-a-touch-screen.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-qemu-usb-tablet.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-synaptics-hover.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-synaptics-i2c.c touchpad: add a model tag to mark touchpads with visible marker 2017-01-11 10:39:05 +10:00
litest-device-synaptics-rmi4.c test: add a synaptics RMI4 test device 2017-01-12 14:45:50 +10:00
litest-device-synaptics-st.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-synaptics-t440.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-synaptics-x1-carbon-3rd.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-synaptics.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-touch-screen.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-touchscreen-fuzz.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-trackpoint.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-vmware-virtual-usb-mouse.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-wacom-bamboo-16fg-pen.c test: rename wacom test devices to a consistent naming scheme 2017-01-16 12:11:19 +10:00
litest-device-wacom-cintiq-12wx-pen.c test: rename wacom test devices to a consistent naming scheme 2017-01-16 12:11:19 +10:00
litest-device-wacom-cintiq-13hdt-finger.c Fix the license for a bunch of tablet test devices 2016-12-01 11:12:09 +10:00
litest-device-wacom-cintiq-13hdt-pad.c Fix the license for a bunch of tablet test devices 2016-12-01 11:12:09 +10:00
litest-device-wacom-cintiq-13hdt-pen.c Fix the license for a bunch of tablet test devices 2016-12-01 11:12:09 +10:00
litest-device-wacom-cintiq-24hd-pen.c test: rename wacom test devices to a consistent naming scheme 2017-01-16 12:11:19 +10:00
litest-device-wacom-cintiq-24hdt-pad.c Fix the license for a bunch of tablet test devices 2016-12-01 11:12:09 +10:00
litest-device-wacom-ekr.c Fix the license for a bunch of tablet test devices 2016-12-01 11:12:09 +10:00
litest-device-wacom-hid4800-pen.c Fix the license for a bunch of tablet test devices 2016-12-01 11:12:09 +10:00
litest-device-wacom-intuos3-pad.c Fix the license for a bunch of tablet test devices 2016-12-01 11:12:09 +10:00
litest-device-wacom-intuos5-finger.c test: rename wacom test devices to a consistent naming scheme 2017-01-16 12:11:19 +10:00
litest-device-wacom-intuos5-pad.c Fix the license for a bunch of tablet test devices 2016-12-01 11:12:09 +10:00
litest-device-wacom-intuos5-pen.c test: rename wacom test devices to a consistent naming scheme 2017-01-16 12:11:19 +10:00
litest-device-wacom-isdv4-e6-finger.c test: rename wacom test devices to a consistent naming scheme 2017-01-16 12:11:19 +10:00
litest-device-wacom-isdv4-e6-pen.c test: rename wacom test devices to a consistent naming scheme 2017-01-16 12:11:19 +10:00
litest-device-waltop-tablet.c test: fix two test udev rules 2017-02-02 11:10:36 +10:00
litest-device-wheel-only.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-xen-virtual-pointer.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-device-yubikey.c Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-int.h Drop HAVE_CONFIG_H ifdef 2016-12-01 11:06:54 +10:00
litest-selftest.c test: fix compiler warning 2016-01-20 12:56:35 +10:00
litest.c touchpad: mark the Apple onebutton touchpad as clickfinger-default 2017-02-17 15:38:54 +10:00
litest.h touchpad: mark the Apple onebutton touchpad as clickfinger-default 2017-02-17 15:38:54 +10:00
Makefile.am touchpad: mark the Apple onebutton touchpad as clickfinger-default 2017-02-17 15:38:54 +10:00
symbols-leak-test.in add simple symbols leak checker 2015-02-13 10:20:44 +10:00
test-device.c test: prefix all test source files with "test-" 2017-01-16 08:59:00 +10:00
test-gestures.c test: prefix all test source files with "test-" 2017-01-16 08:59:00 +10:00
test-keyboard.c test: prefix all test source files with "test-" 2017-01-16 08:59:00 +10:00
test-log.c test: prefix all test source files with "test-" 2017-01-16 08:59:00 +10:00
test-misc.c test: prefix all test source files with "test-" 2017-01-16 08:59:00 +10:00
test-pad.c test: prefix all test source files with "test-" 2017-01-16 08:59:00 +10:00
test-path.c test: prefix all test source files with "test-" 2017-01-16 08:59:00 +10:00
test-pointer.c touchpad: mark the Apple onebutton touchpad as clickfinger-default 2017-02-17 15:38:54 +10:00
test-tablet.c test: remove tablet axis normalization test 2017-01-16 09:11:41 +10:00
test-touch.c test: prefix all test source files with "test-" 2017-01-16 08:59:00 +10:00
test-touchpad-buttons.c touchpad: ignore hovering touches for the software button state 2017-03-08 16:42:35 +10:00
test-touchpad-tap.c test: prefix all test source files with "test-" 2017-01-16 08:59:00 +10:00
test-touchpad.c touchpad: reduce minimum height for horiz edge scrolling to 40mm 2017-03-08 16:41:49 +10:00
test-trackball.c test: prefix all test source files with "test-" 2017-01-16 08:59:00 +10:00
test-trackpoint.c test: prefix all test source files with "test-" 2017-01-16 08:59:00 +10:00
test-udev.c test: prefix all test source files with "test-" 2017-01-16 08:59:00 +10:00
valgrind.suppressions Merge branch 'master' into tablet-support 2015-05-22 14:21:21 +10:00