diff options
author | Sven Gothel <[email protected]> | 2012-10-28 14:09:56 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-28 14:09:56 +0100 |
commit | dd0b389ec4c9c13dff155394c485828ba0bb851c (patch) | |
tree | 3809d5e1492346a717f5a5ebcaf799aa9ab90e90 /src/jake2/sys | |
parent | f47e06cdfe6b97faacec84ec1920a08b007dc349 (diff) |
NEWTKBD: Handle VK_SPACE
Diffstat (limited to 'src/jake2/sys')
-rw-r--r-- | src/jake2/sys/NEWTKBD.java | 6 |
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'; |