mirror of
https://github.com/whscullin/apple1js.git
synced 2024-11-04 11:04:55 +00:00
Update apple1.ts
This commit is contained in:
parent
c59c111625
commit
669f9298e4
@ -272,9 +272,10 @@ declare global {
|
||||
|
||||
let _key: byte;
|
||||
function _keydown(evt: KeyboardEvent) {
|
||||
if (evt.keyCode === 112) {
|
||||
const F1 = 112, F2 = 113;
|
||||
if (evt.keyCode === F1) {
|
||||
cpu.reset();
|
||||
} else if (evt.keyCode === 113) {
|
||||
} else if (evt.keyCode === F2) {
|
||||
if (document.webkitIsFullScreen) {
|
||||
document.webkitCancelFullScreen();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user