4 ms·
Thats what charCode and keyCode are for. keyCode refers to the physical keys (named A and D on any keyboard, even if the printed letters are different), charCod
by tobyhinloopen 8y ago
Thats what charCode and keyCode are for. keyCode refers to the physical keys (named A and D on any keyboard, even if the printed letters are different), charCode refers to the character the key represents (which differs per keyboard layout)