What Is Keyboard Ghosting?
Keyboard ghosting is when a keyboard registers a keypress you never made — or fails to register one you did — while multiple keys are held at once. The classic symptom: you're holding W, A, and D in a game and a fourth character appears on screen, or a movement key silently cuts out mid-strafe. It's a hardware-level limitation, not a driver conflict or a game problem.
It helps to separate two related faults. True ghosting produces a phantom keypress: a key lights up or types even though nothing touched it. Its sibling, masking (sometimes called blocking), is when a held key stops registering because of which other keys you're pressing. Both stem from the same underlying cause, and either one can cost you a firefight.
Gamers often conflate ghosting with input lag or double-typing ("chatter"), but those are different issues entirely. Lag is a timing problem; chatter is a worn or dirty switch bouncing a single press into several. Ghosting is purely about which combinations of keys the board's wiring can and cannot distinguish.
Why Ghosting Happens: Key Matrix Wiring
No keyboard wires its keys individually. Running a dedicated line to each of 104 switches would demand more than a hundred connections, so virtually every keyboard — membrane or mechanical — arranges its switches in a key matrix: a grid of rows and columns with one key at each intersection. The controller scans the grid, activating rows and reading columns to determine which intersections are pressed.
The grid is efficient but has a blind spot: standard matrix wiring can't tell which direction current is flowing. Press three keys that form three corners of a rectangle, and current can trace a path through the grid that includes the unpressed fourth corner. The controller reads that path as a closed switch, and a phantom key registers — that's ghosting. Press enough legitimate keys and the scan can be overwhelmed in the other direction, producing masking instead.
The fix is a diode at each switch, allowing current to flow one way only so the controller always knows exactly which keys are pressed. Whether a board includes those diodes is a cost decision, which is why two keyboards with identical switches can behave completely differently under load. The USB HID input specification shapes what happens next, too: its standard boot-protocol keyboard report can only list a limited set of simultaneously held keys, which caps how many presses some boards can report even before ghosting enters the picture.
How to Run a Keyboard Ghosting Test in Your Browser
You don't need special software for a keyboard ghosting test. Browser-based keyboard testers visualize what your operating system reports: every time you press a key, its on-screen counterpart lights up, and most tools display a running count of simultaneously held keys. Because phantoms originate in the keyboard hardware, the OS sees them as real presses — so a ghosted key lights up exactly like an intentional one, which is precisely what makes the test work.
Start by tapping each key once to confirm the baseline grid responds. Then hold your real-world combinations: W plus A plus Shift, add Space, then an ability or weapon key — building up key by key the way you would in a match. Watch for two failure signs: a key lighting up that you aren't touching (ghosting), or a key you're holding going dark while you keep it pressed (masking). Note the largest simultaneous key count you reach cleanly; that's your board's practical rollover in that zone.
A few caveats from testing dozens of boards this way: browsers can't intercept OS-reserved shortcuts like Alt+Tab or Ctrl+Alt+Del, so those will never reach the page, and some browsers drop keyup events on certain modifier combinations, making a key appear stuck. If a result looks odd, retest in a second browser before blaming the hardware. And test the keys you actually play on — a board can pass a middle-row check and still ghost inside your WASD cluster.
Anti-Ghosting vs. N-Key Rollover
Anti-ghosting means the keyboard prevents phantom presses — but often only on designated keys. Many gaming boards guarantee clean input on a common cluster (WASD plus modifiers and Space) using diodes in just that zone, while the numpad or far columns can still ghost. Full anti-ghosting, as the name implies, covers the entire layout.
N-key rollover (NKRO) goes further: every switch gets a diode, and the firmware can register any number of keys simultaneously, making the whole board immune to both ghosting and masking regardless of combination. The practical ceiling on ordinary USB boards traces back to the HID specification's six-slot key report — which is why "6-key rollover" is the quiet baseline on many keyboards. Gaming boards work around it with their own reporting modes, sometimes toggled with a shortcut like Fn+N. A PS/2 connection historically supported NKRO natively, one reason some enthusiasts still prefer it.
When comparing keyboards, lean on gaming hardware review publications that publish measured rollover counts rather than marketing claims — ideally tests run with an actual rollover jig. Also check whether NKRO is enabled by default or requires a driver or toggle, and whether it drops to 6KRO in BIOS mode.