-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Allow mouse buttons bindings #761
Comments
I made a simple script that I'm working on to work around this issue. It uses
|
I also need this as I just got a mouse with these two buttons. Is it a simple change? @YaLTeR |
It is not a very simple change, a lot of types there are hardcoded for keyboard. |
I guess @Paul-Eau's workaround looks good then until this gets done properly. Edit: I just tested it and it causes firefox to go back and forth in the tab history. Any suggestions to solve this with/without grabbing the mouse exclusively? |
In about:config set |
I don't know the history behind `BTN_BACK == BTN_SIDE` and `BTN_FORWARD == BTN_EXTRA`, but evcompatibilityeryone 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.
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.
From what I can tell, it's currently impossible to bind a mouse button to an action. For my use, I wish to use the next/previous (side/extra, 275, 276 as reported by wev) button (with
M+
) to focus left/right columns.The issue seems to be in the
Trigger
enum which only defines keysyms and scroll triggers.System Information
niri unstable 2024-10-06 (commit 5fc669c)
Void Linux + Home-Manager (niri installed through niri.flake)
Intel TigerLake-LP GT2
Intel i7-1165G7
The text was updated successfully, but these errors were encountered: