Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This is the second mouse dying on me because of a poor switch ! Under most operating systems there is a option to set the max time interval in which two mouse clicks are processed as on double click.

Logically there has to be a way to set a minimum double click time interval!

I surely could replace the broken switch but there are costs for the new switch, time and basic soldering needed for that. Obviously this should be the last possible step to take.

Firstly I want to try to let the computer handle the broken mouse. I am searching a fix for windows and especially for linux (ubuntu) systems.

E: as Matt Eckert mentioned the problem is that the mouse switch is gotten loose and is producing two signals with just one key press. I've never mentioned that I want to set up anything within th mouse. Sorry for the misunderstanding, I thought that this problem occurs very often so that everyone understands the problem with the give information.

Under Windows there is only the option to set the maximum time interval in in which a double click is recognized. I need to set up the minimum time interval. In other word a double click should only be recognized if the time difference between two mouse clicks is at least for example half of a millisecond.

share|improve this question
A poor switch as in it won't click? You set double-click time intervals on the OS, not via the mouse. In Windows open up the control panel and click 'Mouse' to adjust the settings. –  ekaj Dec 14 '12 at 0:37
@ekaj I think the problem is the mouse is sending two clicks very rapidly when clicking just once. –  Matt Eckert Dec 14 '12 at 0:39

1 Answer 1

What you are looking for is a software debouncer.

There are two AutoHotkey solutions for Windows in this thread.

The first is a short script from a user named HotKeyIt:

    If (A_TimeSincePriorHotkey < 150) ;hyperclick
    Click Down
    KeyWait, LButton
    Click Up

And then there's a longer solution: Buggy-Mouse.ahk - Fix a buggy mouse. Stop it from double-clicking when you try to single-click.

As for Linux, you might try using IronAHK, a port of AutoHotkey for platforms with Mono support, though I'm not sure of its capabilities.

share|improve this answer
Thanks! The ahk script did solved the problem on windows but I am still searching for a solution for ubuntu. –  Anonymous Dec 16 '12 at 12:12
@Anonymous did you try IronAHK? I'm curious as to whether it can handle this. –  Matt Eckert Dec 16 '12 at 17:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.