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:
Jeff Parsons 2014-11-11 12:38:14 -08:00 • committed by jeffpar
commit c0991dd7db
7 changed files with 7 additions and 7 deletions

View file

@ -17,4 +17,4 @@
<file dir="../">README.md</file>
<link href="http://www.bricklin.com/history/vclicense.htm">VisiCalc License</link>
</disk>
</manifest>
</manifest>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -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;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long