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: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1343>
This commit is contained in:
José Expósito 2025-10-23 15:02:44 +02:00 committed by Marge Bot
parent 327db95a7c
commit aac0d3c2f8

View file

@ -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