Look up a USB HID usage ID or a Windows virtual-key code
Numeric codes copied from Windows SDK 10.0.26100.0 hidusage.h and WinUser.h. No layout crosswalk is invented.
Press a key
Click the key, then press a key on your keyboard. Tab still moves through the page.
A phone touch screen does not send hardware key codes. Use code search on a phone, or attach a keyboard.
The diagram highlights the browser event.code. It is not a HID usage or a Windows virtual-key map.
| event.key | |
|---|---|
| event.code | |
| event.keyCode | |
| event.location | |
| event.repeat |
Search a code
USB HID usages and Windows virtual-key codes are separate lists. The same number in both lists is not a mapping.
HID usage
HID usageHID_USAGE_KEYBOARD_NOEVENT0x0000HID usageHID_USAGE_KEYBOARD_F180x006DHID usageHID_USAGE_KEYBOARD_RGUI0x00E7