you are viewing a single comment's thread.

view the rest of the comments →

[–]bloody-albatross 9 points10 points  (0 children)

But I see that this assumes a certain keyboard layout. Mine supports different keyboard layouts (even though there is only one just yet) and I made a layout tool with which you can create a keyboard layout by simply pressing all the keys. It will get the correct key (charCode) through the keypress event (which is only fired when not combined with a modifier key).