From aac0d3c2f8121e1a45eaa4f623adbc5434d7a1dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= Date: Thu, 23 Oct 2025 15:02:44 +0200 Subject: [PATCH] quirks: Avoid accidental scroll for Logitech MX Master 2S Similar to the MX Master 3, this mouse can send scroll events when the wheel is pressed. Add the "ModelScrollOnMiddleClick" quirk to avoid it. Closes: https://gitlab.freedesktop.org/libinput/libinput/-/issues/1181 Part-of: --- quirks/30-vendor-logitech.quirks | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quirks/30-vendor-logitech.quirks b/quirks/30-vendor-logitech.quirks index dcab550d..b96876b8 100644 --- a/quirks/30-vendor-logitech.quirks +++ b/quirks/30-vendor-logitech.quirks @@ -82,12 +82,14 @@ ModelInvertHorizontalScrolling=1 MatchVendor=0x046D MatchProduct=0x4069 ModelInvertHorizontalScrolling=1 +ModelScrollOnMiddleClick=1 # MX Master 2S has a different PID on bluetooth [Logitech MX Master 2S Bluetooth] MatchVendor=0x046D MatchProduct=0xB019 ModelInvertHorizontalScrolling=1 +ModelScrollOnMiddleClick=1 [Logitech MX Master 3 USB] MatchVendor=0x046D