Skip to main content
10 min read

Key Ghosting vs. N-Key Rollover: How to Test Your Gaming Keyboard Online

Wondering if your keyboard drops inputs during intense gaming? Learn what ghosting, blocking, and NKRO mean, then run practical combination tests on your own keyboard.

Gaming keyboard illustrating key ghosting and N-key rollover testing
SHARE THIS ARTICLEFound this useful? Share it with others.
Table of Contents

You’re in a clutch moment — holding W and D to strafe right, Shift to sprint, and you hit Space to jump. Only three keys register. The jump never happens. You didn’t miss the key; your keyboard refused to report it. That’s ghosting (or more precisely, key blocking), and it’s why rollover specifications matter for gaming.

This guide explains what ghosting, blocking, and rollover actually mean, then walks you through practical tests you can run right now on your own keyboard using our Anti-Ghosting Test and Online Keyboard Tester.

What is keyboard ghosting?

Ghosting is when pressing multiple keys simultaneously causes an unpressed key to register — a “phantom” keystroke. It happens because keyboards scan keys in a row/column matrix. When three keys forming a rectangle in the matrix are held, current leaks through the fourth corner, tricking the controller into thinking that fourth key is also pressed.

Modern keyboards almost never exhibit true ghosting (a wrong key registering). Instead, they block — the controller detects the ambiguity and deliberately drops one or more of the legitimate keys to avoid false inputs. What gamers call “ghosting” is almost always key blocking.

What is key blocking?

Key blocking (or masking) is the controller’s safety response: when a combination creates matrix ambiguity, it stops reporting the newest key(s). You press three keys; only two register. The third is “blocked.”

Blocking is intentional — it prevents phantom inputs. But it means your legit combo fails. The fix is anti-ghosting: diodes on each switch (or optimized matrix routing) that eliminate the ambiguity so blocking never triggers.

What is key rollover?

Rollover is the maximum number of keys a keyboard can register simultaneously. You’ll see it written as:

  • 2KRO — Two keys guaranteed. Common on basic office/membrane keyboards.
  • 6KRO — Six keys plus modifiers (Shift, Ctrl, Alt, Win). The USB HID boot protocol standard.
  • NKRO (N-Key Rollover) — Every key on the keyboard can be held down at once and all register. Requires per-switch diodes.

NKRO means multiple simultaneous keys can be registered, subject to the keyboard’s implementation and connection mode. Not every keyboard supports unlimited rollover in every operating mode.

Difference between 2KRO, 6KRO, and NKRO

Specification Simultaneous Keys Typical Use Case Connection Dependency
2KRO 2 (plus modifiers sometimes) Basic typing, data entry Works everywhere
6KRO 6 non-modifier keys + modifiers General use, most gaming Standard USB HID
NKRO Unlimited (full keyboard) Competitive gaming, complex macros Often requires PS/2 or specific USB mode

The USB factor: Standard USB HID limits reports to 6 keys + 8 modifiers. Many “NKRO” keyboards only deliver true NKRO over PS/2, or via a proprietary USB mode that must be toggled (often a key combo like Fn + N or a physical switch). In standard USB mode, they fall back to 6KRO.

Why keyboard matrix design matters

Keys aren’t wired individually — that would need 100+ traces. They sit in a matrix: rows × columns. The controller scans rows, reads columns. A keypress connects one row to one column.

Without diodes, pressing three keys that share rows/columns creates a “ghost” fourth connection. Adding a diode per switch (standard on mechanical keyboards) blocks reverse current, eliminating ambiguity. Membrane keyboards can’t easily add per-key diodes, so they rely on matrix layout optimization — placing common gaming combos (WASD, modifiers) on separate electrical paths.

How keyboard matrix limitations affect gaming

Gaming demands simultaneous inputs that typing rarely does:

  • Movement cluster: W + A/D + Shift (sprint) + Space (jump) = 4 keys
  • Combat: Ctrl (crouch) + Shift (walk) + W + R (reload) = 4 keys
  • Fighting games: Multiple attack + direction + macro keys simultaneously

On a 2KRO board, holding W + D already uses your budget — Space gets blocked. On 6KRO, you have headroom for most combos. NKRO removes the limit entirely.

Why some combinations fail while others work

It’s not about how many keys — it’s about which keys share matrix rows/columns.

On a typical staggered matrix:

  • W A S D often share rows with Q E R F — combos within this cluster block easily
  • W + Space + Shift often work because they’re on different rows/columns
  • Modifier keys (Shift, Ctrl, Alt) are often on dedicated columns, so they combine freely

This is why “anti-ghosting” marketing focuses on WASD clusters — manufacturers route those keys on isolated paths.

Hardware vs. software limitations

Layer Limitation Example
Hardware Matrix wiring, diode presence Membrane board without diodes → hard 2KRO/6KRO limit
Firmware Report protocol, rollover mode NKRO toggle off → falls back to 6KRO over USB
OS/Driver HID report parsing Windows/Linux/macOS all handle 6KRO; NKRO needs specific driver support
Browser Event delivery Browsers forward OS events; can’t see keys the OS doesn’t report

The test only shows what reaches the browser. If the OS or driver blocks a key, the browser never sees it — and neither does our tester.

How gaming keyboards handle simultaneous keypresses

Mechanical (per-switch diodes): Every switch has its own diode. True hardware NKRO. The only limit is the USB report protocol (6KRO) unless a special mode is used.

Membrane (optimized matrix): No per-key diodes. Manufacturers isolate critical zones (WASD, modifiers, Space) on separate matrix branches. “Anti-ghosting” = “these specific combos won’t block.” Other combos may still block.

Hybrid: Some budget boards add diodes only to the WASD/modifier cluster. Partial NKRO for gaming combos; rest of keyboard remains limited.

How to test keyboard ghosting online

Use the Anti-Ghosting Test — it’s built for this exact purpose. It has presets for gaming combos, tracks maximum simultaneous keys, and shows a live virtual keyboard.

Step-by-step test tutorial

1. Open the Anti-Ghosting Test Go to /anti-ghosting-test/ — you’ll see the main dashboard with metrics, a virtual keyboard, and preset buttons.

2. Start with the WASD preset Click WASD in the preset bar, then START TEST. The target combination appears (e.g., W + A). Press and hold both keys physically. Watch the virtual keyboard — both should light up green.

3. Progress through the sequence Click Next Combo → to advance. The test escalates:

  • W + A (2 keys)
  • W + A + D (3 keys)
  • W + A + S + D (4 keys — diagonal strafe)
  • W + A + S + D + Shift (5 keys — add sprint)
  • W + A + S + D + Shift + Space (6 keys — add jump)

At each step, hold all required keys simultaneously. The “Detected Keys” counter should match “Expected Keys.”

4. Check the Key Rollover Tier Matrix Below the virtual keyboard, the tier boxes (2-Key through NKRO) update in real time. Green = passed at that tier. The highest green tier is your keyboard’s practical rollover in this browser session.

5. Switch to the Gaming preset Click Gaming preset. This tests the specific combinations from the tool’s built-in list:

  • W + A + S + D — Multi-directional strafe
  • W + Shift — Sprint maneuver
  • W + Space — Jump/bunny hop
  • Ctrl + Shift + Key — Crouch-slide, push-to-talk
  • Alt + Tab / Shift — Overlay/weapon switch

6. Switch to the Modifiers preset Click Modifiers to test heavy modifier stacks:

  • Ctrl + Alt + Shift + Key
  • Ctrl + Alt + Shift + Win + Key
  • Multiple modifiers with letter/number keys

7. Try Custom mode for your specific combos Click Custom, then click keys on the virtual keyboard to build your own combination. Press Run Test to evaluate it. Use this for game-specific binds (e.g., your exact ability rotation).

8. Review the Report Card The right sidebar shows: Overall Result, Combos Tested, Passed/Partial/Failed, Maximum Detected, Detection Rate. A “PASS” at NKRO tier means your keyboard registered every combination thrown at it.

Interpreting testing results

Result What it means
All tiers green (NKRO passed) True hardware NKRO (or NKRO mode active). Every combo registered.
6-Key green, 8-Key/NKRO red Standard 6KRO. Normal for USB keyboards in default mode.
3-Key or 4-Key max Limited anti-ghosting (WASD cluster works, broader combos fail). Typical of budget membrane “gaming” keyboards.
WASD passes, but Ctrl+Shift+Key fails Partial anti-ghosting — gaming cluster optimized, modifier stacks not.
External keyboard passes, laptop built-in fails Laptop keyboard matrix limitation. Common on ultrabooks.

Browser/OS limitations: If your keyboard has a hardware NKRO toggle, enable it and re-test. Some OS hotkeys (Ctrl+Alt+Del, Win+Tab, Cmd+Tab on Mac) are intercepted before the browser — test those combos in-game for real-world confirmation.

What to look for when purchasing a gaming keyboard

  1. Explicit “NKRO” or “Full N-Key Rollover” in specs — not just “anti-ghosting.”
  2. Per-switch diodes — listed in specs for mechanical boards. Guarantees hardware NKRO capability.
  3. NKRO toggle or PS/2 support — if you need true NKRO over USB, confirm the board has a mode switch (often Fn + N or a physical DIP switch).
  4. WASD/Modifier cluster optimization — even on membrane boards, this matters most for gaming.
  5. Test before your return window closes — run the Anti-Ghosting Test the day it arrives.

FAQs

What’s the difference between ghosting and blocking?

Ghosting = a key you didn’t press registers. Blocking = a key you did press doesn’t register. Modern keyboards block instead of ghosting; gamers use “ghosting” to mean both.

Does NKRO mean unlimited keys in every mode?

No. NKRO is a hardware capability (per-switch diodes). Over standard USB, the HID protocol limits reports to 6 keys + modifiers. True NKRO often requires PS/2 or a proprietary USB mode enabled via toggle.

Why does my keyboard pass some 6-key combos but fail others?

Matrix topology. Keys sharing rows/columns block; keys on isolated paths don’t. Gaming-optimized matrices isolate WASD/modifiers.

Can I test NKRO in a browser?

You can test observed simultaneous keys in the browser. If the browser receives all keys, your hardware+OS+driver chain supports that rollover. The test cannot verify hardware diodes directly.

Do I need NKRO for typing?

Almost never. Typing rarely exceeds 2-3 simultaneous keys. 6KRO is plenty. NKRO matters for gaming combos and specific modifier-heavy shortcuts.

Will a USB hub affect rollover testing?

A hub doesn’t change rollover, but a faulty or unpowered hub can drop packets, mimicking blocking. Test directly connected to the motherboard.

Does the Anti-Ghosting Test work on mobile?

Mobile browsers don’t receive physical keyboard events the same way. Test on desktop for accurate results.

My keyboard claims NKRO but only shows 6KRO in the test.

Check for an NKRO toggle (often Fn + N, Fn + F12, or a physical switch). Also try a PS/2 adapter if the board supports it. Some boards only do NKRO in BIOS/UEFI mode.

Can a firmware update add NKRO?

Only if the hardware has per-switch diodes but shipped with NKRO disabled. Firmware can’t add diodes to a membrane board.



Test your keyboard now: Open the Anti-Ghosting Test →

READY TO TEST YOUR KEYBOARD?

Test every key directly in your browser

Detect stuck keys, key chatter, input latency, and full rollover with our instant, zero-download diagnostic tool.

Start Keyboard Test →
SHARE THIS ARTICLE
FREE BROWSER TOOL

Test Your Keyboard in Seconds

Compatible with all mechanical, membrane, laptop, Mac, and gaming keyboards. Zero installation or registration needed.

Start Keyboard TestTry Typing Speed Test