Vial Wiki

Keyboard Ghosting Test

What keyboard ghosting is, why it matters in games, what NKRO and rollover mean and how to test your keyboard for ghosting.

What is ghosting?

You press W to run forward, hold Shift to walk, press A to strafe right, want to jump with Space... and you don't jump. The key isn't broken; your keyboard can't read this many keys at the same time. This is called ghosting.

The cause is the wiring inside the keyboard. Cheap keyboards don't have a separate wire for each key; the keys are connected to a matrix of row and column lines. When you press certain three keys at once, electricity also passes through the path of a fourth key. The keyboard either thinks that key was pressed too (a ghost key) or ignores your last press to avoid confusion (blocking).

row 1row 2row 3col 1col 2col 3col 4QWERASDFZXCVPressedGhost
Cheap keyboards wire keys in a row-column grid. Press three corners of a rectangle and current also reaches the fourth corner: the keyboard either reports that key too, or blocks your last press to stay safe.

Why does it matter in games?

  • Movement + ability combos: A key getting "swallowed" in four-key presses like W + A + Shift + Q.
  • Not being able to crouch / jump while running.
  • A key being released on its own: The W you're holding counts as "released" for a moment when you press another key, and your character stalls. The tool calls this a phantom release.

These problems usually show up on cheap membrane and office keyboards. When buying a keyboard, the feature to look at is NKRO or the rollover count.

What is NKRO / rollover?

Rollover is how many keys your keyboard can read correctly at the same time.

  • 2KRO / 3KRO: Guaranteed only up to 2–3 keys. Borderline for gaming.
  • 6KRO: The classic USB limit; enough for most games.
  • NKRO (N-Key Rollover): Reads as many keys as you can press. Found on most mechanical and gaming keyboards.

How do you run the test?

Open vial.social/tools/keyboard-ghosting. Open it on a computer; the tool needs a physical keyboard and doesn't work on mobile.

Hold down three keys at the same time that you use together in game (for example W + A + Space). The last three pressed keys show live on screen.

If all three show as pressed, it says "No Ghosting — 3 keys detected at once". If a key you're holding counts as released on its own, it says "Ghosting Detected — phantom release detected".

Try different combinations. The counters at the bottom show Keys Tested, Highest Simultaneous and Phantom Detections. The Phantom Event History lists which key was released while which was being pressed.

Keyboard Ghosting Test: last three pressed keys, status line and counters
The Max Simultaneous counter gives you a good idea of how many keys your keyboard can read together at once. vial.social/tools/keyboard-ghosting ↗

Good to know

The test measures the keys the browser receives. Windows' Sticky Keys setting, some keyboard software's "game mode" or macros can affect the result. If a result looks suspicious, turn these off and try again.

If there's a problem

  • Bind conflicting keys in game to different places (for example crouch on C instead of Ctrl).
  • If your keyboard's software has an "NKRO" or "gaming mode" option, turn it on.
  • Plug the keyboard directly into the computer instead of a USB hub.
  • If you're buying a new keyboard, look for NKRO or anti-ghosting on the box.

FAQ

On this page