Mouse Test

Check that every mouse button and the scroll wheel register, and catch a worn switch that double clicks. Click inside the test area to start.

Click every button and scroll the wheel inside this box.

Left (0)
0
Not pressed yet
Middle (1)
0
Not pressed yet
Right (2)
0
Not pressed yet
Back (3)
0
Not pressed yet
Forward (4)
0
Not pressed yet
Wheel
↑0 ↓0
Scroll up and down

Two presses of the same button closer together than 80 ms are flagged as a likely chattering switch.

How to use the mouse test

  1. Move your pointer into the test area. Right clicks, side buttons and scrolling won't affect the page while it's there.
  2. Press each button once: left, right, the wheel (middle click), and both side buttons. Each part of the diagram turns green once it has worked.
  3. Scroll the wheel up and down. The arrows above and below the wheel light up.
  4. To check for double clicking, click one button slowly 20 or 30 times. Every click should add exactly one to the count.

How the test works

Your browser numbers mouse buttons in every press it reports. The test reads that number, highlights the matching part of the diagram, and adds one to that button's count. Scroll events give a direction from the sign of their vertical movement.

For double clicks, the test stores the time of each press. When the same button is pressed again sooner than the threshold, that press is flagged. A human double click is a deliberate pair of presses, but a chattering switch makes contact twice within a few milliseconds, which is far faster than anyone clicks on purpose. The list under the counts shows the exact gap for each flagged press.

The test runs entirely in your browser. Nothing you click is sent anywhere.

Mouse button numbers

These are the button numbers browsers use, as defined in the web's UI Events standard. The test shows the same number next to each button.

NumberButtonUsual action
0Left (primary)Select, click links
1Middle (wheel click)Open links in a new tab, autoscroll
2Right (secondary)Context menu
3Back (side button)Previous page
4Forward (side button)Next page

Left-handed settings swap buttons 0 and 2 in your operating system, so the test will show them swapped too.

What the results mean

What you seeLikely cause
A button never turns greenThe switch is dead, or mouse software has remapped the button
Possible double clicks on one buttonA worn or dirty switch that bounces (chatters)
A held button lights up and goes dark on its ownThe switch loses contact while held, which breaks dragging
Only one wheel direction countsA faulty scroll encoder, or a wheel mode in the mouse software

More mouse tests

Frequently asked questions

How do I know if my mouse is double clicking?

Click the button you suspect slowly, one click at a time, inside the test area. If the click count goes up by two, or the tool lists a possible double click, the switch registered two presses for one click. A worn or dirty switch that bounces like this is called chattering.

Why don't my side buttons work in the test?

The browser only sees side buttons that send the standard back and forward signals (button numbers 3 and 4). If your mouse software maps a side button to a key, a macro or DPI switching, the browser receives that action instead of a button press. Reset the button to its default in the mouse software, then test again.

What double-click threshold should I use?

Start with the default of 80 ms. Real human double clicks are usually slower than that, so presses closer together are likely switch bounce. If you click very fast on purpose, lower the threshold. If you want to catch borderline cases, raise it a little and click slowly.

Can this test fix a double-clicking mouse?

No. The test only shows the problem. Common fixes are cleaning the switch with compressed air, updating the mouse firmware, using the warranty, or replacing the switch if you're comfortable soldering. Some mouse software also has a debounce setting that ignores very fast repeat presses.

Does the mouse test work on a laptop touchpad?

Partly. A touchpad tap or click counts as a left click, and a two-finger click usually counts as a right click. Touchpads don't have middle, back or forward buttons, and two-finger scrolling sends many small scroll events rather than wheel notches.

More free tools