Hacker News new | ask | show | jobs
by alexherbo2 2378 days 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...

1 comments

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.)