Hi,

William Brown:
> Would a different or new switch help? I have a very similar problem with 
> my left mouse button.
> 
Possibly. There are also switches which have a de-bounce capacitor built
in. Mouse firmware should, by the way, handle de-bounce on its own.  :-/

> Jaap Struyk wrote:
> > I go for the de-bounce, when I push it once logging will start but if I 
> > press 3x in 2 sec. the machine shuts down... (you understand my anger 
> > today when I wanted to start logging, pressed once and got a shutdown ;)
> >
So change the code to notice three separate increments in two seconds.
(How often do you poll the counter anyway?)

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  sm...@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
v4sw7$Yhw6+8ln7ma7u7L!wl7DUi2e6t3TMWb8HAGen6g3a4s6Mr1p-3/-6 hackerkey.com
 - -
BOFH excuse #159:

Stubborn processes

------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to