mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-06 10:40:11 +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>
This commit is contained in:
parent
788c7179a4
commit
ec939611fd
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