GithubHelp home page GithubHelp logo

marvinlehmann / mouse-debouncer Goto Github PK

View Code? Open in Web Editor NEW
92.0 2.0 9.0 103 KB

A small performant Windows tray application which suppresses false double clicks. (Double Click Fix)

License: MIT License

C 100.00%
mouse fix tray-application performant windows command-line-arguments windows-10 double-click windows-7

mouse-debouncer's Introduction

Mouse Debouncer

A small performant Windows "tray application" which suppresses false double clicks under the assumption that: false double click = elapsed time between last mouseup and current mousedown event <= threshold

Usage

  1. Download the latest release.
  2. Preferably create a shortcut, batch script, task, etc to set command-line options and/or to put it into the autostart.
  3. Test and customize the thresholds for the best possible experience.
  4. Enjoy!

Command-Line Options

threshold : min delay between clicks in milliseconds to trigger a double click (def: 60 min: 1 max: 500)

Option Parameter Description
-t or --threshold <threshold> Sets the general double click threshold. (overridable by button specific options)
-l or --left [threshold] Enables monitoring and/or sets the threshold of the left mouse button.
-r or --right [threshold] Enables monitoring and/or sets the threshold of the right mouse button.
-m or --middle [threshold] Enables monitoring and/or sets the threshold of the middle mouse button.
-b or --four [threshold] Enables monitoring and/or sets the threshold of the 4th "back" mouse button.
-f or --five [threshold] Enables monitoring and/or sets the threshold of the 5th "forward" mouse button.
-q or --qpc Enables high-resolution time stamps for interval measurements. (<1µs vs 15.6ms)

Examples:

MouseDebouncer32.exe -t100 --middle -r80 => middle button: 100ms; right button: 80ms

MouseDebouncer64.exe -q --four=75 => high-resolution time stamps; fourth button: 75ms

* If no button is specified, the left button will be automatically set.

Credits to skeeto for Optparse!

mouse-debouncer's People

Contributors

marvinlehmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mouse-debouncer's Issues

Error every time screen resolution changes

If the main monitor resolution changes, such as when launching a game in full screen, Mouse Debouncer opens an error window saying:

The notify icon couldn't be added.
Error code: 2147500037

More popups appear every time the screen resolution changes, leading to lots of annoyance. The main process doesn't seem to encounter any issues when this occurs - The Mouse Debouncer "icon" stays in the system tray, and it behaves exactly as expected. I imagine that for this particular error, it should probably just be ignored.

image

Won't build.

error MSB4019: The imported project "D:\Microsoft.Cpp.Default.props" was not found

Maybe set up a GHA Workflow to build releases as example and/or provide building instructions clearly in the readme.

No donation link

Not technically an issue.

This little tool saves me from doing annoying and delicate mouse surgery or straight up buying a new mouse. This is a real relief so I wanted to leave a small donation to thank marvinlehmann but couldnt find a way to do so.

Debounce mouse wheel scrolling

I realize this project hasn't had any updates for awhile but would it be possible to add debounce detection of mouse wheel scrolling? Not mouse wheel clicking as that is already implemented. I have a Razer Naga Pro mouse that has begun to exhibit an occasional reverse scroll when scrolling down with its wheel.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.