◐ Shell
clean mode source ↗

Fixed `SHIFT` and `PAGE_UP` keys using the same keyCode by Rishab87 · Pull Request #1033 · processing/processing4

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