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

Merged
merged 4 commits into from
Jul 11, 2025

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
@Stefterv Stefterv added this to the 4.4.5 milestone May 19, 2025
@Stefterv Stefterv merged commit 30bc274 into processing:main Jul 11, 2025
12 checks passed
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
2 participants