aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jake2/sys/NEWTKBD.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jake2/sys/NEWTKBD.java b/src/jake2/sys/NEWTKBD.java
index 6b53254..abf0988 100644
--- a/src/jake2/sys/NEWTKBD.java
+++ b/src/jake2/sys/NEWTKBD.java
@@ -186,9 +186,9 @@ final public class NEWTKBD extends KBD
case KeyEvent.VK_DEAD_ACUTE:
case KeyEvent.VK_CIRCUMFLEX:
case KeyEvent.VK_DEAD_CIRCUMFLEX:
- case KeyEvent.VK_BACK_QUOTE:
- key='`';
- break;
+ case KeyEvent.VK_BACK_QUOTE: key='`'; break;
+ case KeyEvent.VK_SPACE: key = Key.K_SPACE; break;
+
default:
if( KeyEvent.VK_0 <= code && code <= KeyEvent.VK_9 ) {
key = code - KeyEvent.VK_0 + '0';