Before you start
Start with one sentence describing what actually goes wrong. "The left button sometimes registers twice when I drag files" leads somewhere. "My mouse is broken" does not, because the four common faults — a dead button, a duplicate click, an uneven scroll wheel and an interrupted pointer path — each need a different sample and produce different evidence.
Rule out the cheap causes before you collect anything. Try a different USB port, and prefer a port directly on the machine over a hub, because unpowered hubs cause intermittent drops that look exactly like a failing sensor. If the mouse is wireless, replace the battery or connect the cable; a low cell produces skipped movement and missed clicks long before the pointer disappears.
Finally, decide what result would change your mind. If you are prepared to replace the mouse when a specific button repeatedly produces duplicate events while every other control stays clean, you have a real test. If nothing would convince you, no amount of sampling helps.
Run the check
Open the mouse test and work through the controls deliberately rather than clicking at random. Press left, right and middle several times each, then both side buttons. The tool counts pointerdown and pointerup separately for button indexes 0 through 4, so a button that registers a press but never a release shows up as an incomplete pair rather than as a vague failure.
Scroll both directions across the full range of the wheel, then move the pointer across the entire stage in slow sweeps and again in fast diagonals. Wheel direction is derived from the sign of each event delta rather than from page scroll position, and pointer samples enter a three-second ring buffer that draws the trail on canvas, so a gap in the trail is a gap in the events the browser received.
If the symptom is duplication, switch to the double click test instead of judging it from the general run. That page keeps only pointerdown timestamps for one selected button, marks intervals under 40 ms as suspect, and shows the whole interval distribution. Collect at least twenty presses at a steady rhythm; a single fast pair proves nothing because deliberate double-clicking lands in the same region.
For a wheel or tracking complaint, repeat the run on a different surface. Optical sensors struggle on glass, high-gloss desks and some dark fabrics, and a surface fault produces exactly the broken pointer trail that people attribute to a dying sensor.
Read your result
Read each signal on its own rather than looking for a single verdict. Independent button counts answer "does this control register at all". The duplicate interval distribution answers "does one press become two". The wheel counts answer "do both directions arrive". The pointer trail answers "is movement continuous". Combining them into one impression is how people end up replacing a working mouse.
A missing side button is the most common false alarm. Browsers reserve buttons 3 and 4 for back and forward navigation, so those may never reach the page even on a perfectly healthy mouse. Treat an unlit side button as inconclusive unless the same button also fails in an application that uses it.
For duplicates, look for a cluster rather than an outlier. A worn micro-switch bounces consistently: you will see a distinct group of intervals under 40 ms that reappears every time you repeat the run. One isolated 30 ms pair inside twenty clean presses is your hand, not the switch.
Measurement limits
A web page cannot inspect the switch itself. It sees the events the operating system chose to deliver, after the driver, after any vendor software, and after the browser's own coalescing. There is no access to switch wear, sensor firmware, USB packet contents or physical travel distance.
This matters most for intermittent faults. A clean five-minute run establishes that the sampled events arrived correctly during those five minutes. It cannot establish that a fault which appears twice a day will not appear again, which is why a longer sample and a repeated run carry far more weight than one perfect first attempt.
Vendor software adds another layer. Some drivers apply their own debounce, remap buttons, or change DPI on the fly. If a mouse behaves differently with its control panel closed, that difference is real evidence about the software layer rather than noise to ignore.
What to do next
A fault is credible when the same control fails repeatedly, across more than one USB port and more than one browser, while every other control on the same mouse stays clean. That pattern points at the device. A fault that moves between controls, or disappears in a second browser, points at software or connection instead.
Duplicate clicks specifically are worth pursuing rather than tolerating, because worn micro-switches are a known, replaceable failure and are frequently covered under warranty. Save or screenshot the interval distribution from a run of at least twenty presses; a support conversation goes much better with a repeatable measurement than with a description.
If the evidence is inconclusive after two clean runs, the most useful next step is usually to test the same mouse on a different computer. That single change removes the driver, the vendor software and the operating system from the equation at once, and it costs nothing.
Symptom table
| Symptom | Likely layer | Next action |
|---|---|---|
| One button never appears | Reserved action, connection or switch path | Repeat in the base mouse tool and another port |
| One press appears twice | Immediate duplicate events | Collect a longer double-click sample |
| Pointer path breaks | Surface, sensor or scheduling pause | Change surface and repeat the trail |
Common questions
How do I know if my mouse is dying or if it is the computer?
Change one layer at a time. A different USB port removes a port fault, a different browser removes browser-level coalescing, and a different computer removes the driver and operating system together. A fault that survives all three is almost certainly the mouse.
Can I test a mouse without downloading any software?
Yes. Everything described here runs in a browser tab and reads only the pointer events the page receives. No installer, driver or account is involved, and nothing about your device is uploaded.
Why does my mouse fail in one game but pass every test here?
Games often use raw input, higher polling and their own dead zones, none of which a page can see. If every browser-level check is clean and only one application misbehaves, investigate that application's input settings before suspecting the hardware.