summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaximilian Luz <luzmaximilian@gmail.com>2022-07-05 01:24:21 +0200
committerJosé Expósito <jose.exposito89@gmail.com>2022-07-10 18:25:22 +0000
commitad95d68f479c835c76b42b342e46ee7115bed6eb (patch)
tree29e926513a6b5dae318ad19815bef8359a5eabbb
parentd137c41319fd06acd3ef04ffdf4be3d1d10f8086 (diff)
downloadlibinput-ad95d68f479c835c76b42b342e46ee7115bed6eb.tar.gz
quirks: Add quirks for Surface Laptop Studio touchpad
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>
-rw-r--r--quirks/30-vendor-microsoft.quirks7
1 files changed, 7 insertions, 0 deletions
diff --git a/quirks/30-vendor-microsoft.quirks b/quirks/30-vendor-microsoft.quirks
index 4b38b4c3..b5fb9146 100644
--- a/quirks/30-vendor-microsoft.quirks
+++ b/quirks/30-vendor-microsoft.quirks
@@ -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