MOUSEDIAG

Mouse Button & Scroll Test

Click each button on your mouse and spin the wheel — watch them light up on the diagram, including middle-click, the side buttons, and scroll direction.

Interactive mouse diagram A top-down view of a mouse. Pressing a button on your physical mouse highlights the matching area: left, right, middle (scroll wheel), and the two side buttons.
Last button
—
Held
—
Clicks
0
Scroll
—
Wheel lock
—
  1. Hover your cursor over the mouse illustration, then press each button on your mouse and check if it lights up.
  2. Point your mouse cursor at the mouse illustration and then spin the scroll wheel on your mouse up and down.
  3. Check if the arrows on the illustration also light up.
Note
  • Right-click and the side buttons are captured here, so they won't open the menu or navigate the page.
  • A single middle (wheel) click toggles a locked highlight — click it again to release.

What this checks

Every button on a mouse sends a distinct code: left (0), middle (1), right (2), and the back (3) and forward (4) side buttons. This test reads those codes directly and shows which one your hardware actually sent — a fast way to confirm a button works or spot a dead one.

The held indicator

Hold several buttons at once and the Held pill decodes the full button bitmask, so you can verify simultaneous presses register correctly too.

Scroll wheel too

Point your cursor at the illustration and spin the wheel — the up/down arrows light up and the Scroll indicator shows the direction, so you can check the wheel encoder for skipped or reversed steps without leaving this page.

FAQ

How do I test my mouse buttons?

Press each button on your mouse while pointing at the diagram above. The matching area lights up, and the Last button / Held pills show what fired. Left, right, middle (scroll click) and the two side buttons are all supported.

Why doesn't right-click open a menu here?

We suppress the context menu and the browser's back/forward navigation inside the test so every button is actually testable. Outside the test they behave normally.

My side buttons don't register — why?

Some mice map side buttons to keyboard shortcuts or macros in their software rather than the standard back/forward button codes. In that case the browser never sees a button event. Check your mouse's software.

How do I test my scroll wheel here?

Point your cursor at the mouse illustration and spin the wheel up and down. The up/down arrows light up and the Scroll indicator shows the direction, so you can spot a wheel that skips steps or jumps the wrong way.