Physical layout — highlight on press.
KeyboardEvent.code represents the physical key on the keyboard. KeyboardEvent.key represents the character generated. This tool features a realistic three‑zone keyboard layout.
key is logical, code is physical location.
Inconsistent across browsers. Use key and code.
Check event.ctrlKey (or event.metaKey) and event.code === 'KeyC'.
Yes, the numpad is on the right, exactly like a real keyboard.
OS may intercept them; they're included for completeness.
They are in the middle zone, between main keys and numpad.
Best with physical keyboard attached.