sway
sway copied to clipboard
Add configuration for enabling/disabling High Resolution Scolling
-
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.
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