Reggino / jsc64

The JavaScript Commodore 64 emulator

Home Page:https://reggino.github.io/jsc64/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keyboard issues in chrome

herbg3 opened this issue · comments

the '" key is mapped to :; key

backspace causes issues in chrome

sample: http://orcs.biz/c64/ (chrome)

actually:

' = colon
colon = ;
double quote = ]
] = + (little plus)
} = + (big plus)
[ = nothing
backslash = *
+==
(underscore) seems to trigger context menu(s)
(minus) is correct

numpad-context slash, asterisk, minus, plus, enter, does not work at all, and numpad period = delete

there may be more mismappings

I discovered that double-quote is mapped to Shift-2 (@ sign) so I could type:

10 PRINT "HELLO WORLD"

In the original C64 keyboard layout " was available through Shift+2.

I agree this isn't really useful with the modern PC keyboard layout.

Need a way to simulate F1 - F10
Example: http://orcs.biz/c64
try "Park Patrol v2" or "Bubble Bobble" -- they require use of F keys

it would be nice if you could c64.pressKey(" ");, perhaps c64.pressKey(" ",duration);