From 18e1f47eef83981ca4c0ca2f30eb6dcb014068eb 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..9eac8f42 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=20:10 + LIBINPUT_ATTR_PALM_SIZE_THRESHOLD=900 libinput:touchpad:input:b0003v05ACp021A* LIBINPUT_MODEL_APPLE_TOUCHPAD_ONEBUTTON=1 -- 2.17.0