quirks: Add quirks for Surface Laptop Studio touchpad
authorMaximilian Luz <luzmaximilian@gmail.com>
Mon, 4 Jul 2022 23:24:21 +0000 (01:24 +0200)
committerJosé Expósito <jose.exposito89@gmail.com>
Sun, 10 Jul 2022 18:25:22 +0000 (18:25 +0000)
The touchpad on the Microsoft Surface Laptop Studio is force-sensitive.
The default values used by libinput do not seem to work well (causing
touches to not be recognized), so configure it with known-good values.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
quirks/30-vendor-microsoft.quirks

index 4b38b4c..b5fb914 100644 (file)
@@ -20,6 +20,13 @@ MatchName=*Microsoft Surface *Cover*
 MatchDMIModalias=dmi:*svnMicrosoftCorporation:*
 AttrKeyboardIntegration=internal
 
+[Microsoft Surface Laptop Studio Touchpad]
+MatchVendor=0x045E
+MatchProduct=0x09AF
+MatchUdevType=touchpad
+AttrPressureRange=25:10
+AttrPalmPressureThreshold=500
+
 [Microsoft Nano Transceiver v2.0]
 MatchUdevType=mouse
 MatchBus=usb