mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-21 19:10:42 +01:00
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 <davide@depau.eu>
(cherry picked from commit ec939611fd)
This commit is contained in:
parent
dcf05cd757
commit
c6ab679fef
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue