You are reading a single comment by @sebi and its replies.
Click here to read the full conversation.
-
Indeed, with the french keyboard on Windows,
e.key
values are:- "Dead" when pressing on the grave accent,
- "`" when pressing on the space bar preceded by the grave accent.
Thus the
key
value in the script is "Ctrl + Dead" when pressing on Ctrl together with the grave accent.Regarding the keyCode,
e.code
for the grave accent is "Backslash" on the MacBook french keyboard.Hope this helps.
- "Dead" when pressing on the grave accent,
Ok, thanks - maybe as it is considered a dead key the
.key
field doesn't contain a backtick, but maybe keyCode is still set to the correct one.