-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Mousereleased mousebutton on default renderer #181
Comments
Created by: oseph Can confirm this behaviour on my end using macOS. I'm looking at While I was there I also noticed code to allow macOS users to ctrl-click as right mouse, but this does not seem to work either. |
Created by: behreajj Hi @oseph , maybe in PSurfaceAWT, due to this update on Jan. 20. My hack to deal with this, based on @GanerCodes suggestion, is here. I was not able to test on Mac.
|
Created by: oseph Alrighty, I think I fixed this bug in #188. Feel free to try it out. Works on my end but I only tested on macOS. Give it a spin if you're using Linux/Windows! |
Created by: behreajj Hi @oseph, Thanks for all your hard work. If I were you I would split this into 3 separate pull requests: one to fix the mouse released/clicked issue, one to fix the mac os control click issue and one to introduce new constants for mouse events. I'm only a random person on the Internet, mind you, trying to keep his own library working. This is just my 2c. |
Created by: oseph @behreajj thank you! That sounds totally reasonable to me. I'm still a little new to this whole contributing thing, so would be happy to do it the proper way. I'll close/cancel this pull request and split it into 3 separate ones. |
Created by: benfry Fixed for the release after 4.0 alpha 5 (either 4.0 alpha 6 or beta 1). |
Created by: github-actions[bot] This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs. |
Created by: GanerCodes
When using mouseReleased, on the default renderer (not P3D for example) mouseButton is always zero. You can still see a button type (1, 2, 3) if you pass in MouseEvent and call getNative() on it.
The text was updated successfully, but these errors were encountered: