From f6caae2289b543412e4bd435435a8fffe1c15b9f Mon Sep 17 00:00:00 2001 From: Marien Zwart Date: Sat, 8 Nov 2025 14:43:44 +1100 Subject: [PATCH] quirks: add quirk for MX Master 4 The scrollwheels are similar to the MX Master 3, and need the same quirks: the horizontal wheel events are inverted (it scrolls "naturally" by default while the horizontal scrollwheel direction is "traditional"), and middle-clicking without scrolling is very difficult with high-res scroll events (from the hid_logitech_hidpp kernel module) enabled. This adds the device ID seen through Bluetooth, which seems to be the only one we can add a quirk for: - When connected using the Bolt receiver, there is no separate device ID for the mouse (just the same 046d:c548 ID for the receiver already documented as supporting multiple mice). - When connected through USB, the mouse charges but does not provide HID events through USB (it can be used while charging but only by using a separate Bluetooth or Bolt connection for HID). Part-of: --- quirks/30-vendor-logitech.quirks | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/quirks/30-vendor-logitech.quirks b/quirks/30-vendor-logitech.quirks index b96876b8..01216d6f 100644 --- a/quirks/30-vendor-logitech.quirks +++ b/quirks/30-vendor-logitech.quirks @@ -116,6 +116,12 @@ MatchProduct=0xB028 ModelInvertHorizontalScrolling=1 ModelScrollOnMiddleClick=1 +[Logitech MX Master 4] +MatchVendor=0x046D +MatchProduct=0xB042 +ModelInvertHorizontalScrolling=1 +ModelScrollOnMiddleClick=1 + # Don't add quirks for the Logitech Bolt Receiver: # MatchVendor=0x046D # MatchProduct=0xC548