summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik <blaz@mxxn.io>2020-12-15 12:39:23 +0900
committerPeter Hutterer <peter.hutterer@who-t.net>2020-12-17 14:24:28 +1000
commitd90af8ab147b3795b8c6a8e3bf62351b4d22eefd (patch)
tree232fcffeb413015b4211f387a8744fe87fcd465f
parent173599e7b9783ed4952cb3d61cce55ec12d68b54 (diff)
downloadlibinput-d90af8ab147b3795b8c6a8e3bf62351b4d22eefd.tar.gz
Match all Surface (Pro/Laptop/Book) devices.
Signed-off-by: Blaž Hrastnik <blaz@mxxn.io> (cherry picked from commit aec8e0b4ef00f46e964a0053b98638fa72701543)
-rw-r--r--quirks/30-vendor-microsoft.quirks11
1 files changed, 8 insertions, 3 deletions
diff --git a/quirks/30-vendor-microsoft.quirks b/quirks/30-vendor-microsoft.quirks
index 36eb9927..00f755e1 100644
--- a/quirks/30-vendor-microsoft.quirks
+++ b/quirks/30-vendor-microsoft.quirks
@@ -5,9 +5,14 @@ MatchName=*Lid Switch*
MatchDMIModalias=dmi:*svnMicrosoftCorporation:pnSurface3:*
AttrLidSwitchReliability=write_open
-[Microsoft Surface 3 Type Cover Keyboard]
-MatchName=*Microsoft Surface Type Cover Keyboard*
-MatchDMIModalias=dmi:*svnMicrosoftCorporation:pnSurface3:*
+# Matches both Surface Laptop keyboards as well as type covers.
+# i.e.
+# - Surface 3: Microsoft Surface 3 Type Cover Keyboard
+# - Surface Laptop 3: Microsoft Surface 045E:09AE Keyboard
+# - Surface Book 2: Microsoft Surface Keyboard
+[Microsoft Surface Keyboard]
+MatchName=*Microsoft Surface *Keyboard*
+MatchDMIModalias=dmi:*svnMicrosoftCorporation:*
AttrKeyboardIntegration=internal
[Microsoft Nano Transceiver v2.0]