Ready to Test
0 clicks recorded
00:00.000 elapsed
🔘
Mouse Button Tester
Click anywhere in this zone with any mouse button
Left Button
mouse button detected
Button 0
browser button index: 0

Button Status

Left
Right
Middle
Back
Forward
Other
0
Total
0
Left
0
Right
0
Middle
0
Side

Session Stats

Total Clicks0
Left Button0
Right Button0
Middle Button0
Side Buttons0
Last Button
Chatter Events0

Click Log

No clicks yet. Click the test zone above.

🔘

What This Tests

Every mouse button press is captured and identified in real time. You can verify all physical buttons are registering correctly with the browser before reporting a hardware fault.

⚙️

Button Index API

Browsers assign each button a numeric index: 0 = left, 1 = middle, 2 = right, 3 = back, 4 = forward. This follows the W3C MouseEvent.button specification.

🎮

Side Buttons

Mouse buttons 3 (Back) and 4 (Forward) are commonly found on gaming mice. Some browsers intercept these for navigation — disable browser gestures if they do not register.

Debounce & Chatter

A worn mouse switch can register multiple clicks from a single press (chatter). Use this tester to check whether a single click is registering as more than one event.

Frequently Asked Questions

Simply move your cursor over the dark test zone and click any button. The tester instantly highlights which button was pressed and adds it to the click log, so you can verify every button is registering correctly.
The tester suppresses the browser context menu so right clicks register correctly inside the zone. If right click still doesn't show up, the button may be physically damaged or your driver may be remapping it to something else.
Yes. Mouse Button 3 (Back) and Button 4 (Forward) are detected and displayed. Some browsers may intercept these for page navigation — if so, try disabling browser mouse gestures in your browser settings.
The middle button is activated by pressing down on the scroll wheel. It is Button 1 in the browser API (displayed here as Middle). It is commonly used for opening links in new tabs or activating auto-scroll.
The browser MouseEvent API supports up to 5 standard buttons (0–4). Additional programmable buttons on gaming mice are usually remapped by driver software to keyboard keys or macros, which cannot be detected as raw mouse buttons in a browser.
✓ Result copied to clipboard!