From 9eae99d4feabd27c318564a66fa676ead87a64d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Santamar=C3=ADa=20Rogado?= Date: Fri, 20 Feb 2026 03:27:44 +0100 Subject: [PATCH] quirks: microsoft surface keyboard event BTN_0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apply AttrEventCode=-BTN_0 to all surface keyboards. Fixes: #1251. Signed-off-by: David SantamarĂ­a Rogado Part-of: --- quirks/30-vendor-microsoft.quirks | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/quirks/30-vendor-microsoft.quirks b/quirks/30-vendor-microsoft.quirks index dc3a1382..96d1dbf7 100644 --- a/quirks/30-vendor-microsoft.quirks +++ b/quirks/30-vendor-microsoft.quirks @@ -11,15 +11,10 @@ AttrLidSwitchReliability=write_open # - Surface Laptop 3: Microsoft Surface 045E:09AE Keyboard # - Surface Book 2: Microsoft Surface Keyboard [Microsoft Surface Keyboard] -MatchName=*Microsoft Surface *Keyboard* +MatchName=Microsoft Surface *Keyboard MatchDMIModalias=dmi:*:svnMicrosoftCorporation:* -AttrKeyboardIntegration=internal - -[Microsoft Surface Cover] -MatchName=*Microsoft Surface *Cover* -MatchDMIModalias=dmi:*:svnMicrosoftCorporation:* -AttrKeyboardIntegration=internal AttrEventCode=-BTN_0; +AttrKeyboardIntegration=internal [Microsoft Surface Laptop Studio Touchpad] MatchVendor=0x045E