diff options
author | Sven Gothel <[email protected]> | 2013-07-24 02:24:29 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-07-24 02:24:29 -0700 |
commit | eb8ffd951be945ae49e645e1b1bffdda6b36d9f1 (patch) | |
tree | 47badc41ccf3c78c41a1350da3aaf1edeeb83854 /src/jake2 | |
parent | e397d259a52153fb4fabf037d7b49e0b709876bc (diff) |
Diffstat (limited to 'src/jake2')
-rw-r--r-- | src/jake2/render/opengl/NEWTWin.java | 4 | ||||
-rw-r--r-- | src/jake2/sys/NEWTKBD.java | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/jake2/render/opengl/NEWTWin.java b/src/jake2/render/opengl/NEWTWin.java index df47bb1..5f37fb4 100644 --- a/src/jake2/render/opengl/NEWTWin.java +++ b/src/jake2/render/opengl/NEWTWin.java @@ -494,10 +494,6 @@ public class NEWTWin { System.err.println(e); if( !e.isAutoRepeat() ) { int keyCode = e.getKeyCode(); - // FIXME: Workaround JOGL/NEWT Bug 798 - if( 0 == keyCode ) { - keyCode = e.getKeySymbol(); - } if( KeyEvent.VK_HOME == keyCode ) { shouldReparent = true; } diff --git a/src/jake2/sys/NEWTKBD.java b/src/jake2/sys/NEWTKBD.java index af54a36..4a0ba76 100644 --- a/src/jake2/sys/NEWTKBD.java +++ b/src/jake2/sys/NEWTKBD.java @@ -119,10 +119,6 @@ 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; |