3 ms·
Nice! But shift-key doesn't work. For example if I want to get the code for +
by TomGullen 14y ago
Nice! But shift-key doesn't work. For example if I want to get the code for +
- LaRakel 14y agoThose are two keys. Key codes are not character codes. Keycodes don't change if you switch to another keyboard layout. Key combinations don't have separate codes. In code you could listen for keydown on the code for shift, and then for the code for the other key.
- TomGullen 14y agoDoh! Thank you!