Button diagnostics
Mouse button test
See which mouse button presses reach your browser, including primary, middle, secondary, and exposed side buttons.
How to run it: Start the test, keep the pointer in the test area, and press each mouse button at least once during the 10-second session.
Connect a mouse to test its buttons. Touch and pen events are ignored so they are not mislabeled as mouse hardware input.
Ready
Start, then press every mouse button inside this area.
No mouse event observed yet.
Start the test to observe mouse pointer down and up events. Keyboard, touch, and pen input are not counted.
| Button | State | Completed presses | Last event |
|---|
Interpretation
How to test mouse buttons
This mouse button tester records left, middle, and right input while the session is running. A completed press means the page received both a pointer-down and pointer-up event for that logical button, so the count confirms repeated activity without implying a hardware quality score.
For a hold mouse button test, keep the button pressed inside the area and watch its state change to Pressed; release it to complete the press. If a primary button is missing, repeat the test, keep the pointer inside the area, and try another browser or USB connection.
Limitations
What a button test can and cannot show
A browser-based mouse button test shows the input events that reach the page, not the condition of a physical switch. The same applies to a middle mouse button test: a completed event confirms browser-observed input, not a definitive hardware diagnosis.
Auxiliary buttons do not have identical mappings across browsers and operating systems. Device software can remap or intercept them before a page receives an event, so an unobserved side button is reported neutrally rather than marked as broken.
How it works
How this mouse button press test works
The monitor listens for pointer events whose pointer type is mouse. It maps the browser’s numeric button code to a readable name and counts a press only after a matching down–up sequence.
Button state is released if the interaction is cancelled or the window loses focus, preventing a stale “pressed” indicator. Touch, pen, and keyboard actions do not count as mouse buttons.
Continue diagnosing
Related mouse tests
Useful answers
Mouse button questions
How do I test if my middle mouse button is working?
Start this middle mouse button test, keep the pointer in the test area, then press and release the wheel. The M indicator should show its pressed state, and the Middle row should gain one completed press after you release it.
Can I test a held mouse button?
Yes. During an active session, press and hold left, middle, or right inside the test area. The button remains marked as pressed until you release it; the completed-press count updates after the matching release.
Can I test mouse buttons on Windows 11?
Yes. This browser-based mouse button tester works in a current Windows 11 browser without installing mouse button test software. It shows the input events that reach the page, which may differ when device software or another app intercepts them.
Which mouse buttons can the browser report?
Browsers commonly report primary, middle, and secondary buttons. Back, forward, and additional buttons may also be exposed, but mappings vary by mouse, operating system, and browser.
Why was my side button not detected?
Some side buttons are intercepted by browser navigation, device software, or the operating system. No observed side-button event does not by itself prove that the physical button is defective.
Does keyboard input count as a mouse click?
No. This test only counts pointer events identified as mouse input. Touch, pen, and keyboard activation are ignored.