Login  Register

Wrong keyCodes with NEWT on Linux.

Posted by lex on Aug 15, 2011; 9:13pm
URL: https://forum.jogamp.org/Wrong-keyCodes-with-NEWT-on-Linux-tp3256939.html

Hello.

I am trying to build an application with JOGL and NEWT. However I have ran into an unexpected problem. They keyCodes returned by the NEWT KeyboardListener do no match the codes in KeyEvenet constants.

I have tried to work around the problem, however the key codes are also different when changing the keyboard layout to another language.

Is this the expected behavior. Are there any work-arounds?