From f105883b25c96a2cd44c67a662309c5d992facb1 Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Tue, 17 Apr 2018 10:43:32 +0800 Subject: [PATCH] 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 --- udev/90-libinput-model-quirks.hwdb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-quirks.hwdb index 7fbccf13..d92e988c 100644 --- a/udev/90-libinput-model-quirks.hwdb +++ b/udev/90-libinput-model-quirks.hwdb @@ -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=60:10 + LIBINPUT_ATTR_PALM_SIZE_THRESHOLD=900 libinput:touchpad:input:b0003v05ACp021A* LIBINPUT_MODEL_APPLE_TOUCHPAD_ONEBUTTON=1 -- 2.17.0