Fixed various bugs

This commit is contained in:
Caspian Rychlik-Prince 2002-09-06 23:58:33 +00:00
parent c109f47de2
commit 9e58e87ce9
1 changed files with 9 additions and 9 deletions

View File

@ -204,8 +204,8 @@ public class Keyboard {
'p',
'[',
']',
'*',
'*',
0,
0,
'a',
's',
'd',
@ -218,7 +218,7 @@ public class Keyboard {
';',
'\'',
'#',
'*',
0,
'\\',
'z',
'x',
@ -230,9 +230,9 @@ public class Keyboard {
',',
'.',
'/',
'*',
'*',
'*',
0,
0,
0,
' ' };
private static final char shiftMap[] =
{
@ -250,8 +250,8 @@ public class Keyboard {
')',
'_',
'+',
'*',
'*',
0,
0,
'Q',
'W',
'E',
@ -459,7 +459,7 @@ public class Keyboard {
assert readBuffer != null : "Keyboard buffering has not been enabled.";
if (readBuffer.hasRemaining()) {
key = readBuffer.get();
key = readBuffer.get() & 0xFF;
state = readBuffer.get() != 0;
return true;
} else