Skip to content

Conversation

@VladWero08
Copy link

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 <[email protected]>
@aome510
Copy link
Owner

aome510 commented Nov 30, 2024

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

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

2 participants