libinput/udev
Peter Hutterer 25d54b90db touchpad: add pressure-base palm detection
If a touch goes past the fixed pressure threshold it is labelled as a palm and
stays a palm. Default value is one that works well here on a T440 and is
virtually impossible to trigger by a normal finger or thumb. A udev property
is exposed so we can handle this in the udev hwdb and the new tool introduce a
few commits ago can help finding the palm detection threshold.

Unlike the other palm detection features, once a palm goes past the threshold
it remains a palm until the touch is released. This means palm overrides any
other palm detection features. For code simplicity, we don't combine the
states but merely check for pressure before and after the other palm detection
functions. If the pressure triggers, it will trigger before anything else. And
if something else is already active (e.g. edge where the pressure doesn't work
well) it will trigger as soon as the palm is released.

The palm threshold should thus be chosen with some room to spare between the
highest finger pressure.

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

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-07-03 15:58:13 +10:00
..
.gitignore Ignore test devices for libinput contexts not run from the test suite 2015-07-28 17:42:32 +08:00
80-libinput-device-groups.rules.in udev: don't overwrite a previously set device group 2016-08-01 07:13:05 +10:00
80-libinput-test-device.rules Ignore test devices for libinput contexts not run from the test suite 2015-07-28 17:42:32 +08:00
90-libinput-model-quirks.hwdb touchpad: add pressure-base palm detection 2017-07-03 15:58:13 +10:00
90-libinput-model-quirks.rules.in udev: Add support for device-tree-based model selection 2017-06-07 09:32:24 +10:00
libinput-device-group.c udev: check wacom devices for a paired product id 2016-08-03 14:06:48 +10:00
libinput-model-quirks.c touchpad: init a default hysteresis for ALPS rushmore touchpads 2016-02-10 08:08:31 +10:00
Makefile.am udev: move TEST_EXTENSIONS out of the conditional 2016-11-22 11:23:39 +10:00
parse_hwdb.py touchpad: add pressure-base palm detection 2017-07-03 15:58:13 +10:00