Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Mouse{Left,Right,Middle,Back,Forward} binds #865

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

bbb651
Copy link
Contributor

@bbb651 bbb651 commented Dec 13, 2024

I'm not entirely sure about the name, I originally named everything with Pointer because it's technically more correct, but I think it made it less clear.

I don't know the history behind BTN_BACK == BTN_SIDE and BTN_FORWARD == BTN_EXTRA, but everyone seems to be doing it so if it's "wrong" it's better for compatability. It's my fault it's like that on winit too :P

Fixes #761.

I don't know the history behind `BTN_BACK == BTN_SIDE` and `BTN_FORWARD == BTN_EXTRA`,
but everyone seems to be doing it so if it's "wrong" it's better for compatability.
It's my fault it's like that on winit too :P

Fixes YaLTeR#761.
src/input/mod.rs Outdated Show resolved Hide resolved
src/niri.rs Show resolved Hide resolved
src/input/mod.rs Show resolved Hide resolved
@bbb651
Copy link
Contributor Author

bbb651 commented Dec 15, 2024

I think this should be ready to merge

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.

Allow mouse buttons bindings
2 participants