mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
Fix capslock.
This commit is contained in:
parent
127cee2dc0
commit
ccc3a329f7
@ -213,7 +213,7 @@ export default function KeyBoard(cpu, io, e) {
|
||||
} else if (code in keymap) {
|
||||
key = keymap[code][evt.shiftKey ? 2 : (evt.ctrlKey ? 1 : 0)];
|
||||
if (capslocked && key >= 0x61 && key <= 0x7A)
|
||||
key -= '\x20';
|
||||
key -= 0x20;
|
||||
} else {
|
||||
debug('Unhandled key = ' + toHex(code));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user