From ec939611fd2bda5bf379d79295a0c9b4282e3b23 Mon Sep 17 00:00:00 2001 From: Davide Depau Date: Sat, 12 Sep 2020 17:21:59 +0200 Subject: [PATCH] quirks: fix force-press on Apple Magic Trackpad 2 The current defaults detect force presses as palm or thumb. The values provided here work for a 99% accurate palm/thumb detection and provide close zero false positives in my tests. Signed-off-by: Davide Depau --- quirks/50-system-apple.quirks | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/quirks/50-system-apple.quirks b/quirks/50-system-apple.quirks index f3d57fb7..3d42c8c3 100644 --- a/quirks/50-system-apple.quirks +++ b/quirks/50-system-apple.quirks @@ -57,7 +57,8 @@ MatchProduct=0x0265 AttrSizeHint=162x115 AttrTouchSizeRange=20:10 AttrPalmSizeThreshold=900 -AttrThumbSizeThreshold=700 +AttrThumbSizeThreshold=800 +AttrPalmPressureThreshold=190 [Apple Magic Trackpad v2 (new vendor ID)] MatchVendor=0x004C @@ -65,7 +66,8 @@ MatchProduct=0x0265 AttrSizeHint=162x115 AttrTouchSizeRange=20:10 AttrPalmSizeThreshold=900 -AttrThumbSizeThreshold=700 +AttrThumbSizeThreshold=800 +AttrPalmPressureThreshold=190 [Apple Touchpad OneButton] MatchUdevType=touchpad