pitkley.dev

Disable Logitech high-resolution smooth scrolling under Linux

I had problems with libinput's high-resolution/smooth scrolling feature introduced in v1.19 in certain applications, using a Logitech MX Master 3. Following this Reddit comment and from v1.23 onwards this Reddit comment, I did the following:

  • Create/modify /etc/libinput/local-overrides.quirks and add the following:

      [Logitech MX Master 3]
      MatchVendor=0x46D
      MatchProduct=0x4082
      ModelInvertHorizontalScrolling=1
      AttrEventCode=-REL_WHEEL_HI_RES;-REL_HWHEEL_HI_RES;
      
      # MX Master 3 has a different PID on bluetooth
      [Logitech MX Master 3]
      MatchVendor=0x46D
      MatchProduct=0xB023
      ModelInvertHorizontalScrolling=1
      AttrEventCode=-REL_WHEEL_HI_RES;-REL_HWHEEL_HI_RES;
      
      [Logitech MX Master 3]
      MatchVendor=0x46D
      MatchProduct=0x4082
      ModelInvertHorizontalScrolling=1
      AttrEventCodeDisable=REL_WHEEL_HI_RES;REL_HWHEEL_HI_RES;
      
      # MX Master 3 has a different PID on bluetooth
      [Logitech MX Master 3]
      MatchVendor=0x46D
      MatchProduct=0xB023
      ModelInvertHorizontalScrolling=1
      AttrEventCodeDisable=REL_WHEEL_HI_RES;REL_HWHEEL_HI_RES;
      

    1. Reboot.