ydotool icon indicating copy to clipboard operation
ydotool copied to clipboard

[BUG] Holding down mouse wheel not working

Open au-summer opened this issue 7 months ago • 2 comments

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.

au-summer avatar May 26 '25 07:05 au-summer

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.

au-summer avatar May 26 '25 12:05 au-summer

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)

abicidieeffegi avatar Jun 14 '25 14:06 abicidieeffegi