Improve responsiveness for Apple Magic Trackpad

The touch size threshold was too high, so occasionally libinput would
think the finger had lifted when it hadn't and events would be ignored.

Similarly, the palm threshold was too low, so occasionally libinput would
think a heavy single finger was a palm and ignored that too.

This fixes both of those issues.

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

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Daniel van Vugt 2018-04-17 10:43:32 +08:00 committed by Peter Hutterer
parent 1bd5869f19
commit d5b4558675

View file

@ -65,10 +65,11 @@ libinput:name:*Apple Inc. Apple Internal Keyboard*:dmi:*
libinput:mouse:input:b0005v05ACp030D*
LIBINPUT_MODEL_APPLE_MAGICMOUSE=1
# Magic Trackpad
# Apple Magic Trackpad v1 (2010, clickpad)
libinput:touchpad:input:b0005v05ACp030E*
LIBINPUT_ATTR_SIZE_HINT=130x110
LIBINPUT_ATTR_TOUCH_SIZE_RANGE=60:40
LIBINPUT_ATTR_TOUCH_SIZE_RANGE=20:10
LIBINPUT_ATTR_PALM_SIZE_THRESHOLD=900
libinput:touchpad:input:b0003v05ACp021A*
LIBINPUT_MODEL_APPLE_TOUCHPAD_ONEBUTTON=1