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

Fix mouse delta inputs #70

Merged
merged 2 commits into from
Aug 3, 2023
Merged

Fix mouse delta inputs #70

merged 2 commits into from
Aug 3, 2023

Conversation

eigenraven
Copy link
Member

  • Fix implementation of getDX/getDY/getDWheel to reset the value to 0 after a call, like LWJGL2 docs specify (the original lwjglx implementation was broken)
  • Suppress mouse movement events on mouse grabs/ungrabs and send a fake event to make sure the correct GUI slot is highlighted when GUIs are opened, and the camera doesn't move when GUIs are closed. This is now much more reliable than the previous incomplete workaround.

@eigenraven eigenraven requested review from a team August 2, 2023 17:36
@eigenraven eigenraven merged commit 3bb91b8 into master Aug 3, 2023
3 checks passed
@eigenraven eigenraven deleted the fix-mouse-delta-inputs branch August 3, 2023 17:19
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.

1 participant