libinput/test
Peter Hutterer 7d314738fb touchpad: be smarter about clickfinger thumb detection
Watching a colleague try clickfinger right-click after enabling it the first
time showed that the vertical distance is too small. Increase it to 30mm
instead.

Increase the allowed spread between fingers to 40x30mm, but check if one of
the fingers is in the bottom-most 20mm of the touchpad. If that's the case,
and the touchpad is large enough to be feasable for resting a thumb on it,
discard the finger for clickfinger count.

If both fingers are in that area or one finger is in the area and they're
really close together, the fingers count separately and are not regarded as
thumb.

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

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-07-09 11:24:17 +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
device.c test: add some tests for udev tagging 2015-07-03 09:44:04 +10:00
keyboard.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-alps-dualpoint.c test: add ALPS DualPoint device 2015-06-22 08:08:44 +10:00
litest-alps-semi-mt.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-atmel-hover.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-bcm5974.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-generic-singletouch.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-int.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-keyboard-razer-blackwidow.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-keyboard.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-logitech-trackball.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-mouse-low-dpi.c test: add a low-dpi mouse test device 2015-07-02 13:03:43 +10:00
litest-mouse-roccat.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-mouse.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-ms-surface-cover.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-nexus4-touch-screen.c litest: add nexus4 style touch screen without orientation 2015-07-07 17:49:15 +10:00
litest-protocol-a-touch-screen.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-qemu-usb-tablet.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-selftest.c litest: floating point comparison macros 2015-07-07 17:49:17 +10:00
litest-synaptics-hover.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-synaptics-st.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-synaptics-t440.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-synaptics-x1-carbon-3rd.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-synaptics.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-touch-screen.c litest: add a generic multitouch screen 2015-07-07 17:49:14 +10:00
litest-trackpoint.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-vmware-virtual-usb-mouse.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-wacom-intuos-finger.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-wacom-touch.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-wheel-only.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest-xen-virtual-pointer.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
litest.c litest: add nexus4 style touch screen without orientation 2015-07-07 17:49:15 +10:00
litest.h litest: floating point comparison macros 2015-07-07 17:49:17 +10:00
log.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
Makefile.am litest: add nexus4 style touch screen without orientation 2015-07-07 17:49:15 +10:00
misc.c test: group the parser tests together 2015-06-30 13:32:17 +10:00
path.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
pointer.c test: add a test for 0/0 relative motion events 2015-07-03 09:44:04 +10:00
symbols-leak-test.in add simple symbols leak checker 2015-02-13 10:20:44 +10:00
touch.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
touchpad-tap.c touchpad: disable tap drag lock by default 2015-06-29 07:52:41 +10:00
touchpad.c touchpad: be smarter about clickfinger thumb detection 2015-07-09 11:24:17 +10:00
trackpoint.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
udev.c COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
valgrind.suppressions test: add a backtrace facility to litest 2015-05-18 20:55:48 +10:00