Complete User Guide to Keyboard Testing, N-Key Rollover (NKRO) & Switch Chatter Detection
How Physical Keycodes, N-Key Rollover (NKRO), and Switch Chatter Work
Whether you just unboxed a new mechanical keyboard, cleaned keycaps, or suspect a failing laptop membrane switch, testing physical key registration in your browser reveals dead switches, key ghosting, and double-typing chatter immediately. Modern browsers expose the physical switch position via KeyboardEvent.code (such as KeyA, ShiftLeft, ShiftRight, or NumpadEnter)—allowing this tester to distinguish left modifiers from right modifiers and main-row digits from numpad digits independently of your active OS language layout. Holding down multiple keys at once measures your keyboard's Key Rollover (NKRO / 6KRO) capability: budget membrane keyboards often block or "ghost" a third or fourth simultaneous key in the same matrix row, whereas gaming and mechanical keyboards with anti-ghosting diodes register 6, 10, or all keys simultaneously. Additionally, measuring the millisecond interval between consecutive presses of the same physical switch flags rapid < 35 ms re-triggers caused by worn mechanical switch contacts (key chatter). A browser-based Keyboard Test runs 100% locally in your browser—with zero server uploads.
How to Test Your Keyboard in 3 Easy Steps
- Select Full 104-Key or TKL (87-Key) Layout: Choose Full 104-Key (+ Numpad) for full-size desktop keyboards or TKL / Laptop (87-Key) to hide the numeric keypad when testing compact laptops and tenkeyless boards.
- Press Every Key & Test Multi-Key Combos: Tap across every row—each key flashes blue while pressed and turns emerald green once verified—and hold down several keys together to check your maximum simultaneous NKRO count.
- Inspect Chatter Warnings & Export Report: Check the Chatter / Double-Tap counter for accidental double registrations, then export your coverage report via Copy Keyboard Report or Download .txt.
Keyboard Diagnostics & Rollover Metrics
Three hardware indicators summarize your keyboard's health:
Peak Rollover (NKRO) = max(Simultaneously Held Keys) | Chatter Alert = Same-Key Interval < 35 ms
Helpful Tips When Testing Laptop & Mechanical Keyboards
- Browser Shortcut Prevention: While this page is focused, browser shortcuts like
Tab,Space,F1–F12, and arrow keys are intercepted so they highlight on the virtual keyboard instead of scrolling the page or opening help menus (note that OS-level reserved keys likePrtScorWin/Cmdmay still be captured by Windows or macOS before reaching the browser). - Check NumLock When Testing the Numpad: Toggling
NumLockchanges numpad sub-labels in Windows/Linux, while physicalNumpad0–9codes still illuminate cleanly. - Fixing Switch Chatter on Hot-Swappable Keyboards: If one mechanical key consistently triggers a
< 35 mschatter warning or fails to light up, pulling and reseating—or swapping—that individual switch usually resolves the fault.
Worked Example: Pressing across all 87 keys on a TKL mechanical keyboard and holding W + A + Shift + Space + E + R simultaneously confirms 100% switch coverage, 6+ key rollover without matrix ghosting, and 0 switch chatter warnings.