Ghosting and rollover
Why some key combinations are dropped, what N-key rollover means, and what the rollover test measures.
The problem
You hold two keys to move diagonally in a game and press a third to jump. Nothing happens. Or worse, a letter you never pressed appears. The keys all work on their own; the fault shows only when they are held together. That is a rollover limit, and the extra letter is ghosting. Both come from how a keyboard is wired, not from a worn switch.
How a keyboard reads keys
Inside most keyboards the switches sit on a grid of rows and columns. The controller powers one row at a time and reads which columns answer. A pressed key connects its row to its column, and the controller works out which key that is.
The grid is cheap and compact, but it has a flaw. When three keys that form three corners of a rectangle on the grid are held, current can flow through them to the fourth corner, and the controller reads a key nobody pressed. That phantom key is a ghost. Keyboards avoid it in two ways. Better ones put a diode at every switch, so current flows one way only and no ghost can form. Cheaper ones have the controller refuse the new key instead: when a ghost would be possible, the press is dropped, so on such a board a key is blocked rather than ghosted.
What rollover means
Rollover is how many keys a keyboard can report held at once. Two-key rollover means any two keys, and a third may be dropped depending on where it sits on the grid. Six-key rollover is common, and enough for most typing. N-key rollover means every key, all at once.
For typing, a low rollover rarely matters: you let go of one key before the next lands, and modifiers are usually wired so they always work. For games, and for fast typists who overlap keys, it matters a lot.
What the test measures
Step 2 of the test asks you to hold three chords, one at a time: W, A, S and D; Shift, W, A and Space; and A, S, D, F, J, K, L and the semicolon key. The first two are a game's movement keys with a sprint and a jump. The third is a typist's home row with eight fingers down.
Hold every key of the chord down together, then let go. The chord's window closes once all its keys are up after at least two were held together, or when you press Skip this one. In each window the test looks at the moment when the most of the chord's keys were down at once. A chord key that is not down at that moment is blocked. Any other key down at that moment is a ghost.
The result's measurement is the most keys held at once in any chord.
How to read the result
- Pass: every chord registered whole, and nothing else appeared.
- Warning, blocked: a key of a chord did not register while the others were held. The keyboard dropped it.
- Warning, low rollover: the keyboard read fewer than 6 keys at once. A six-key board passes; a two-key board warns. Fast games may miss presses.
- Fail, ghost: a key nobody pressed appeared while a chord was held. The keyboard is ghosting.
- Not tested: a chord was skipped.
A blocked key is a limit, not a broken key. The same key passed step 1 on its own. A ghost is worse, because the keyboard is inventing input: in a game it fires actions you did not choose, and in a document it types letters you did not type.
Before you blame the keyboard
Hold the chord firmly and all at once. A key that goes down late, after the others are already released, is not held together with them, so it is blocked in that chord. If the Shift chord fails and the others pass, make sure you pressed the left Shift, which is the one the drawing outlines.
Your operating system takes a few combinations for itself, and a browser tab cannot see them. The test's chords use none of them. The browser also sees keys only after the system has them, so the test cannot measure how fast the keyboard reports a chord, only whether it does.
What to do about it
Nothing in software fixes a wiring limit. If a cheap board blocks keys you need, the only cure is a keyboard with a higher rollover; look for the rollover in its specifications. If a board has both a cable and a wireless link, test both. If a board advertises N-key rollover and the test shows ghosting, it is faulty, and worth returning.