top | item 21800217

(no title)

alexherbo2 | 6 years ago

I don’t know what to say. Internally, Krabby uses KeyboardEvent.code with a layer (US by default) for the display.

https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEve...

discuss

order

lucb1e|6 years ago

So I guess that should work then? Most of my keycodes should be the same as anyone from the USA and the demos on the page you linked work perfectly (the WASD game as well as the key combo listener that displays alt+j or whatever just fine).

(Since I can't edit my previous post anymore: ignore the mention of the escape key, alt+esc is actually the only alt combo that works.)