4 ms·
`event.key` returns the key with the mappings, e.g. "E" `event.keyCode` returns the physical key, e.g. "KeyE"
by dorianmariefr 4y ago
`event.key` returns the key with the mappings, e.g. "E"
`event.keyCode` returns the physical key, e.g. "KeyE"