mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 15:04:41 +00:00
Mac OS X: Made KeyboardEventQueue handle widened char types
This commit is contained in:
parent
0f12ecee3b
commit
7ac72d9c32
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ final class KeyboardEventQueue extends EventQueue implements KeyListener {
|
|||
key_down_buffer.position(old_position);
|
||||
}
|
||||
|
||||
private synchronized void handleKey(int key_code_mapped, byte state, char character) {
|
||||
private synchronized void handleKey(int key_code_mapped, byte state, int character) {
|
||||
if ( character == KeyEvent.CHAR_UNDEFINED )
|
||||
character = Keyboard.CHAR_NONE;
|
||||
/* Ignore repeating presses */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue