` Keyboard Ghosting Test — N-Key Rollover (NKRO) Test | Hardware Test Hub
Keyboard

Keyboard Ghosting / N-Key Rollover Test

Press and hold as many keys as you can at once and watch the counter below. If it stops climbing while you're still adding fingers, you've found your keyboard's simultaneous-key limit.

Test area

Keys held right now 0
Highest simultaneous keys seen 0
Try WASD + Shift + Space first, then add more fingers. Most keyboards top out somewhere between 2 and 6 keys unless they're specifically built for full N-key rollover.

What "ghosting" actually means

Most keyboards wire keys in a grid so a handful of wires can cover a hundred-plus keys. Press three keys that happen to share the same rows and columns, and the electronics can't tell them apart from a fourth key that was never pressed — that phantom fourth press is a "ghost key." Cheaper boards prevent this with a small blocklist of known-bad combos (key blocking): safer, but it means a key you're genuinely pressing just doesn't register. Full N-key rollover (NKRO) keyboards wire around the problem entirely, usually via USB with a different reporting protocol.

How a keyboard matrix without diodes invents a fourth keypress, and how one diode per switch stops it Two three-by-three key matrices. In the left matrix three keys are held: row 1 column 1, row 1 column 2, and row 2 column 1. When the controller energises row 2 to scan it, current sneaks through the three closed switches and reaches the column 2 sense line, so the controller reports a fourth key at row 2 column 2 that nobody pressed. In the right matrix each switch has a diode in series, which only lets current pass one way; the sneak path runs backwards through one of the diodes and is blocked, so only the three real keys are reported. No diodes 3 keys held, 4 reported One diode per switch 3 keys held, 3 reported C1C2C3 C1C2C3 R1R2R3 R1R2R3 phantom key scanning R2 → C2 reads closed blocked stays open scanning R2 → C2 reads open key physically held down key not pressed diode: current one way only Any three keys forming an L — the phantom completes the rectangle.
Why "ghosting" is wiring, not software. Keyboards do not run a wire to every key; they wire them as a grid and scan it one row at a time, which is how 104 keys reach a controller on 20-odd pins. The flaw is that a closed switch conducts in both directions. Hold three keys that form three corners of a rectangle in the grid and current can detour through all three, arriving at a sense line the controller is about to read — so it reports the fourth corner too. Adding one diode per switch forces current one way and kills the detour; that is all "NKRO" or "anti-ghosting" hardware really means. If a board lacks the diodes, no driver, firmware setting, or operating system can fix it, which is why the test above either passes or does not.

What to do with your result

  1. 2-6 key rollover is normal for a standard membrane keyboard — fine for typing, limiting for gaming.
  2. If WASD + a couple of modifiers doesn't reliably register together, check for an "NKRO mode" toggle — many mechanical keyboards ship in 6-key mode by default.
  3. For full rollover, look specifically for "NKRO" in the keyboard's spec sheet — it's not universal even on mechanical boards.

FAQ

Is ghosting a hardware defect I should return the keyboard for?

No — it's an inherent limitation of how most keyboards wire their keys, not a manufacturing fault, and it affects the vast majority of budget and mid-range keyboards to some degree. It only becomes a real problem if your specific combination of keys (like WASD plus modifiers for gaming) hits a blocked or ghosted combo.

Why do gaming keyboards specifically advertise NKRO?

Gaming often requires holding several keys simultaneously — movement keys plus modifiers plus an ability key — where a dropped keypress mid-combo is a real, immediate problem. N-key rollover guarantees every key you're physically holding gets reported, which matters far less for typing, where you rarely press more than 2-3 keys at once.

Does using USB instead of a wireless connection affect rollover?

It can. Full NKRO typically requires USB with a keyboard-specific reporting mode rather than the standard boot protocol, and Bluetooth or 2.4GHz wireless connections often can't carry that same protocol reliably, capping simultaneous keys lower than the same keyboard would support wired.

Related tools