Skip to content

Fixed SHIFT and PAGE_UP keys using the same keyCode #1033

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

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

Conversation

Rishab87
Copy link
Contributor

I've added a patch for fixing the shift and page up sharing the same code. The problem is JOGL/NEWT doesn't guarantee the same keycode mappings as AWT. They have their own virtual key codes so I created a normalizeKeyCode function to handle few differences in key codes.

Also added a test for it.

Fixes #702

@SableRaf SableRaf requested a review from Stefterv April 19, 2025 08:53
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.

SHIFT and PAGE_UP keys use the same keyCode in P2D and P3D
1 participant