swaywm / sway

i3-compatible Wayland compositor
https://swaywm.org
MIT License
14.4k stars 1.1k forks source link

Add configuration for enabling/disabling High Resolution Scolling #7621

Open MithicSpirit opened 1 year ago

MithicSpirit commented 1 year ago
roshal commented 5 months ago

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