add keycodes for AZERTY keyboard and German umlauts, fix #1#4
add keycodes for AZERTY keyboard and German umlauts, fix #1#4billgathen merged 1 commit intobillgathen:masterfrom
Conversation
|
👍 |
add keycodes for AZERTY keyboard and German umlauts, fix #1
|
Thanks, @jancborchardt! Merged and a new version pushed to http://billgathen.github.io/pentaphone/dist/index.html cc/ @PoroCYon |
|
@billgathen while in the HTML it’s reflected, the JS doesn’t seem to work correctly yet. Next to the |
|
I thought it was odd that the number for the umlaut was zero. Do the other new keys work correctly? |
|
Doesn't seem to be working for me either... |
|
@billgathen I’m pretty sure this is due to the JS not being correctly compiled, as I said there are 2 different arrays with one having outdated info. |
|
I went around in circles for awhile trying to figure out why that wasn't being bundled properly, but I finally realized those two areas are unrelated.
The I did manage to figure out how to get alternate keyboards running on my Mac, so I've done some experimenting. @PoroCYon I got 77 for the AZERTY (FN) keyboard (in Chrome and Firefox), so I changed the 109 mapping to that, but it still isn't working. @jancborchardt Oddly, with the German layout I got the same 186 code for the umlaut that I got for the |
|
@billgathen actually it works in Firefox, but not in Chrome … wow. ;) |
Fix #1, please review @PoroCYon @billgathen
The ö wasn’t really possible to catch so it’s a small hack. Just check at this Keycode test page, the results are like this for a normal letter:


And this for ö
Basically this means that ä and ü are also caught by this, which I don’t really consider a problem.