Module 2: Clicks, keys and inputLesson 5 of 154 min read
Keyboard ghosting and N-key rollover, explained
Press W, A and Shift together and your character should run diagonally. On some keyboards one of those keys simply doesn't arrive, or worse, a key you never touched appears. Neither is a software bug. It comes from how the keys are wired and how the keyboard reports them to your computer.
Keys sit in a grid, not on their own wires
Giving every key its own wire to the controller would need over a hundred connections. Instead, most keyboards place keys in a matrix of rows and columns. The controller scans one column at a time and checks which rows are active, many times per second.
This works perfectly for one or two keys. With three or more keys pressed in certain shapes, current can sneak backwards through the pressed switches and make an unpressed key look pressed.
Ghosting versus blocking
Ghosting is that phantom key: the keyboard reports something you didn't press. Because that is so confusing, most cheap keyboards use blocking instead. The controller notices a combination that could ghost and ignores the extra key.
Blocking is safer than ghosting but still hurts in games: your third key just doesn't register. That is the classic symptom of a two-key-rollover (2KRO) board in an awkward combination.
The fix in hardware
Adding a diode to every switch lets current flow only one way, so the sneak path disappears and any combination can be read. Diodes need a rigid circuit board, which is one reason many mechanical keyboards offer full rollover and most membrane keyboards don't.
What 6KRO and NKRO mean
Rollover is how many keys a keyboard guarantees at the same time. N-key rollover (NKRO) means any number and any combination registers correctly, with no blocking and no ghosting.
There is a second limit outside the keyboard: the compatible USB keyboard format reports six regular keys plus modifier keys such as Shift and Ctrl. Some boards are NKRO inside but run in that mode for compatibility, which is why they are sold as 6KRO or have a switch for full NKRO.
Polling: how often the keyboard reports
Separately from rollover, a USB keyboard reports at a polling rate. At 1000 Hz it reports once per millisecond; at 125 Hz once every 8 ms. Reviewers such as RTINGS measure total keyboard latency because polling is only one part of the delay, alongside scanning, debounce and processing.
Testing your own keyboard
Hold the combinations you actually use in games, such as W + A + Shift + Space, and watch which keys light up and what “Keys at once” shows. If one key never lights in a combination but works alone, you have found a blocking limit, not a broken key.
Hold your usual gaming combinations on the keyboard test and check the “Keys at once” number.
Open the keyboard testQuick check
Three questions. Pick an answer to see why.
-
What is keyboard ghosting?
Show the answer
Answer: A key that wasn't pressed is reported because of how the key matrix is wired With some three-key combinations, current takes a sneak path and an unpressed key looks pressed.
-
What does N-key rollover (NKRO) guarantee?
Show the answer
Answer: Any number and combination of keys pressed together registers correctly NKRO means no blocking and no ghosting, whatever you hold down.
-
Why can a keyboard that is NKRO inside still stop at six keys?
Show the answer
Answer: It is running in the compatible USB keyboard format, which reports six regular keys plus modifiers Many boards use that format for compatibility and offer a mode switch for full NKRO.
Sources
Last checked October 25, 2026