ydotool
ydotool copied to clipboard
[BUG] Holding down mouse wheel not working
For example, in hyprland (wayland) the following config that emulates holding down the mouse wheel is not working.
binde = Alt, J, exec, ydotool mousemove -w -x 0 -y -1
which should work as repeating the key J after holding it for a short period.
Update: Mousemove works in general. Only mousemove -w is not working.
For example,
binde = Alt, J, exec, ydotool mousemove -x 0 -y 100
works well when I am holding the keybind.
I think this has something to do with the modifier key, for example:
binde = Shift, XF86AudioRaiseVolume, exec, ydotool mousemove -w -x 0 -y 1
does not work (scrolls horizontaly when available), but
binde = Shift, XF86AudioRaiseVolume, exec, ydotool mousemove -w -x 0 -y 1
works perfectly. (I am trying to use my keyboard's volume wheel to scroll)