libinput/test
Peter Hutterer 8fa5d0bf51 touchpad: disable tapping for fingers exceeding the timeout/motion threshold
The current code triggers multi-finger tapping even if the finger released was
previously held on the touchpad for a while. For an event sequence of:
1. first finger down
2. first finger move past threshold/wait past timeout
3. second finger down
4. first finger up

The second finger initiates the two-finger tap state, but the button event is
sent when the first finger releases - despite that finger not meeting the
usual tap constraints. This sequence can happen whenever a user swaps fingers.

Add the finger state to the actual touchpoints and update them whenever the
constrains are broken. Then, discard button events if the respective touch
did not meet the conditions.

http://bugs.freedesktop.org/76760

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2014-07-02 08:12:37 +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 test: add a build-test for -pedantic 2014-01-15 11:26:08 +10:00
keyboard.c Merge branch 'ref-counting-context' 2014-06-25 10:32:42 +10:00
litest-bcm5974.c test: add a bunch of test for click behavior on touchpads 2014-06-12 10:29:26 +10:00
litest-int.h test: allow for description-based test devices 2014-04-08 15:07:02 +10:00
litest-keyboard.c test: drop unused includes for libinput-util.h 2014-06-11 09:43:52 +10:00
litest-mouse.c test: drop unused includes for libinput-util.h 2014-06-11 09:43:52 +10:00
litest-synaptics-st.c test: drop unused includes for libinput-util.h 2014-06-11 09:43:52 +10:00
litest-synaptics-t440.c test: Add description for the T440 synaptics touchpad 2014-06-12 10:29:26 +10:00
litest-synaptics.c test: drop unused includes for libinput-util.h 2014-06-11 09:43:52 +10:00
litest-trackpoint.c test: drop unused includes for libinput-util.h 2014-06-11 09:43:52 +10:00
litest-wacom-touch.c test: drop unused includes for libinput-util.h 2014-06-11 09:43:52 +10:00
litest.c test: Prefix litest created device names with litest 2014-06-25 11:11:45 +10:00
litest.h test: Add description for the T440 synaptics touchpad 2014-06-12 10:29:26 +10:00
log.c Merge branch 'ref-counting-context' 2014-06-25 10:32:42 +10:00
Makefile.am test/Makefile.am: Also add LIBUDEV_CFLAGS to AM_CPPFLAGS 2014-06-28 22:40:54 +02:00
misc.c test: Add context reference counting test 2014-06-25 10:27:03 +10:00
path.c Make context reference counted 2014-06-25 10:27:03 +10:00
pointer.c Make context reference counted 2014-06-25 10:27:03 +10:00
touch.c Use floating point numbers instead of fixed point numbers 2014-06-09 20:46:53 +02:00
touchpad.c touchpad: disable tapping for fingers exceeding the timeout/motion threshold 2014-07-02 08:12:37 +10:00
udev.c Merge branch 'ref-counting-context' 2014-06-25 10:32:42 +10:00
valgrind.suppressions test: automatically run the tests against valgrind for leaks 2014-04-10 11:11:56 +10:00