mirror of
https://github.com/whscullin/apple1js.git
synced 2024-06-12 22:29:34 +00:00
Compare commits
No commits in common. "b18f41ff1c3fe24b2f2d72829c66cb8a5cd21642" and "c59c1116258b29e8d7031fc707168fc74d42339d" have entirely different histories.
b18f41ff1c
...
c59c111625
|
@ -2,7 +2,7 @@
|
|||
|
||||
## What is this?
|
||||
|
||||
An Apple 1 emulator written in JavaScript and HTML5. Press F1 (or maybe Shift+F1) to Reset, F2 to enter fullscreen mode.
|
||||
An Apple 1 emulator written in Javascript and HTML5
|
||||
|
||||
Things are still a little rough around the edges right now, hopefully I will have more time to clean things up.
|
||||
|
||||
|
|
|
@ -272,10 +272,9 @@ declare global {
|
|||
|
||||
let _key: byte;
|
||||
function _keydown(evt: KeyboardEvent) {
|
||||
const F1 = 112, F2 = 113;
|
||||
if (evt.keyCode === F1) {
|
||||
if (evt.keyCode === 112) {
|
||||
cpu.reset();
|
||||
} else if (evt.keyCode === F2) {
|
||||
} else if (evt.keyCode === 113) {
|
||||
if (document.webkitIsFullScreen) {
|
||||
document.webkitCancelFullScreen();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user