Have you ever played a game, pressed three keys simultaneously (like W, A, and Shift), only for the fourth keypress to be completely ignored? Or worse, a key registers that you didn't even press? This phenomenon is known as **keyboard ghosting** and **key jamming**.
These issues are limitations of low-cost keyboard circuit designs. In this guide, we will analyze why ghosting occurs and how you can prevent it.
1. The Keyboard Matrix Layout
To reduce manufacturing costs and the number of copper traces required, standard office keyboards do not connect each switch to its own dedicated circuit wire. Instead, keys are wired in a grid of rows and columns called a **keyboard matrix**.
When you press a key, it connects a specific row and column wire. The keyboard micro-controller registers this intersection and sends the letter to your PC.
2. Why Key Jamming Occurs
When you press three keys that form three corners of a rectangle in the matrix grid, the micro-controller cannot distinguish between a completed circuit and a parasitic bypass current. To prevent sending incorrect letters, the controller locks up and ignores further keypresses. This is known as **key jamming**.
3. What is Keyboard Ghosting?
In older or low-quality controllers, pressing three keys in a matrix block can cause a fourth, unpressed key to actuate. This is called **ghosting** because a "ghost" key is registered. Modern keyboards prevent ghosting by blocking the keys (jamming them) instead.
4. The Solution: N-Key Rollover (NKRO)
The only complete solution to ghosting and jamming is purchasing a keyboard that supports **N-Key Rollover (NKRO)**. NKRO keyboards place a small electrical diode next to every single switch. This blocks current from flowing backwards through the matrix, allowing every key to register independently, regardless of how many keys are held down simultaneously.
Test Keyboard Ghosting & Rollover
Hold down multiple keys at once on our interactive grid to check if your keyboard suffers from ghosting or jamming.
Run Rollover Test