-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
BUG: jadx-gui: invalid mapping for horizontal scroll wheel and forward mouse button #1718
Comments
Unfortunately, I don't find any method in java Swing/AWT to get actions bound to mouse buttons. So jadx-gui using raw mouse button numbers (here), and this approach is very limited. Only way to fix that is to allow user to change keybindings (already requested in #1479). Anyway, I will try to search any other solution, maybe I missed something 👍 |
Just discovered jadx recently and having a lot of fun with it. Unfortunately this issue is really bugging me as the sensitivity on the MX Master (1) seems to be quite high. Thank you for this piece of software anyway it's really great to have a good free alternative to JEB |
About this
The issue is here
On Linux Mint, I logged the value of rawButton when I scroll horizontally and the results are:
From AWT documentation
So it's wrong to assume the type of the button from It's better to let the user simulate the input himself if he wants to use an advanced mouse button, which is what I'm trying to implement atm |
Now is possible to set these shortcuts manually, by default there are only assigned keyboard keys, but no mouse buttons. |
Hello.
I'm using jadx-gui v1.4.5.
I have a Logitech MX Master 3 mouse with a horizontal scroll wheel and forward/back thumb buttons.
If I use the horizontal scroll wheel to scroll right or left with the mouse cursor over the code window - jadx-gui does not scroll the code window but reacts as if I pressed the "forward"/"back" mouse buttons (back for left-to-right scroll, forward for right-to-left scroll).
If I press the "back" mouse button - jadx-gui works as it should, and shows the previous open tab
If I press the "forward" mouse button - jadx-gui does not react to it.
This is confusing.
Thank you.
The text was updated successfully, but these errors were encountered: