diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2022-10-24 23:06:12 +0100 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2022-10-24 23:13:33 +0100 |
| commit | 768ef770a351ee1528e6e7923d3b3b00654401cb (patch) | |
| tree | 89ca8fe8024726c74ca73eb9dc05de4f991b7e11 /PuzzleApplet.java | |
| parent | 0db5fb525bb58056caf9303d2ac159fc51c04e04 (diff) | |
| download | puzzles-768ef770a351ee1528e6e7923d3b3b00654401cb.zip puzzles-768ef770a351ee1528e6e7923d3b3b00654401cb.tar.gz puzzles-768ef770a351ee1528e6e7923d3b3b00654401cb.tar.bz2 puzzles-768ef770a351ee1528e6e7923d3b3b00654401cb.tar.xz | |
js: Use KeyboardEvent.key for ASCII keystrokes
This requires passing in KeyboardEvent.location from JavaScript so
that we can detect the numeric keypad properly. Out of caution we
currently only set MOD_NUM_KEYPAD on numbers, like we always have,
but we have enough information to set it on arrow keys, Enter, "+",
etc.
This finally gets '/' and '\' working in Slant again.
Diffstat (limited to 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions