Keyboard & Mouse Tester

Keyboard & Mouse Tester

Click anywhere on this page, then press keys / mouse buttons. Items light up and stay lit. Click any on-screen key/button to toggle it off, or use “Clear”.
Note: Print Screen is often handled by the OS and may not be visible to the browser.

Focus: unknown Tip: OS/browser shortcuts may steal some keys.
pressed (down right now)
latched (stays lit)
keyup missing / lost focus
System keys
Navigation
Arrows
Numpad
Left
Middle
Right

Last input

Type
code
key
location
repeat
ctrl/shift

Notes

Uses KeyboardEvent.code for physical key mapping. Some keys (notably Print Screen) may be intercepted by the OS and never reach the browser.