From dd0b389ec4c9c13dff155394c485828ba0bb851c Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 28 Oct 2012 14:09:56 +0100 Subject: NEWTKBD: Handle VK_SPACE --- src/jake2/sys/NEWTKBD.java | 6 +++--- 1 file 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'; -- cgit v1.2.3