From ad95d68f479c835c76b42b342e46ee7115bed6eb Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Tue, 5 Jul 2022 01:24:21 +0200 Subject: [PATCH] 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 --- quirks/30-vendor-microsoft.quirks | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/quirks/30-vendor-microsoft.quirks b/quirks/30-vendor-microsoft.quirks index 4b38b4c..b5fb914 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 -- 2.7.4