What you can do with Mouse Tester
- Test mouse buttons for double click issue
- Check mouse scroll wheel
What this hardware diagnostic tests
Inspect browser-received mouse movement, left, middle, and right clicks, the latest wheel delta, and rapid repeated clicks. It reports browser events and cannot diagnose a hardware fault by itself.
Example input
Left click once; move the pointer; scroll with deltaY -120; click the left button again within 60 msExample output
Left clicks: 2; latest scroll delta: 0, -120; pointer movement shown; one rapid same-button repeat flaggedPractical workflow
- Click inside the test area with the left, middle, and right mouse buttons; the counters record events received by the page.
- Move the pointer around the area and check that the marker follows its latest position.
- Scroll over the area and read the latest horizontal and vertical wheel delta reported by the browser.
- Click the same button twice within 60 milliseconds to see the rapid-click indicator, then use Reset to clear the readings.
Common use cases
- Confirming that a browser page receives left, middle, and right button events from a mouse.
- Checking whether a mouse wheel produces horizontal or vertical scroll events in the current browser.
- Observing unusually fast repeated click events while troubleshooting a suspected switch problem.
Important notes and limitations
- The indicator compares consecutive events for the same button and flags intervals shorter than 60 milliseconds; the first click is only a baseline, and the timing cannot establish whether the cause is switch bounce or intentional input.
- The page holds left, middle, and right mousedown events, pointer movement, and the latest wheel delta in tab memory. It does not send those readings to EasyUtils or measure DPI, polling rate, side buttons, or wheel encoder consistency.
Browser Hardware API & Pointer Event Diagnostics
Measure USB mouse polling rate with evhz (Linux)
sudo evhzCalculates exact hardware polling rate in Hertz (125Hz, 500Hz, 1000Hz) from kernel USB interrupt packets.
Polling rate limits & double-click switch degradation
Mouse polling rate capped at 125Hz / 250Hz in browser
Cause: Browser requestAnimationFrame loop and OS compositing throttle pointer event delivery relative to hardware rate.
Solution: Inspect high-frequency pointer movement using PointerEvent.getCoalescedEvents() for microsecond-level accuracy.
Accidental double-clicks on single press (Mechanical switch bounce)
Cause: Oxidized microswitch contacts causing electrical bounce within 5-15 milliseconds.
Solution: Increase debounce delay in mouse firmware software or replace mechanical Omron switch with optical switches.
Continue your workflow
- Keyboard Tester — test keyboard switches and rollover matrix.
- Gamepad Controller Tester — test analog triggers and joystick drift.
Frequently asked questions
Why do mechanical mouse switches develop double-click issues over time?
Mechanical switches rely on metal leaf springs that degrade with oxidation and mechanical wear, causing electrical bounce that registers as two distinct clicks.
When does the rapid-click indicator appear?
It appears when consecutive mousedown events for the same button arrive less than 60 milliseconds apart. That timing alone cannot distinguish intentional fast clicking from a hardware switch problem.
Does this page measure DPI, polling rate, or side buttons?
No. It displays browser-received left, middle, and right clicks, pointer movement, the latest wheel delta, and rapid repeated clicks; it does not read DPI, polling rate, or side-button hardware.