← THE BLUE STICK

Guides / Fix-it pages

Keys Not Registering Together: Keyboard Ghosting

PLAY NOWSolo, free, in your browser

You hold W and D to run diagonally, press Space to jump, and nothing happens. Each of the three keys works alone. Together, one of them is ignored.

This is a hardware limit. Microsoft's research group, which studied it, defines the problem this way: ghosting is when some keyboard keys do not work when several keys are pressed at the same time. No driver or setting removes it, but once you understand it you can work around it.

Why it happens

Putting a separate wire on every key would be expensive, so most keyboards arrange their keys on a grid of rows and columns. The keyboard's controller checks which rows are connected to which columns and works out the pressed keys from that.

How three pressed keys hide a fourth on a keyboard grid A grid of two rows and two columns. Three keys at three corners are pressed. The connections they make look identical to all four corners being pressed, so the keyboard cannot tell whether the fourth key is down. column 1 column 2 row 1 row 2 W E S D pressed or not? the grid looks the same three keys held
With three corners of a rectangle held, electricity can reach the fourth corner by going around. The keyboard cannot tell whether the fourth key is really down, so it reports nothing new.

Early keyboards guessed, and reported a key that had not been pressed. That phantom key press is the original meaning of "ghosting". Modern keyboards do the safer thing and block the uncertain key, so the fault you actually see is a key that does not register.

Which combinations fail depends on how each maker laid out the grid. It differs from model to model, and it is not always the keys you would expect. Microsoft notes that this affects many three-key combinations, even on some keyboards sold as "anti-ghosting", because that label can cover only a part of the keyboard, typically the area around W, A, S and D.

The terms on the box

TermMeaning
2-key rolloverAny two keys together are guaranteed. A third may fail
6-key rolloverAny six keys plus the modifier keys
N-key rolloverEvery key registers, however many are held
Anti-ghostingA marketing term. It can mean full rollover or only a protected group of keys

The number six is not arbitrary. Microsoft explains that the standard way a USB keyboard reports to a computer carries up to six ordinary keys plus the modifiers. Keyboards with N-key rollover use a different reporting method to get past that.

Mechanical keyboards usually give each switch its own protection against the problem, which is why full rollover is common there. Laptop keyboards and inexpensive membrane keyboards are where it most often appears.

Test your keyboard

  1. Open any text editor.
  2. Hold two of the keys you use together in a game, for example W and D.
  3. While holding them, tap the third key several times.
  4. If no letters appear for the third key, that combination is blocked.
  5. Repeat for every trio your game needs: movement with jump, movement with crouch, movement with reload and so on.

Microsoft still hosts an interactive demonstration on its Applied Sciences site that draws a keyboard and lights each key the computer can see. Search for "Microsoft keyboard ghosting demonstration". It suggests holding A, S, D and W and pressing other keys to see which are lost.

Shift, Ctrl and Alt are normally wired separately, so they rarely take part in ghosting. If your problem involves a modifier, look at Sticky Keys or Filter Keys in the Windows settings before blaming the hardware.

Work around it

  1. Rebind the blocked action. Move jump, crouch or reload to a key in a different part of the keyboard. Keys that are far apart are less likely to share rows and columns. Test the new combination before relying on it.
  2. Use a modifier. Since Shift, Ctrl and Alt are usually separate, putting an action on one of them often avoids the grid problem.
  3. Use the mouse. Extra mouse buttons never clash with the keyboard. Moving jump or a weapon swap to a side button frees the left hand.
  4. Try the arrow keys or a different cluster. Some keyboards protect the arrows as well as WASD. If a game accepts both, as The Blue Stick does for movement, test both.
  5. Split two players across the keyboard carefully. Two people on one keyboard hold many keys at once and hit the limit quickly. Give each player keys in different regions and test them together.
  6. Plug in another keyboard. An external keyboard solves it on a laptop. Check the product details for 6-key or N-key rollover.

Buying with this in mind

If only one combination fails and a rebind fixes it, there is no reason to replace anything. Ghosting is a limit of the keyboard, not a fault, and a keyboard that blocks W, D and Space together is otherwise perfectly healthy.

PLAY NOWSolo, free, in your browser