microsoft / microsoft/PowerToys

Mouse Button-Click De-Bouncer

Open
#49,778 0 comments 0 reactions 0 assignees View on GitHub
Idea-Enhancement Idea-New PowerToy Needs-Triage
Dominant language
C
Stars
139k
Forks
8.6k
PR merge metrics
PR metrics pending

Description

### Description of the new feature / enhancement

Many mice and trackballs fail to handle high-speed contact bounce as the hardware ages. A system-level debounce function would eliminate the need for frequent hardware replacement or repair.

### Scenario when this would be used?

If a pointing device (e.g., Logitech M570 trackball) begins registering false double-clicks, this feature would allow for an adjustment of the interrupt handler for mouse button-down or button-up.

### Supporting information

There are a few quick & dirty debounce routines available, but I haven't found one that works well. It seems that this condition has to be addressed at a very low level for it to work reliably. Since the primary button is used far more than the right-click button, the left button is likely to be the main problem for most usage scenarios.

Contributor guide

Open the contributing guide

Research direction

Start by locating the mouse input path and the interrupt handling for mouse button-down and button-up events; the issue does not name files, tests, or an existing PowerToys entry point. Determine where a system-level debounce could belong and define done as reliably preventing false double-clicks without disrupting intentional clicks.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.