Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Commit

Permalink
Fix the ESC key, and update the VisiCalc demo state file
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jeffpar committed Nov 11, 2014
1 parent 17a66d3 commit ea435c4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/pc/1981/visicalc/manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
<file dir="../">README.md</file>
<link href="http://www.bricklin.com/history/vclicense.htm">VisiCalc License</link>
</disk>
</manifest>
</manifest>
2 changes: 1 addition & 1 deletion apps/pc/1981/visicalc/state.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/pcjs/demos/pc-dbg.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pcjs/demos/pc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/pcjs/lib/keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion versions/pcjs/1.15.9/pc-dbg.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion versions/pcjs/1.15.9/pc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ea435c4

Please sign in to comment.