Giter Site home page Giter Site logo

jl102 / mouse-debouncer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marvinlehmann/mouse-debouncer

0.0 0.0 0.0 104 KB

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

License: MIT License

C 100.00%

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!

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.