KT
KEYTESTER PRO
Engineering Knowledge Base

Keyboard Architecture & Diagnostic Guide

Everything you need to know about switch contact leaves, matrix trace jamming, debounce algorithms, and embedded controller hardware.

01

What is Keyboard Ghosting & Matrix Jamming?

Circuit Analysis & Matrix Scanning

Keyboards organize their internal electronics into a grid of intersecting horizontal rows and vertical columns called a switch matrix. When you press a key, the switch bridges an intersection, closing the circuit.

The 3-Key Ghosting Triangle

On cheaper membrane keyboards without individual diodes, pressing three keys that share two rows and two columns causes electrical current to backfeed across the matrix. The microcontroller cannot tell which keys are actually down and may either register a phantom fourth key (Ghosting) or lock up and refuse to register any further keys (Jamming / Blocking).

Modern mechanical keyboards eliminate this flaw entirely by soldering a dedicated isolation diode (1N4148) onto each switch, ensuring unidirectional current flow.

02

N-Key Rollover (NKRO) vs 6KRO USB Limits

USB HID Endpoint Protocol

The original USB Human Interface Device (HID) Boot Specification was limited to transmitting an 8-byte input report: 1 byte for modifier flags (Ctrl, Alt, Shift, GUI), 1 reserved byte, and exactly 6 keycode bytes. This created the classic 6KRO (6-Key Rollover) limit.

How True NKRO Bypasses the 6-Key Limit

Gaming keyboards achieve Full NKRO over USB using custom HID report descriptors that treat the entire 104+ key gamut as a continuous bitmask (typically 16 to 32 bytes where each bit represents a distinct key switch). This permits pressing every single key on the keyboard simultaneously without a single drop.

KeyTester Pro continuously tracks your concurrent keys and unlocks the Full NKRO badge whenever your hardware proves rollover beyond standard 6KRO limits.

03

How to Diagnose Key Chattering (Double-Typing)

Contact Bounce & Microcontroller Debounce

Key chattering occurs when pressing a key once produces multiple characters (e.g., typing "kkeyy" instead of "key"). This is the most common hardware failure in mechanical keyboards.

Root Causes & Diagnostics

Contact Leaf Bounce: On downstroke, flexible copper leaves physically collide and bounce microscopically before settling. If dust, liquid, or oxidation coats the contact leaf, bouncing lasts longer than the microcontroller debounce filter window (usually 5ms-15ms), causing duplicate keypress events.

Fixing Chattering: Before replacing the switch, try blowing compressed air into the stem or applying a drop of high-purity isopropyl alcohol (IPA 99%) while repeatedly depressing the switch.

04

Why Doesn't the 'Fn' Key Light Up on Testers?

Embedded Controller (EC) Interception

One of the most frequent support questions is: 'Why does every key test green except for my Fn key?'

Hardware Layer vs OS Layer

On laptops and compact mechanical keyboards, the Fn (Function) key is not wired to send a standard HID scan code to the operating system. Instead, it is routed directly to the laptop motherboard Embedded Controller (EC) or the keyboard internal MCU.

When you hold Fn and press F2 (volume down), the keyboard microcontroller synthesizes and sends the AudioVolumeDown scancode. The operating system and web browser never receive an isolated event for the Fn key itself.

Ready to audit your physical switches?

Run real-time mechanical switch sound preview and pro-grade latency diagnostics directly in your browser with zero software installations.