Test your computer keyboard for ghosting, key rollover, and input lag. Check how many simultaneous keys your device registers with this free browser tool.
AI Generation Prompt
Technical Specification: Universal Keyboard Ghosting and Rollover Utility
Overview
A comprehensive, browser-based diagnostic utility designed to visualize physical keyboard hardware performance. It detects ghosting, measures rollover capabilities, and provides real-time latency feedback for mechanical, membrane, and laptop keyboards.
User Interface Design
- Visual Style: Minimalist dark-mode interface. Background color
#121212, text colors#E0E0E0(primary) and#00E676(active state). - Key Layouts: Dynamic rendering of standard ANSI and ISO keyboard layouts (Full-size, Tenkeyless, 60%).
- Responsive Structure: Flexbox-based container that adjusts key size relative to screen width.
Core Interactive Features
- Real-time Key State Mapping:
- Each key is a visual tile.
- States:
Idle(Gray),Pressed(Lime Green),Ghosted/Error(Warning Red).
- Simultaneous Key Counter (NKRO Tracker):
- A prominent header display showing the current number of keys held down.
- Historical "Max Rollover" counter to track the keyboard's peak performance during a session.
- Ghosting Detection Algorithm:
- System compares hardware interrupt events against expected keyboard matrix patterns to flag ghosting (hardware inability to register specific combinations).
- Input Duration & Latency Logger:
- A secondary panel that lists every key press with a timestamp, recording how long the key was held, enabling users to check for "chattering" (double-input issues).
- Keyboard Heatmap Mode:
- A toggle that overlays a color gradient based on frequency of use (Red for high frequency, Blue for low).
- Session Logging:
- Ability to export key press logs as a JSON or CSV file for debugging purposes.
Technical Implementation
- Framework: Vanilla JavaScript (ES6+) for zero-latency event handling; HTML5/CSS3 for layout.
- Event Handling: Utilizes
window.addEventListener('keydown')andwindow.addEventListener('keyup'). - Input Sanitization: Intercepts
preventDefault()on browser shortcut keys (like Ctrl+N or Ctrl+W) while the app is active to allow full testing. - Storage: Use
localStorageto save user preferences like layout choice (ANSI vs. ISO) and dark/light mode.
Accessibility & SEO
- ARIA Compliance: All keys are labeled for screen readers.
- Keyboard Control: The app provides a specific 'Focus Mode' where it traps inputs to ensure the browser doesn't interpret navigation keys while testing.
- SEO Focus: Heavy use of descriptive meta tags and semantic HTML5 headers to rank for long-tail search queries related to keyboard hardware troubleshooting.
Spread the word
Files being used
Frequently Asked Questions
Everything you need to know about using this application.
What is keyboard ghosting?
Keyboard ghosting occurs when a keyboard fails to register specific key combinations because its internal circuit matrix cannot handle them. This tool helps identify these limitations by highlighting unregistered keys during multi-key inputs.
What is N-Key Rollover (NKRO)?
N-Key Rollover (NKRO) is a feature that allows a keyboard to register every key press simultaneously, regardless of how many are held down. This tool measures your keyboard's rollover limit by tracking simultaneous inputs.
How does this tool detect keyboard ghosting?
The application listens to DOM keydown and keyup events. If you press a combination of keys and the application registers the inputs but the physical keyboard hardware fails to transmit them, or if the hardware registers a phantom key, our visual interface will highlight the discrepancy.



