Keyboard Tester
Professional-grade mechanical keyboard diagnostic tool. Features N-Key Rollover (NKRO) testing, chatter detection, latency analysis, and a massive switch specification database.
About
This utility is engineered for mechanical keyboard enthusiasts, developers, and hardware technicians who demand precision in input diagnostics. Unlike generic text-based testers, this tool bypasses standard input processing to capture raw `ScanCode` and `KeyCode` events directly from the DOM Level 3 Events API. This allows for the detection of hardware-level faults such as switch chatter (unintended double actuation), ghosting (signal failure in the matrix), and NKRO (N-Key Rollover) limitations.
We have integrated a heuristic algorithm to measure the delta between key events. If a switch registers two `keydown` events within a window of 20 ms, it is flagged as "Chattering" - a common failure mode in oxidizing metal contacts. Additionally, the tool includes a massive database of mechanical switch specifications, allowing users to compare actuation forces and travel distances for over 60 industry-standard switches.
Formulas
To detect potential switch failure, we monitor the Inter-Key Latency (tΔ). Mechanical switches require a physical debounce time. If a signal repeats faster than the physical limit of the leaf spring, it indicates electrical chatter.
Condition for Chatter Failure:
We also estimate the Effective Polling Rate (R) based on the minimum observed delta between distinct key events:
Reference Data
| Manufacturer | Switch Model | Type | Actuation cN | Bottom Out cN | Pre-Travel mm | Total Travel mm |
|---|---|---|---|---|---|---|
| Cherry | MX Red | Linear | 45 | 60 | 2.0 | 4.0 |
| Cherry | MX Blue | Clicky | 60 | 60 | 2.2 | 4.0 |
| Cherry | MX Brown | Tactile | 55 | 60 | 2.0 | 4.0 |
| Cherry | MX Black | Linear | 60 | 80 | 2.0 | 4.0 |
| Cherry | MX Speed Silver | Linear | 45 | 70 | 1.2 | 3.4 |
| Gateron | Yellow (KS-3) | Linear | 50 | 65 | 2.0 | 4.0 |
| Gateron | Ink Black V2 | Linear | 60 | 70 | 2.0 | 4.0 |
| Gateron | Blue | Clicky | 60 | 55 | 2.3 | 4.0 |
| Kailh | Box White | Clicky | 50 | 60 | 1.8 | 3.6 |
| Kailh | Box Jade | Clicky | 50 | 65 | 1.8 | 3.6 |
| Kailh | Box Navy | Clicky | 60 | 90 | 1.8 | 3.6 |
| ZealPC | Zealio V2 67g | Tactile | 67 | 67 | 2.0 | 4.0 |
| ZealPC | Tealio V2 | Linear | 67 | 67 | 2.0 | 4.0 |
| Topre | Electro-Capacitive | Tactile | 45 | 45 | 2.0 | 4.0 |
| Drop | Holy Panda | Tactile | 67 | 67 | 2.0 | 4.0 |
| NovelKeys | Cream | Linear | 55 | 70 | 2.0 | 4.0 |