sway icon indicating copy to clipboard operation
sway copied to clipboard

Add configuration for enabling/disabling High Resolution Scolling

Open MithicSpirit opened this issue 1 year ago • 1 comments

  • Description: Libinput on X11 provides the option to enable or disable HighResolutionWheelScrolling (see libinput(4)). I would like it if sway provided a way to do this for X11/i3 compatibility, as I prefer to leave it disabled on my mouse.

MithicSpirit avatar Jun 03 '23 16:06 MithicSpirit

as a workaround you can disable REL_WHEEL_HI_RES event via libinput device quirks

https://wayland.freedesktop.org/libinput/doc/latest/device-quirks.html

reference to libinput quirks

https://gitlab.freedesktop.org/libinput/libinput/blob/main/quirks

reference to libratbag devices

https://github.com/libratbag/libratbag/tree/master/data/devices

/etc/libinput/local-overrides.quirks

[Logitech MX Master 3 USB]
MatchUdevType=mouse
MatchBus=usb
MatchVendor=0x046D
MatchProduct=0x4082
AttrEventCode=-REL_WHEEL_HI_RES

restart sway to get libinput device overrides

roshal avatar Mar 26 '24 08:03 roshal