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.