Mouse Test
Click every button on your mouse. Each one lights up below the instant the browser receives it — if a button never lights up, the signal isn't reaching the browser at all.
Click anywhere in this area with left, right, and middle buttons, scroll the wheel, drag, and — if your mouse has them — press the thumb side buttons.
What this actually tests
The browser sees mouse buttons as numbered inputs, not physical parts — button 0 is left, 2 is right, 1 is the wheel, and 3/4 are the thumb buttons. This page reports what actually arrives at that level, so a button that never registers here has failed somewhere between the switch and the driver, not in your software.
If a button doesn't respond
- Try a different USB port, and a different cable if it has one.
- Test on another computer — that separates the mouse from the driver.
- Check the vendor software. Side buttons are often remapped to nothing by default.
- Reinstall the driver, then re-run this test before buying a replacement.
Clicking twice when you click once?
Double-click testHow the readout is built
Everything above comes from Pointer Events — the modern API that unified mouse, pen and touch input behind one set of events. The page listens for pointerdown, pointermove, pointerup and wheel, and reads four things off each one: which button changed, where the pointer was, how far it has travelled since the press, and how much the wheel turned.
Buttons are numbers, and two of them fight the browser
A pointer event reports the button that changed as e.button: 0 for left, 1 for middle, 2 for right, then 3 and 4 for the side buttons most mice map to Back and Forward. That is the mapping the zones above light up from, which is why the test can tell a dead middle-click from a dead right-click without knowing anything about your particular mouse.
Two of those would normally be taken by the browser itself: right-click opens the context menu, and middle-click opens a link in a new tab or starts autoscroll. This page cancels both — contextmenu and auxclick are suppressed inside the test area — so you can press them and see the result instead of losing the page. It is also why right-clicking works normally again the moment your pointer leaves the box.
The side buttons are the least reliable to test anywhere, and not because of the mouse. Many mice send Back and Forward not as buttons 3 and 4 but as the keyboard shortcuts for browser navigation, configured that way in the manufacturer's software. If yours does, pressing them navigates your history and no button event ever arrives — the side-buttons guide covers telling those two cases apart.
Why a drag keeps working outside the box
When you press down, the page calls setPointerCapture, which routes every subsequent event for that pointer to the test area until you release — even if the cursor travels well outside it. Without that, a drag would silently stop being tracked at the edge and a perfectly good mouse would look like it had a drag fault. It is the same mechanism that keeps a slider working when your hand wanders off it.
What the coordinates are, and what they are not
The position shown is in CSS pixels, relative to the top-left of the test area. That is a deliberate but real limitation: a browser is never told how far your mouse physically moved. It is told where the cursor ended up, after the sensor's counts have been scaled by your DPI setting, then by the operating system's pointer speed and any acceleration curve, then by the page's zoom level and the display's device pixel ratio. Those layers are not reversible from inside a page.
The practical consequence is worth stating plainly, because plenty of sites claim otherwise: no browser tool can read your mouse's DPI or its polling rate. It can observe how often events arrive and how far the cursor moved between them, and infer something approximate from that — but inference is not measurement, and both figures are better read from your mouse's own software. What this page can establish, definitively, is whether each button registers, whether movement is reported continuously, and whether the wheel reports in both axes.
Movement events are batched to your frame rate
One more thing that surprises people: a 1000 Hz mouse does not produce 1000 pointermove events per second. Browsers coalesce pointer movement, delivering roughly one event per animation frame — about 60 a second on a 60 Hz display — because firing a thousand handlers a second would wreck page performance for no visual benefit. The intermediate samples are not thrown away; they are retrievable through getCoalescedEvents(), which exists precisely because drawing and gesture-recognition code needs the full path. This page reads the delivered events as they arrive and does not unpack them, which is all a pass/fail check needs — and it is the second reason a browser's view of polling rate is indirect rather than measured.
FAQ
My mouse works in some apps but buttons don't light up here — why?
Some launcher or macro software intercepts buttons before the browser sees them, remapping a click into a keyboard shortcut or an app action instead of a real click event. Close vendor software like Logitech Options or Razer Synapse and try again — if the button lights up with that software closed, the remap is the cause, not a hardware fault.
Do side buttons work on every mouse?
No — only mice that physically have thumb buttons will register anything on Back/Forward, and even then some budget mice wire them as keyboard shortcuts rather than real mouse buttons, so they won't show up here at all. That's normal for that hardware, not a defect.
Can this test detect a failing sensor?
Indirectly. If movement never registers regardless of surface, cable, or USB port, that points to the sensor or its connection rather than a setting. But a sensor that mostly works with occasional jumps or dropouts needs the surface and connection checks in the guide above before you write it off as hardware failure.
Related tools
Double-Click Test
Catch a worn switch firing twice on one click.
Scroll Test
Check wheel direction and consistency.
CPS Test
Time your clicks-per-second.
Mouse not working
Wrong surface, connection, settings, or debris.
Mouse double-clicking on one click
Why switches wear out, and what actually fixes it.
Light on but cursor won't move
Sensor, surface, and connection checks.