summaryrefslogtreecommitdiff
path: root/quirks
diff options
context:
space:
mode:
authorBlaž Hrastnik <blaz@mxxn.io>2020-12-15 12:39:23 +0900
committerBlaž Hrastnik <blaz@mxxn.io>2020-12-15 12:42:25 +0900
commitaec8e0b4ef00f46e964a0053b98638fa72701543 (patch)
tree55331c7b3ae40ee53fd8177c5cb78650cf3e5775 /quirks
parent535f92a5466e61bf1f19596498db2c966eac27d7 (diff)
downloadlibinput-aec8e0b4ef00f46e964a0053b98638fa72701543.tar.gz
Match all Surface (Pro/Laptop/Book) devices.
Signed-off-by: Blaž Hrastnik <blaz@mxxn.io>
Diffstat (limited to 'quirks')
-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]