indigo
indigo copied to clipboard
Switch from `keyCode` to `code` in keyboard
The keyboard and keyboard events rely on the keyCode
from the JavaScript event, but this is deprecated according to MDN.
It is supposed to replace by code
(which is a String
) representing the key that was pressed/released.