spotify-player
spotify-player copied to clipboard
add volume modification by mouse scrolling
Resolves #446
In this PR we have added two more mouse event listeners, for scroll up and for scroll down of the mouse's wheel. This event listeners should only work if the keymap.toml has the following two entries:
[[keymaps]]
command = "VolumeUp"
key_sequence = "m s u"
[[keymaps]]
command = "VolumeDown"
key_sequence = "m s d"
where m s u stands for MouseScrollUp and m s d for MouseScrollDown.
Instead of mixing the key_sequence configuration with the mouse movements, we think that it would be useful to have a separate configuration for mouse events.
@VladWero08 sorry for the late reply. Can you merge master and fix the CI?