Skip to content

add volume modification by mouse scrolling#604

Closed
VladWero08 wants to merge 1 commit intoaome510:masterfrom
VladWero08:scroll-volume
Closed

add volume modification by mouse scrolling#604
VladWero08 wants to merge 1 commit intoaome510:masterfrom
VladWero08:scroll-volume

Conversation

@VladWero08
Copy link
Copy Markdown

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.

Co-authored-by: Prisacaru Bogdan-Paul <paulbp68@gmail.com>
@aome510
Copy link
Copy Markdown
Owner

aome510 commented Nov 30, 2024

@VladWero08 sorry for the late reply. Can you merge master and fix the CI?

@togalle
Copy link
Copy Markdown

togalle commented Apr 23, 2026

This seems to have been implemented already, so it can be closed?

@aome510 aome510 closed this Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Be able to bind keymaps to mouse scroll

3 participants