libinput/test
Peter Hutterer 858f009565 touchpad: don't init edge palm detection on touchpads less than 8cm across
On small touchpads, a touch that intends to go across the width of the
touchpad is likely to start in the edge zone. Likewise, on those touchpads the
chances of a palm event happening on the edge is small.

A minimum width of 8cm determined by an elaborate process of completely
unscientific guesswork: the x220 is roughly 7.5cm across and doesn't suffer
much from edge events, the T440s is 10cm across and definitely suffers from
it. So the trigger width likely somewhere in between which makes 8cm about as
valid as any other guess.

Note that this disables palm detection for resolution-less touchpads too - if
we don't know how big the touchpad is we can't know if palm detection on the
edges is necessary.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2014-07-21 08:56:12 +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 test: prefix custom test devices with "litest" 2014-07-04 07:57:59 +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: widen litest to use doubles for scaled variables 2014-07-21 08:56:10 +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: fix resolution on T440s multitouch axes 2014-07-16 14:29:39 +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: set the abs resolution after creating the device 2014-07-21 08:56:12 +10:00
litest.h test: widen litest to use doubles for scaled variables 2014-07-21 08:56:10 +10:00
log.c Merge branch 'ref-counting-context' 2014-06-25 10:32:42 +10:00
Makefile.am configure.ac: Add subdir-objects to AM_INIT_AUTOMAKE paramaters 2014-07-15 23:44:50 +02:00
misc.c test: prefix custom test devices with "litest" 2014-07-04 07:57:59 +10:00
path.c Make context reference counted 2014-06-25 10:27:03 +10:00
pointer.c test: fix expected delta from relative motion 2014-07-09 12:39:45 +10:00
touch.c test: fix x/y resolution for a test device 2014-07-16 14:29:44 +10:00
touchpad.c touchpad: don't init edge palm detection on touchpads less than 8cm across 2014-07-21 08:56:12 +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