diff options
Diffstat (limited to 'src/jake2/sys/NEWTKBD.java')
-rw-r--r-- | src/jake2/sys/NEWTKBD.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jake2/sys/NEWTKBD.java b/src/jake2/sys/NEWTKBD.java index 4a0ba76..af54a36 100644 --- a/src/jake2/sys/NEWTKBD.java +++ b/src/jake2/sys/NEWTKBD.java @@ -119,6 +119,10 @@ final public class NEWTKBD extends KBD private static int XLateKeyCode(KeyEvent ev) { int code = ev.getKeyCode(); + // FIXME: Workaround JOGL/NEWT Bug 798 + if( 0 == code ) { + code = ev.getKeySymbol(); + } int key = 0; switch(code) { // 00626 case XK_KP_Page_Up: key = K_KP_PGUP; break; |