diff options
author | Yariv Barkan <oigevald+libinput@gmail.com> | 2020-06-13 17:34:59 +0300 |
---|---|---|
committer | Yariv Barkan <oigevald+libinput@gmail.com> | 2020-06-17 09:46:59 +0300 |
commit | 84b3b1731aab82389887a1d6dece3afee3d84c89 (patch) | |
tree | 686b4f5f80f57177ff84f08cd0aabf54b96a3e61 /quirks | |
parent | 600a0334a75e986c51a60ad32d58b019d07ea58c (diff) | |
download | libinput-84b3b1731aab82389887a1d6dece3afee3d84c89.tar.gz |
quirks: fix Apple external trackpad v2 thresholds
The external Apple "Magic" trackpads, both the first and the second
generations, have pretty good built-in spurious touch filtering. For
these device models libinput's own filtering is not required. Using low
enough values such as 20:10 effectively disables libinput's filtering.
Signed-off-by: Yariv Barkan <oigevald+libinput@gmail.com>
Diffstat (limited to 'quirks')
-rw-r--r-- | quirks/50-system-apple.quirks | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/quirks/50-system-apple.quirks b/quirks/50-system-apple.quirks index b104f0ab..f3d57fb7 100644 --- a/quirks/50-system-apple.quirks +++ b/quirks/50-system-apple.quirks @@ -37,6 +37,9 @@ MatchVendor=0x05AC MatchProduct=0x030D AttrEventCodeDisable=EV_ABS +# The External Apple "Magic" trackpads, both the 1st and 2nd generations, have +# pretty good built-in spurious touch filtering in the device firmware. Using +# low enough values such as 20:10 effectively disables libinput's filtering. [Apple Magic Trackpad v1 (2010, clickpad)] MatchUdevType=touchpad MatchBus=bluetooth @@ -47,6 +50,23 @@ AttrTouchSizeRange=20:10 AttrPalmSizeThreshold=900 AttrThumbSizeThreshold=700 +# 2nd generation trackpad can be connected over Bluetooth as well as USB. +[Apple Magic Trackpad v2 (2015)] +MatchVendor=0x05AC +MatchProduct=0x0265 +AttrSizeHint=162x115 +AttrTouchSizeRange=20:10 +AttrPalmSizeThreshold=900 +AttrThumbSizeThreshold=700 + +[Apple Magic Trackpad v2 (new vendor ID)] +MatchVendor=0x004C +MatchProduct=0x0265 +AttrSizeHint=162x115 +AttrTouchSizeRange=20:10 +AttrPalmSizeThreshold=900 +AttrThumbSizeThreshold=700 + [Apple Touchpad OneButton] MatchUdevType=touchpad MatchBus=usb |