Home › Blog › Hardware & Switches

Keyboard Rollover Explained: What is NKRO, 6KRO & Key Ghosting?

Keyboard PCB matrix circuit wiring showing anti-ghosting diodes and mechanical switches

Quick Definition: Rollover is the maximum number of simultaneous keys a keyboard can correctly register. NKRO (N-Key Rollover) means unlimited concurrent key presses. 6KRO limits concurrent presses to six keys.

How Keyboards Work: The Matrix Circuit Architecture

To understand why cheap keyboards fail when multiple keys are struck rapidly, we must examine what happens under the keycaps. Rather than connecting all 104 individual keys with 104 separate wire traces back to the micro-controller (which would require expensive high-pin-count chips and thick cabling), keyboard engineers use a grid matrix of rows and columns:

  • A typical keyboard has approximately 16 columns and 8 rows.
  • The internal microprocessor continuously sends rapid electrical scanning pulses down each column (typically at 1,000Hz or once every millisecond).
  • When you press the "F" key, you bridge the intersection of Row 3 and Column 5, completing the circuit and sending an electrical signal back to the controller.

The Root of the Problem: Ghosting and Jamming

1. What is Key Jamming?

On cheap membrane keyboards found in school labs and budget offices, pressing two or three keys in close proximity on the same circuit loop prevents the microcontroller from resolving additional inputs. The keyboard simply ignores the additional key press—a hardware failure known as key jamming.

2. What is Key Ghosting?

Ghosting is even worse. Suppose you hold down three keys that form three corners of a rectangle in the keyboard matrix (e.g., Row 1 Col 1, Row 1 Col 2, and Row 2 Col 1). Electrical current now flows through the closed switches and backfeeds through the fourth corner, tricking the microcontroller into believing that the fourth key (Row 2 Col 2) was also pressed! The keyboard outputs an unexpected, phantom character—a ghost key.

The Engineering Solution: Diodes! In high-quality mechanical keyboards, manufacturers solder an individual switching diode (such as a 1N4148 SMD diode) in series with every single mechanical switch. Diodes allow current to travel in only one direction, completely preventing electrical backfeeding and eliminating ghosting 100%.

Decoding Rollover Terminology: 2KRO, 6KRO & NKRO

Rollover Standard Simultaneous Key Capacity Underlying Technology Common Use Case
2KRO 2 Keys maximum Cheap membrane, no diodes Ultra-budget office keyboards (prone to jamming)
6KRO 6 Keys + 4 Modifiers Standard USB HID protocol limits Standard laptops, legacy USB mechanical boards
Multi-Key Anti-Ghosting 10–12 Keys in WASD cluster Select matrix traces shielded Budget "gaming" membrane keyboards
True NKRO (N-Key) Unlimited (all 104+ keys) Per-switch diodes + custom USB HID Premium mechanical keyboards, stenography

Why the Old USB Protocol Capped Keyboards at 6KRO

During the early days of personal computers, keyboards used the legacy PS/2 port. The PS/2 protocol operated via hardware interrupts and supported true, native NKRO out of the box.

When the computer industry transitioned to USB in the late 1990s, the USB Implementers Forum established the USB HID (Human Interface Device) Boot Protocol for operating system compatibility before drivers loaded. This standard allocation reserved exactly 8 bytes per packet:

  • Byte 0: Modifier keys (Ctrl, Shift, Alt, GUI).
  • Byte 1: Reserved OEM byte.
  • Bytes 2 to 7: Six individual keypress scan-codes.

This 6-byte payload created the universal 6KRO limitation. Modern mechanical keyboard makers bypass this by presenting multiple virtual USB HID interfaces or using a dynamic variable-length report descriptor, restoring full True NKRO over standard USB.

Do Typists and Gamers Really Need True NKRO?

For Everyday Typing (40–80 WPM):

During standard English prose typing, your fingers press keys sequentially rather than simultaneously. High-speed typing telemetry demonstrates that typists rarely hold down more than 2 keys at any given millisecond. For basic typing, 6KRO is more than sufficient.

For Elite Typists (100–160+ WPM):

At 120+ WPM, typists use aggressive "finger rolling" (where the next finger begins striking the next letter before the preceding finger has fully lifted off the keycap). On poor 2KRO boards, rapid rolls on common digraphs (like "th", "er", "on", "tion") will drop keystrokes. True NKRO guarantees that zero characters are swallowed by hardware limitations.

For Stenography & Chording:

In legal stenography (such as Open Steno / Plover), words are typed by striking multiple keys simultaneously like piano chords. NKRO is an absolute, non-negotiable requirement for chorded typing.

How to Test Your Keyboard's Rollover Right Now

You can test your own keyboard's rollover and switch latency directly in your browser. Launch our Interactive Typer Beast Keyboard Tester:

  1. Open the tester.
  2. Press and hold both left and right Shift keys simultaneously.
  3. While holding Shift, type: THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG.
  4. If letters fail to appear, your keyboard suffers from matrix jamming and lacks proper anti-ghosting rollover.

Frequently Asked Questions

Does Bluetooth support NKRO?

Most Bluetooth wireless keyboards limit transmission to 6KRO to conserve battery bandwidth and comply with the Bluetooth HID profile. However, high-end 2.4GHz wireless mechanical keyboards (using dedicated USB dongles) frequently support full NKRO.

Will NKRO make me type faster?

Switching from a 6KRO keyboard to an NKRO keyboard will not magically increase your WPM if your typing speed is under 90 WPM. However, upgrading from a cheap 2KRO membrane keyboard to a responsive mechanical keyboard with NKRO and low switch travel will immediately eliminate dropped keystrokes and reduce finger strain.

AM

About Alex Mercer

Alex Mercer is the Firmware & Hardware Telemetry Lead at Typer Beast. He has designed custom mechanical PCB matrices, embedded QMK/ZMK firmware, and digital keyboard diagnostic systems.