A mouse test for Mac shows which mouse-button events your browser delivers to a local test target, using the Web labels Primary, Auxiliary, Secondary, Back, and Forward.
Use Mouse Tester on the Mac to establish a button-by-button baseline before troubleshooting an app. The check is deliberately narrow: it counts mousedown events that reach the visible dashed area, while the target suppresses its own context menu and auxiliary activation so a secondary or middle press does not immediately replace the result. A zero count means no matching event reached the page; it does not prove that the physical switch failed.

What the Mac Mouse Test Confirms
Mouse Tester listens for button-down events inside one large browser target. Every accepted event increases the total and its matching label count, while Recent keeps the latest eight accepted labels in the order received. That gives you a repeatable reference for what the browser exposed during the test.
The labels follow the Web platform’s MouseEvent.button mapping rather than assumptions about physical button positions. Primary usually means the main activation control and may be assigned to another physical side by operating-system settings; Auxiliary is commonly a wheel or middle button. The MDN MouseEvent.button reference and W3C Pointer Events specification describe the underlying mapping.
| Web button code | Mouse Tester label | Physical-control note |
|---|---|---|
| 0 | Primary | The main activation control; it may not be the physical left button. |
| 1 | Auxiliary | Often a wheel or middle button. |
| 2 | Secondary | The secondary browser event; do not assume a fixed physical side. |
| 3 | Back | Often an extra history-navigation control when exposed by the browser. |
| 4 | Forward | Often an extra history-navigation control when exposed by the browser. |
Any other integer is retained as an Unknown label with its numeric value rather than forced into one of the five known names. Fractional codes are rejected because the documented mapping uses integer codes.
Run the Browser Test on Your Mac
This procedure isolates one physical control at a time so that a missed event or unexpected code is easier to trace.
- Open the test page. Open Mouse Tester in the browser on your Mac and use the mouse you want to check. Keep the page visible because the tool records events only inside its visible target.
- Position the pointer. Move the pointer inside the dashed target and keep it there for each deliberate press.
- Press one button at a time. Work through the main activation button, wheel or middle button, secondary control, and any Back or Forward buttons your mouse exposes. Do not hold two buttons together because this test does not interpret simultaneous chords.
- Check each result. After every press, confirm that the total and matching named count increased and inspect Recent for the received label and order. If the browser delivered one button-down event, the total and matching count each rise once.
- Repeat the sequence. Start with one deliberate press per available button and confirm that the expected count increases once. Then repeat several times to reveal missing, duplicate, or inconsistent events.
- Reset for a clean baseline. Select Reset test to clear the in-memory session. Refreshing or closing the page also removes the current counts.
Read the Counters and Recent Order
The total represents accepted button-down events, the per-label counters separate those events by code, and Recent shows their delivery order. The Web API’s MouseEvent.button identifies the single button associated with a press or release, while MouseEvent.buttons is a bit field representing buttons currently held during other mouse events. Mouse Tester listens only to button-down events and classifies the single code on that event; it does not reconstruct a continuous held-button state.
| Observation | What it means | Next check |
|---|---|---|
| Total and matching count rise once | One button-down event carrying that code reached the target. | Continue the one-at-a-time pass and compare Recent. |
| Total rises, but the label is unexpected | The browser delivered a different code from the one expected for that physical control. | Identify the control you pressed and check Primary or secondary-button remapping. |
| Total does not change | No matching button-down event reached the target during that press. | Reset, press once again, and repeat the check in the affected app. |
| Total rises by more than one | More than one button-down event reached the page. | Compare the timing with a Double Click Test or the mouse manufacturer’s software. |
| Recent shows Unknown with a number | An integer outside the five named codes reached the target. | Record the number and review browser, extension, operating-system, remote, and accessibility software. |
Recent is a short live list rather than a complete record: it retains only the latest eight accepted labels. One accepted mousedown increments both the total and its matching label counter, so several displayed counters can rise from one event; only an increase of the total by more than one establishes that multiple button-down events reached the page. Comparing timing with a Double Click Test or manufacturer software can add context, but one browser session is not a repair diagnosis.
Compare the Mouse in the Affected Mac App
Repeat the test with the same device in the application where the problem occurs. Games, design tools, browsers, and operating systems can handle extra buttons differently, so the browser test is a baseline rather than a universal guarantee.
- Record the baseline. Note which physical control produced Primary, Auxiliary, Secondary, Back, Forward, or an Unknown numeric label in Mouse Tester.
- Open the affected application. Use the same mouse and perform the action normally associated with the suspect control.
- Repeat deliberate presses. Press one physical control at a time and observe whether the application responds, remains unresponsive, repeats an action, or triggers browser-history navigation.
- Check browser-based applications separately. Repeat the sequence in the relevant app tab and compare the behavior with the baseline. Mouse Tester’s counts remain in its own current tab, so they do not act as a counter for another tab or application.
- Record application-specific results. Note whether the same physical control behaves differently in the app and whether Back or Forward causes the browser to navigate away.
- Use deeper software checks when needed. For a non-browser application, use the mouse manufacturer’s software when more device or app-level information is required, because the page cannot observe events outside its visible target.
A physical button that behaves normally in Mouse Tester but not in an application shows that the application handled the input differently. It does not identify the underlying cause. Likewise, an event that never reaches the tester does not establish that the physical switch is broken.
Handle Missing or Unexpected Results
A button can be absent from the count even when the hardware is working. The browser or operating system may intercept it, an extension may remap it, and driver or remote-desktop software may change its code. Accessibility software may also synthesize events. Back and Forward presses may navigate browser history before reaching the page. The target suppresses its context menu and auxiliary default behavior only within itself, and it cannot override higher-priority browser or system handling.
- Reset the test and make a fresh pass with one deliberate press per button.
- Confirm that another available control produces a normal count so you know the page is receiving events.
- Repeat the suspect control in the affected Mac application and compare the response with the browser baseline.
- Record history navigation and numeric Unknown labels because both provide clues about interception or remapping.
- Compare unexpected multiple events with a Double Click Test or manufacturer software rather than treating the browser count alone as a diagnosis.
- Describe a zero count as “no matching event reached this page,” not as “the mouse switch is broken.”
Know What This Test Cannot Measure
Mouse Tester is a browser-event counter, not a complete mouse performance or hardware test. It does not measure:
- Click speed or double-click interval
- Polling rate or button debounce
- Wireless latency or switch force
- Pointer movement or drag behavior
- Scroll-wheel deltas
- Hardware condition
It also cannot certify accessibility or game suitability. A macOS button-assignment change can explain why Primary does not match the physical left button, while hardware faults require manufacturer software or other device diagnostics. Use separate measurements when timing, movement, scrolling, force, or physical condition is the concern.
Keep the Test Session Private and Temporary
Mouse Tester does not request a device identifier, install a driver, upload events, save a history, or listen outside the visible test target. Counts remain in the current tab, and selecting Reset test clears the in-memory session. Refreshing or closing the tab also removes the current state, so Recent is a temporary list of the latest eight labels rather than a stored activity log.
Related reading: Mouse Test for Poll Rate: Button Events, Not Hz.