aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2')
-rw-r--r--src/jake2/render/opengl/NEWTWin.java4
-rw-r--r--src/jake2/sys/NEWTKBD.java4
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;