From 5fbf8e501d7364aa27c532487077c1008d328749 Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Tue, 27 Feb 2018 15:51:39 +0800 Subject: [PATCH] Fix Apple Magic Trackpad sensitivity It's a large, very sensitive piece of glass. So the old touch size thresholds were way too big and caused many touches to be ignored. Single finger touches are known to range from size 20 to almost 900 on this touchpad. So lower the single finger threshold to 20 and raise the palm rejection threshold to 1000. Palm rejection isn't really useful here since there is no keyboard and thus no reason to have your palm on the touchpad. https://bugs.freedesktop.org/show_bug.cgi?id=103572 --- udev/90-libinput-model-quirks.hwdb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-quirks.hwdb index e8e3f43c..a8753eb8 100644 --- a/udev/90-libinput-model-quirks.hwdb +++ b/udev/90-libinput-model-quirks.hwdb @@ -65,8 +65,12 @@ libinput:name:*Apple Inc. Apple Internal Keyboard*:dmi:* libinput:mouse:input:b0005v05ACp030D* LIBINPUT_MODEL_APPLE_MAGICMOUSE=1 +# Apple Magic Trackpad +# Note: There is no keyboard above the trackpad so palm rejection isn't needed libinput:touchpad:input:b0005v05ACp030E* LIBINPUT_ATTR_SIZE_HINT=130x110 + LIBINPUT_ATTR_TOUCH_SIZE_RANGE=20:10 + LIBINPUT_ATTR_PALM_SIZE_THRESHOLD=1000 libinput:touchpad:input:b0003v05ACp021A* LIBINPUT_MODEL_APPLE_TOUCHPAD_ONEBUTTON=1 -- 2.15.1