Mouse Double-Click Debounce Tester

Fix Logitech mouse double-clicking problems by measuring your click timing and finding the optimal debounce delay.

This free tool helps diagnose mouse double-click issues common in Logitech mice (G502, G Pro, MX Master, etc.) and determine the correct software debounce setting for Windows 11, macOS, and Linux.

How to Use This Tool

  1. Click rapidly in the blue test area (10-20 times)
  2. Watch for red alerts when clicks occur under 60ms
  3. Review your statistics and recommended debounce delay
  4. Apply the setting using one of the solutions below

How to Fix Mouse Double-Clicking

Windows 11 Solutions

X-Mouse Button Control (Recommended) Free software with built-in debounce. Download from highrez.co.uk/downloads/XMouseButtonControl.htm - Click the "Settings" button (bottom left of window) → Go to "Advanced" tab → Check "De-bounce (ignore) rapid mouse button clicks" → Enter your recommended delay in milliseconds → Click OK → Click Apply.
AutoHotkey Script Free scripting solution. Download AutoHotkey from autohotkey.com - Create script with debounce timer using your recommended delay value.

macOS Solutions

BetterMouse (Free/Paid) Available on GitHub or Mac App Store. Includes debounce settings under "Click" preferences. Set your recommended delay in milliseconds.
Karabiner-Elements (Free) Advanced keyboard/mouse customization. Download from karabiner-elements.pqrs.org - Create complex modifications to add click debouncing with JSON configuration.

Linux Solutions

xinput + xdotool Script Use xinput to capture events and xdotool to filter clicks. Create bash script with sleep delay matching your recommended debounce value. Best for X11 environments.
libinput Debouncing (Newer Systems) Some newer libinput versions support debouncing. Check with: libinput list-devices. Configure via /etc/libinput/local-overrides.quirks if supported.
evdev + Python Script Use python-evdev library to intercept mouse events and filter rapid clicks. Works on both X11 and Wayland. Requires root/sudo access.

Cross-Platform Solutions

Logitech G HUB or Logitech Options+ Check if your Logitech mouse model supports debounce settings in official software. Available for Windows, macOS, and some Linux distros. Look in button configuration settings.
Hardware Fix: Replace Mouse Switches Permanent solution for worn-out switches. Requires soldering skills. Common fix for G502, MX Master, and other Logitech mice with Omron switch failures. Works on any OS.

Click Tester

Total problems detected: 0 (clicks under 60ms)

Click Here to Test
Average Click Interval
--ms
Shortest Click Interval
--ms

Last 5 Click Intervals

No clicks recorded yet. Start clicking above.