<div dir="ltr">Mathias,<div><br></div><div>What you are experiencing is called 'bouncing'. The switch for that particular button is either worn out or dirty and is making intermittent contact, so what appears like a [Press][Release] to you is actually sent as [Press][Release][Press][Release]...[Press][Release]. Double clicks instead of single clicks are just one part of the problem, interrupted dragging and selection of text will be happening as well under these circumstances, so simply introducing the setting you ask for is not going to be sufficient to render your mouse fully usable again.</div><div><br></div><div>What you need to do is debounce. This can be done:</div><div> * in hardware:</div><div>    * cleaning the mouse (if dirt is the problem)</div><div>    * replacing the switch</div><div>    * molesting the circuitry (if the above doesn't help)</div><div><br></div><div>  NB: Some mice are known for having these issues, high-end Logitech mice in particular. You might want to look around for instructional videos that show some methods of addressing the issue for your particular mouse, since in some cases it's not all that tricky and solving a problem at the source has value.</div><div><br></div><div> * in software:</div><div>   * in the kernel (evdev) - not implemented afaik (the right place to do it)</div><div>   * in evdev-userspace (libevdev) - not implemented afaik</div><div>   * in X (evdev input driver) - implemented, but not accepted into X, patch rejected on grounds of maintenance cost; it looked small, but the maintainer's own mouse worked fine, so it didn't go in ;)</div><div>   * in a window manager - not implemented afaik</div><div><br></div><div>The correct place to do this is in the kernel or, at worst, in the userspace library everything that uses evdev seems to be using. That hasn't been done. I happen to have a mouse somewhere that has this problem and this looks mildly interesting, so I'll look into it. However, I'm unfamiliar with that part of the kernel and a bit busy at the moment, so it'll take a while. There are also no guarantees that a patch would be accepted.</div><div><br></div><div>In the meantime, I suggest following the instructions at <a href="http://blog.guntram.de/?p=16">http://blog.guntram.de/?p=16</a> to solve your problem via X with the unofficial patch.</div><div><br></div><div>I am unsure whether debouncing is possible to implement cleanly and comprehensively in a window manager, quite apart from it being 3 steps down the chain from where it ought to be implemented, but I'm not an expert on X or window managers ;)</div><div><br></div><div>-p</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 3, 2015 at 1:10 PM, Mathias Dufresne <span dir="ltr"><<a href="mailto:mathias.dufresne@gmail.com" target="_blank">mathias.dufresne@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hello all,<br><br></div>This is not really an OpenBox question/issue but perhaps OpenBox could help.<br><br></div>I have a not so old mouse, 2 years only in tomorrow, and since few weeks it started to double click when it should not.<br><br></div>Is it possible to set up OpenBox to refuse double click if there is not enough time between two clicks? Something like:<br><doubleClickMinTime>40</doubleClickMinTime><br></div>which would be coupled with:<br><doubleClickTime>200</doubleClickTime><br><div><div><br></div><div>I'm afraid there is no option in Xorg to do that and as Logitech support refuse to answer to my call (they just sent a message asking to try different systems and useless stuffs like that), I'm asking you to find a workaround...<br><br></div><div>Best regards,<br></div><div><br></div><div>Mathias<br></div></div></div>
<br>_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
<br></blockquote></div><br></div>