INPUT LAB
Online Keyboard Test
See which physical keys register, check combinations and inspect key events. Read the test guide.
Test area
Click inside this area, then press a key
Ready to test.
Recent input events
Guide to the keyboard test
A keyboard test shows the physical key positions and reported key values reaching the browser. Use it to check individual switches, modifier keys and combinations that appear to drop a key.
How to use the keyboard test
Focus the keyboard area
Click inside the on-screen keyboard area, or use Tab to give it focus. Start with common letter and number keys.
Press keys and combinations
Check the pressed highlight, release the key, then hold two or more keys together. Release and repeat the combination if one input is missing.
Inspect the event log
Compare Physical code, Key and Held together. Reset to clear the tested-key highlights for a fresh pass.
How to read the test metrics
- Unique keys seen
- The number of distinct physical codes received since reset. Repeated presses of the same key leave this number unchanged.
- Held now and Held together
- Held now counts the physical codes with a received down and no recorded release. Held together lists the codes in that set after each recorded event.
- Physical code
- The key position reported by the browser, such as KeyQ or ShiftRight. The virtual diagram uses those codes for its highlights.
- Key and Last key
- The value reported for the key given the current layout and modifiers. The same physical position can report a different character on another layout.
- Down and Up
- These mark initial keydown and matching keyup events. The table keeps the 20 most recent rows. Keys that the browser reports outside the diagram can still appear in the log.
How the test works
Match press and release by physical code
An initial keydown records and highlights its code. A matching keyup clears the held state. The tester skips automatic repeats and unidentified physical codes.
Maintain a held-key set
The tester adds and removes codes as events arrive and clears the held set when focus is lost. The focus rule avoids leaving old keys marked as held after you switch windows or leave the pad.
What does a normal result look like?
An ordinary key should appear held when pressed and return to its released state when let go. When checking a combination, each expected key should appear in Held together. Some browser and system shortcuts intercept keys before the page can record them.
Why run this test?
Check a stuck or missing key
Compare a suspect key with neighboring keys. A repeatedly missing initial press in multiple environments gives you a clearer symptom to investigate.
Check a rollover combination
Hold the exact keys that fail in an application and inspect the held set. Try each key individually first so you can separate a combination issue from a single-key problem.
Frequently asked questions
Why does a key show the wrong letter on the diagram?
The labels represent physical positions. Check the Key column for the character or action produced by your layout.
Why does a shortcut disappear from the log?
The OS, browser or keyboard firmware can handle a shortcut before its event reaches the pad. Some shortcuts also move the focus, which clears the held set.
Can the page prove my keyboard supports full rollover?
It can show which combinations reach this browser. Test the exact combinations that matter to you, since firmware, mappings and the host can affect delivery.
Technical references
Related tools
Mouse scroll wheel test · CPS Test · Mouse Test · Polling Rate Test