Keyboard ghosting and rollover, explained

Ghosting is when a keyboard reports a key you never pressed, because of the keys you are already holding. Most keyboards prevent it by ignoring the new press instead, which is called blocking: you hold W, A and Space, press Shift, and nothing happens. Gamers call both ghosting, and both come from how the keys are wired. Hold the keys you use together on the keyboard test to see which combinations your keyboard reports.

Keyboard test

Without diodes reads as pressed Held keys With a diode on each key stays off Held keys
Keys sit where row and column wires cross, and the keyboard finds a press by checking each crossing. Hold three keys on the corners of a rectangle and current can run through them to the fourth corner, so that key reads as pressed. A diode on each key lets current pass one way only, so every key reads correctly.

The terms in plain words

Test your keyboard

  1. Open the keyboard test. Each key you hold lights up, and Held now and Maximum together count them.
  2. Press the keys you use together in games one at a time, without letting go: for example W, then A, then Shift, then Space.
  3. If a key you add does not light up, the keyboard blocked that combination. If a key lights up that you never touched, that is a ghost.
  4. Let go and try other groups: W, D and Space, the number keys with Shift, the arrow keys with Ctrl. Note which ones fail.

The test shows what reaches your browser. The system keeps some combinations for itself, such as Alt with Tab or anything with the Windows or Command key, and most laptops handle the Fn key inside the keyboard, so those keys tell you nothing about rollover.

Which combinations matter in games

Movement plus one or two actions: W or S with A or D, held with Shift to sprint or Ctrl to crouch, then Space to jump and Q, E, R or a number key. That can be five keys at once. A keyboard with 6KRO or better handles any of them; a basic office keyboard may block some, depending on how its wiring groups the keys. Rhythm games and two players sharing one keyboard need the most keys together.

Why six keys: the USB limit

The simplest USB keyboard report, the one a computer's startup screen understands, carries six ordinary keys plus the modifier keys (Ctrl, Shift, Alt and the Windows or Command key, left and right). A keyboard that only sends that report stops at six keys at once. NKRO keyboards send a larger report; many have a switch between NKRO and 6KRO because some startup screens and KVM switches only understand the small one.

What to do about it

Keys typing twice instead? Read why a keyboard types double letters. Not sure which keyboard shape you have? See ANSI vs ISO keyboards.