Fix the ESC key, and update the VisiCalc demo state file
The old VisiCalc demo state file (state.json) was triggering a spurious (keyboard?) event that would generate a beep and wipe the copyright message; I'm kind of curious what was causing that, but the simplest solution for now is to generate a new state.json.
This commit is contained in:
parent
4c2a5b7cd5
commit
c0991dd7db
7 changed files with 7 additions and 7 deletions
|
|
@ -551,7 +551,7 @@ Keyboard.aSoftCodes = {
|
|||
* @enum {number}
|
||||
*/
|
||||
Keyboard.aKeyCodes = {};
|
||||
Keyboard.aKeyCodes[Keyboard.KEYCODE.ESC + Keyboard.KEYCODE.ONDOWN] = Keyboard.SCANCODE.ONE;
|
||||
Keyboard.aKeyCodes[Keyboard.KEYCODE.ESC + Keyboard.KEYCODE.ONDOWN] = Keyboard.SCANCODE.ESC;
|
||||
Keyboard.aKeyCodes[Keyboard.ASCII['1']] = Keyboard.SCANCODE.ONE;
|
||||
Keyboard.aKeyCodes[Keyboard.ASCII['!']] = Keyboard.SCANCODE.ONE | (Keyboard.SCANCODE.SHIFT << 8);
|
||||
Keyboard.aKeyCodes[Keyboard.ASCII['2']] = Keyboard.SCANCODE.TWO;
|
||||
|
|
|
|||
Loading…
Reference in a new issue