Real World Maths Busters

The Maths Behind Everyday Life

The story, the formula and a worked example — see exactly where this maths shows up in the world around you.

Back to all stories
Technology 3 min read

Why Cheap Keyboards Miss Keys When You Mash

N-key rollover vs 2-key rollover.

Budget keyboards use a simple matrix that cannot detect more than 2–3 simultaneous key presses. Gaming keyboards scan each key independently.

Matrix ghosting

In an n×m matrix, pressing 3 keys in an L-shape creates a ghost at the fourth corner.

max safe=2 keys (no ghost)\text{max safe} = 2 \text{ keys (no ghost)}

6×6 matrix keyboard

  1. 1

    Matrix size

    36 keys, 12 wires

  2. 2

    2-key rollover

    any 2 keys safe

  3. 3

    3+ keys

    ghost key possible

Answer

Cheap keyboards ghost after 2 simultaneous presses

The formula behind it

Matrix

n×mn \times m

The takeaway

If your keyboard drops inputs during gaming, the matrix is the bottleneck — not your reflexes.

Back to all stories