On Thursday, 4 June 2015 at 20:30:38 UTC, sigod wrote:
On Thursday, 4 June 2015 at 20:07:26 UTC, Vladimir Panteleev
wrote:
On Thursday, 4 June 2015 at 19:55:28 UTC, sigod wrote:
On Thursday, 4 June 2015 at 15:38:57 UTC, Vladimir Panteleev
wrote:
[...]
Shift+? returns key code 191. And `String.fromCodePoint(191)
=== '¿'`.
I looked into this.
191 is actually the code for the '/' key. This means that
checking for it doesn't work on layouts where the question
mark is typed by pressing another button. Does this work for
you? I tried it on the Russian layout (where it's on Shift+7)
and it doesn't.
I settled by moving the help key to Shift+H.
Hm. Actually 63 key code will appear on `keypress` event. And
191 on `keydown`. (But you use `keydown` for webkit.)
Take a look here: http://stackoverflow.com/a/29494190/944911