Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #542882 > unrolled thread

Computer mouse switch debouncing

Started byJohn Doe <always.look@message.header>
First post2019-05-11 07:27 +0000
Last post2019-05-13 07:34 -0700
Articles 20 on this page of 27 — 11 participants

Back to article view | Back to sci.electronics.design


Contents

  Computer mouse switch debouncing John Doe <always.look@message.header> - 2019-05-11 07:27 +0000
    Re: Computer mouse switch debouncing Piglet <erichpwagner@hotmail.com> - 2019-05-11 08:41 +0100
      Re: Computer mouse switch debouncing John Doe <always.look@message.header> - 2019-05-11 08:00 +0000
        Re: Computer mouse switch debouncing Piglet <erichpwagner@hotmail.com> - 2019-05-11 09:19 +0100
          Re: Computer mouse switch debouncing DecadentLinuxUserNumeroUno@decadence.org - 2019-05-11 12:12 +0000
    Re: Computer mouse switch debouncing DecadentLinuxUserNumeroUno@decadence.org - 2019-05-11 12:08 +0000
      Re: Computer mouse switch debouncing Rick C <gnuarm.deletethisbit@gmail.com> - 2019-05-11 11:33 -0700
        Re: Computer mouse switch debouncing DecadentLinuxUserNumeroUno@decadence.org - 2019-05-12 02:40 +0000
          Re: Computer mouse switch debouncing Rick C <gnuarm.deletethisbit@gmail.com> - 2019-05-11 20:08 -0700
            Re: Computer mouse switch debouncing DecadentLinuxUserNumeroUno@decadence.org - 2019-05-12 05:17 +0000
              Re: Computer mouse switch debouncing John Doe <always.look@message.header> - 2019-05-12 06:13 +0000
                Re: Computer mouse switch debouncing DecadentLinuxUserNumeroUno@decadence.org - 2019-05-12 10:25 +0000
                  Re: Computer mouse switch debouncing Lasse Langwadt Christensen <langwadt@fonz.dk> - 2019-05-12 08:18 -0700
                    Re: Computer mouse switch debouncing DecadentLinuxUserNumeroUno@decadence.org - 2019-05-12 15:19 +0000
                    Re: Computer mouse switch debouncing Rick C <gnuarm.deletethisbit@gmail.com> - 2019-05-12 22:46 -0700
                      Re: Computer mouse switch debouncing DecadentLinuxUserNumeroUno@decadence.org - 2019-05-13 10:55 +0000
    Re: Computer mouse switch debouncing John Larkin <jjlarkin@highlandtechnology.com> - 2019-05-11 08:01 -0700
    Re: Computer mouse switch debouncing Jeff Liebermann <jeffl@cruzio.com> - 2019-05-11 08:19 -0700
      Re: Computer mouse switch debouncing Jeff Liebermann <jeffl@cruzio.com> - 2019-05-11 15:25 -0700
    Re: Computer mouse switch debouncing Jasen Betts <jasen@xnet.co.nz> - 2019-05-11 20:10 +0000
    Re: Computer mouse switch debouncing jurb6006@gmail.com - 2019-05-11 20:34 -0700
      Re: Computer mouse switch debouncing makolber@yahoo.com - 2019-05-13 09:41 -0700
        Re: Computer mouse switch debouncing John Doe <always.look@message.header> - 2019-05-14 00:40 +0000
    Re: Computer mouse switch debouncing gray_wolf <g_wolf@howling_mad.com> - 2019-05-12 23:17 -0500
      Re: Computer mouse switch debouncing John Doe <always.look@message.header> - 2019-05-13 04:48 +0000
      Re: Computer mouse switch debouncing Rick C <gnuarm.deletethisbit@gmail.com> - 2019-05-12 22:42 -0700
      Re: Computer mouse switch debouncing Jeff Liebermann <jeffl@cruzio.com> - 2019-05-13 07:34 -0700

Page 1 of 2  [1] 2  Next page →


#542882 — Computer mouse switch debouncing

FromJohn Doe <always.look@message.header>
Date2019-05-11 07:27 +0000
SubjectComputer mouse switch debouncing
Message-ID<qb5th6$l0u$1@dont-email.me>
I have put together many different switch types (conventional, light, 
touch). I recall using some logic chip (4000 series) hysteresis for 
debouncing. 

Some mouse users complain about double-clicking when it should be single 
clicking. So I'm looking around for information. One guy says Logitech 
told him to remove the batteries and then click the buttons 30 times. 
That would be for resetting software? Does that mean the debouncing 
takes place in software? If that makes sense... Do they use software 
debouncing to save money?

This is noncritical. Any general comments about the subject appreciated.

Thanks.

[toc] | [next] | [standalone]


#542885

FromPiglet <erichpwagner@hotmail.com>
Date2019-05-11 08:41 +0100
Message-ID<qb5ual$srb$1@dont-email.me>
In reply to#542882
On 11/05/2019 08:27, John Doe wrote:
> I have put together many different switch types (conventional, light,
> touch). I recall using some logic chip (4000 series) hysteresis for
> debouncing.
>
> Some mouse users complain about double-clicking when it should be single
> clicking. So I'm looking around for information. One guy says Logitech
> told him to remove the batteries and then click the buttons 30 times.
> That would be for resetting software? Does that mean the debouncing
> takes place in software? If that makes sense... Do they use software
> debouncing to save money?
>
> This is noncritical. Any general comments about the subject appreciated.
>
> Thanks.
>

Multiple clicking mouse switches is a sign on wear-out. The contacts 
have become dirty, corroded, lost their noble metal plating, developed 
excessive bounce etc etc.

The Logitech advice had nothing to do with resetting software - it was 
to help exercise the contacts and attempt to clean them up.

The microswitches typically used are rated for one million operations 
and that can be reached after a few years usage.

Yes, debounce is done in software.

piglet

[toc] | [prev] | [next] | [standalone]


#542887

FromJohn Doe <always.look@message.header>
Date2019-05-11 08:00 +0000
Message-ID<qb5vf7$voq$1@dont-email.me>
In reply to#542885
Piglet <erichpwagner@hotmail.com> wrote:

> The Logitech advice had nothing to do with resetting software - it was 
> to help exercise the contacts and attempt to clean them up.

But seriously...
Obviously the contacts do not need exercise. And that clicking would be 
the same as usual.

[toc] | [prev] | [next] | [standalone]


#542888

FromPiglet <erichpwagner@hotmail.com>
Date2019-05-11 09:19 +0100
Message-ID<qb60ii$7bn$1@dont-email.me>
In reply to#542887
On 11/05/2019 09:00, John Doe wrote:
> Piglet <erichpwagner@hotmail.com> wrote:
>
>> The Logitech advice had nothing to do with resetting software - it was
>> to help exercise the contacts and attempt to clean them up.
>
> But seriously...
> Obviously the contacts do not need exercise. And that clicking would be
> the same as usual.
>

Have you ever "fixed" a crackly volume control by swinging the slider 
from end-stop to end-stop rapidly a few times?

piglet

[toc] | [prev] | [next] | [standalone]


#542896

FromDecadentLinuxUserNumeroUno@decadence.org
Date2019-05-11 12:12 +0000
Message-ID<qb6e7p$1mh9$1@gioia.aioe.org>
In reply to#542888
Piglet <erichpwagner@hotmail.com> wrote in
news:qb60ii$7bn$1@dont-email.me: 

> On 11/05/2019 09:00, John Doe wrote:
>> Piglet <erichpwagner@hotmail.com> wrote:
>>
>>> The Logitech advice had nothing to do with resetting software -
>>> it was to help exercise the contacts and attempt to clean them
>>> up. 
>>
>> But seriously...
>> Obviously the contacts do not need exercise. And that clicking
>> would be the same as usual.
>>
> 
> Have you ever "fixed" a crackly volume control by swinging the
> slider from end-stop to end-stop rapidly a few times?
> 
> piglet
> 
> 

Rub-a-dub-dub.  Definitely the switch.

  Keeping old mice around, especially if you are brand loyal or 
model loyal even (I always buy a ball mouse) can help as you can use 
virtually unused "right mouse button" switches (or center)to replace 
old, worn left mouse buttons.

[toc] | [prev] | [next] | [standalone]


#542895

FromDecadentLinuxUserNumeroUno@decadence.org
Date2019-05-11 12:08 +0000
Message-ID<qb6e0j$1laj$1@gioia.aioe.org>
In reply to#542882
John Doe <always.look@message.header> wrote in
news:qb5th6$l0u$1@dont-email.me: 

> Some mouse users complain about double-clicking when it should be
> single clicking. So I'm looking around for information. One guy
> says Logitech told him to remove the batteries and then click the
> buttons 30 times.

  After thousands of cycles, the switch contacts get impinged on by 
their brothers and start to fail.  We press mouse switches with our 
finger rather lightly.  IF you take a disconnected or unhooked or 
bettery removed mouse and do this keypress operation, you should 
also press on that switch slightly harder than you do in use.  What 
you are doing is burninshing the contacts against each other.

  There is no debounce on logi mice, at least not the old ones.  I 
have had several that would multi-count keypresses.  And not do so 
if the keypress is more firm.

  It may be that the driver 'sees' the noisey key and has no 
circuitry to filter that and sends two presses to the OS.

  I doubt much debounce at all, since gamers do not like any form of 
latency.





 That would be for resetting software? Does that
> mean the debouncing takes place in software? If that makes
> sense... Do they use software debouncing to save money?
> 
> This is noncritical. Any general comments about the subject
> appreciated. 
> 
> Thanks.

[toc] | [prev] | [next] | [standalone]


#542948

FromRick C <gnuarm.deletethisbit@gmail.com>
Date2019-05-11 11:33 -0700
Message-ID<dc90c19e-d43d-4c19-9e14-c9a50d03479f@googlegroups.com>
In reply to#542895
On Saturday, May 11, 2019 at 8:08:56 AM UTC-4, DecadentLinux...@decadence.org wrote:
> John Doe <always.look@message.header> wrote in
> news:qb5th6$l0u$1@dont-email.me: 
> 
> > Some mouse users complain about double-clicking when it should be
> > single clicking. So I'm looking around for information. One guy
> > says Logitech told him to remove the batteries and then click the
> > buttons 30 times.
> 
>   After thousands of cycles, the switch contacts get impinged on by 
> their brothers and start to fail.  We press mouse switches with our 
> finger rather lightly.  IF you take a disconnected or unhooked or 
> bettery removed mouse and do this keypress operation, you should 
> also press on that switch slightly harder than you do in use.  What 
> you are doing is burninshing the contacts against each other.
> 
>   There is no debounce on logi mice, at least not the old ones.  I 
> have had several that would multi-count keypresses.  And not do so 
> if the keypress is more firm.
> 
>   It may be that the driver 'sees' the noisey key and has no 
> circuitry to filter that and sends two presses to the OS.
> 
>   I doubt much debounce at all, since gamers do not like any form of 
> latency.

Debounce does not require latency. 

-- 

  Rick C.

  - Get a 1,000 miles of free Supercharging
  - Tesla referral code - https://ts.la/richard11209

[toc] | [prev] | [next] | [standalone]


#543044

FromDecadentLinuxUserNumeroUno@decadence.org
Date2019-05-12 02:40 +0000
Message-ID<qb812l$mqb$2@gioia.aioe.org>
In reply to#542948
Rick C <gnuarm.deletethisbit@gmail.com> wrote in
news:dc90c19e-d43d-4c19-9e14-c9a50d03479f@googlegroups.com: 

> On Saturday, May 11, 2019 at 8:08:56 AM UTC-4,
> DecadentLinux...@decadence.org wrote: 
>> John Doe <always.look@message.header> wrote in
>> news:qb5th6$l0u$1@dont-email.me: 
>> 
>> > Some mouse users complain about double-clicking when it should
>> > be single clicking. So I'm looking around for information. One
>> > guy says Logitech told him to remove the batteries and then
>> > click the buttons 30 times.
>> 
>>   After thousands of cycles, the switch contacts get impinged on
>>   by 
>> their brothers and start to fail.  We press mouse switches with
>> our finger rather lightly.  IF you take a disconnected or
>> unhooked or bettery removed mouse and do this keypress operation,
>> you should also press on that switch slightly harder than you do
>> in use.  What you are doing is burninshing the contacts against
>> each other. 
>> 
>>   There is no debounce on logi mice, at least not the old ones. 
>>   I 
>> have had several that would multi-count keypresses.  And not do
>> so if the keypress is more firm.
>> 
>>   It may be that the driver 'sees' the noisey key and has no 
>> circuitry to filter that and sends two presses to the OS.
>> 
>>   I doubt much debounce at all, since gamers do not like any form
>>   of 
>> latency.
> 
> Debounce does not require latency. 
> 

  Dip ass.  Debouncing introduces it.  Sheesh, WTFU.

[toc] | [prev] | [next] | [standalone]


#543055

FromRick C <gnuarm.deletethisbit@gmail.com>
Date2019-05-11 20:08 -0700
Message-ID<3e899534-986e-44f3-a898-e96e4b6200e3@googlegroups.com>
In reply to#543044
On Saturday, May 11, 2019 at 10:40:27 PM UTC-4, DecadentLinux...@decadence.org wrote:
> Rick C <gnuarm.deletethisbit@gmail.com> wrote in
> news:dc90c19e-d43d-4c19-9e14-c9a50d03479f@googlegroups.com: 
> 
> > On Saturday, May 11, 2019 at 8:08:56 AM UTC-4,
> > DecadentLinux...@decadence.org wrote: 
> >> John Doe <always.look@message.header> wrote in
> >> news:qb5th6$l0u$1@dont-email.me: 
> >> 
> >> > Some mouse users complain about double-clicking when it should
> >> > be single clicking. So I'm looking around for information. One
> >> > guy says Logitech told him to remove the batteries and then
> >> > click the buttons 30 times.
> >> 
> >>   After thousands of cycles, the switch contacts get impinged on
> >>   by 
> >> their brothers and start to fail.  We press mouse switches with
> >> our finger rather lightly.  IF you take a disconnected or
> >> unhooked or bettery removed mouse and do this keypress operation,
> >> you should also press on that switch slightly harder than you do
> >> in use.  What you are doing is burninshing the contacts against
> >> each other. 
> >> 
> >>   There is no debounce on logi mice, at least not the old ones. 
> >>   I 
> >> have had several that would multi-count keypresses.  And not do
> >> so if the keypress is more firm.
> >> 
> >>   It may be that the driver 'sees' the noisey key and has no 
> >> circuitry to filter that and sends two presses to the OS.
> >> 
> >>   I doubt much debounce at all, since gamers do not like any form
> >>   of 
> >> latency.
> > 
> > Debounce does not require latency. 
> > 
> 
>   Dip ass.  Debouncing introduces it.  Sheesh, WTFU.

Sorry, it doesn't.  If you would like to learn, apologize for calling me a name.  Then I'll be happy to explain to you how to debounce without latency. 

Or remain ignorant. 

-- 

  Rick C.

  + Get a 1,000 miles of free Supercharging
  + Tesla referral code - https://ts.la/richard11209

[toc] | [prev] | [next] | [standalone]


#543073

FromDecadentLinuxUserNumeroUno@decadence.org
Date2019-05-12 05:17 +0000
Message-ID<qb8a9i$1qrf$2@gioia.aioe.org>
In reply to#543055
Rick C <gnuarm.deletethisbit@gmail.com> wrote in
news:3e899534-986e-44f3-a898-e96e4b6200e3@googlegroups.com: 

> On Saturday, May 11, 2019 at 10:40:27 PM UTC-4,
> DecadentLinux...@decadence.org wrote: 
>> Rick C <gnuarm.deletethisbit@gmail.com> wrote in
>> news:dc90c19e-d43d-4c19-9e14-c9a50d03479f@googlegroups.com: 
>> 
>> > On Saturday, May 11, 2019 at 8:08:56 AM UTC-4,
>> > DecadentLinux...@decadence.org wrote: 
>> >> John Doe <always.look@message.header> wrote in
>> >> news:qb5th6$l0u$1@dont-email.me: 
>> >> 
>> >> > Some mouse users complain about double-clicking when it
>> >> > should be single clicking. So I'm looking around for
>> >> > information. One guy says Logitech told him to remove the
>> >> > batteries and then click the buttons 30 times.
>> >> 
>> >>   After thousands of cycles, the switch contacts get impinged
>> >>   on by 
>> >> their brothers and start to fail.  We press mouse switches
>> >> with our finger rather lightly.  IF you take a disconnected or
>> >> unhooked or bettery removed mouse and do this keypress
>> >> operation, you should also press on that switch slightly
>> >> harder than you do in use.  What you are doing is burninshing
>> >> the contacts against each other. 
>> >> 
>> >>   There is no debounce on logi mice, at least not the old
>> >>   ones. I 
>> >> have had several that would multi-count keypresses.  And not
>> >> do so if the keypress is more firm.
>> >> 
>> >>   It may be that the driver 'sees' the noisey key and has no 
>> >> circuitry to filter that and sends two presses to the OS.
>> >> 
>> >>   I doubt much debounce at all, since gamers do not like any
>> >>   form of 
>> >> latency.
>> > 
>> > Debounce does not require latency. 
>> > 
>> 
>>   Dip ass.  Debouncing introduces it.  Sheesh, WTFU.
> 
> Sorry, it doesn't.  If you would like to learn, apologize for
> calling me a name.  Then I'll be happy to explain to you how to
> debounce without latency. 
> 
> Or remain ignorant. 
> 

I was counting switch events before you even knew what they were.

  Not interested in your 'explanations'.

[toc] | [prev] | [next] | [standalone]


#543075

FromJohn Doe <always.look@message.header>
Date2019-05-12 06:13 +0000
Message-ID<qb8dj1$2jo$2@dont-email.me>
In reply to#543073
I don't see how latency is introduced. The signal would be relayed 
instantly. Any follow-up signal within X amount of time is 
disregarded. Sounds simple enough. How else would it be done via
software? 


-- 

DecadentLinuxUserNumeroUno@decadence.org wrote:

> Rick C <gnuarm.deletethisbit@gmail.com> wrote in
> news:3e899534-986e-44f3-a898-e96e4b6200e3@googlegroups.com: 
> 
>> On Saturday, May 11, 2019 at 10:40:27 PM UTC-4,
>> DecadentLinux...@decadence.org wrote: 
>>> Rick C <gnuarm.deletethisbit@gmail.com> wrote in
>>> news:dc90c19e-d43d-4c19-9e14-c9a50d03479f@googlegroups.com: 
>>> 
>>> > On Saturday, May 11, 2019 at 8:08:56 AM UTC-4,
>>> > DecadentLinux...@decadence.org wrote: 
>>> >> John Doe <always.look@message.header> wrote in
>>> >> news:qb5th6$l0u$1@dont-email.me: 
>>> >> 
>>> >> > Some mouse users complain about double-clicking when it
>>> >> > should be single clicking. So I'm looking around for
>>> >> > information. One guy says Logitech told him to remove the
>>> >> > batteries and then click the buttons 30 times.
>>> >> 
>>> >>   After thousands of cycles, the switch contacts get impinged
>>> >>   on by 
>>> >> their brothers and start to fail.  We press mouse switches
>>> >> with our finger rather lightly.  IF you take a disconnected or
>>> >> unhooked or bettery removed mouse and do this keypress
>>> >> operation, you should also press on that switch slightly
>>> >> harder than you do in use.  What you are doing is burninshing
>>> >> the contacts against each other. 
>>> >> 
>>> >>   There is no debounce on logi mice, at least not the old
>>> >>   ones. I 
>>> >> have had several that would multi-count keypresses.  And not
>>> >> do so if the keypress is more firm.
>>> >> 
>>> >>   It may be that the driver 'sees' the noisey key and has no 
>>> >> circuitry to filter that and sends two presses to the OS.
>>> >> 
>>> >>   I doubt much debounce at all, since gamers do not like any
>>> >>   form of 
>>> >> latency.
>>> > 
>>> > Debounce does not require latency. 
>>> > 
>>> 
>>>   Dip ass.  Debouncing introduces it.  Sheesh, WTFU.
>> 
>> Sorry, it doesn't.  If you would like to learn, apologize for
>> calling me a name.  Then I'll be happy to explain to you how to
>> debounce without latency. 
>> 
>> Or remain ignorant. 
>> 
> 
> I was counting switch events before you even knew what they were.
> 
>   Not interested in your 'explanations'.

[toc] | [prev] | [next] | [standalone]


#543085

FromDecadentLinuxUserNumeroUno@decadence.org
Date2019-05-12 10:25 +0000
Message-ID<qb8sai$94d$1@gioia.aioe.org>
In reply to#543075
John Doe <always.look@message.header> wrote in news:qb8dj1$2jo$2@dont-
email.me:

> I don't see how latency is introduced. The signal would be relayed 
> instantly. Any follow-up signal within X amount of time is 
> disregarded. Sounds simple enough. How else would it be done via
> software? 
> 
  The fact that the driver has to process it and determine if 
additional noise is additional button presses or just noise and then 
pass the decision on.

  How can you say that does not take time?

[toc] | [prev] | [next] | [standalone]


#543100

FromLasse Langwadt Christensen <langwadt@fonz.dk>
Date2019-05-12 08:18 -0700
Message-ID<278151af-c160-4f34-95ca-e0bdbbf230c6@googlegroups.com>
In reply to#543085
søndag den 12. maj 2019 kl. 12.25.28 UTC+2 skrev DecadentLinux...@decadence.org:
> John Doe <always.look@message.header> wrote in news:qb8dj1$2jo$2@dont-
> email.me:
> 
> > I don't see how latency is introduced. The signal would be relayed 
> > instantly. Any follow-up signal within X amount of time is 
> > disregarded. Sounds simple enough. How else would it be done via
> > software? 
> > 
>   The fact that the driver has to process it and determine if 
> additional noise is additional button presses or just noise and then 
> pass the decision on.
> 
>   How can you say that does not take time?

instant reaction and a blanking period

[toc] | [prev] | [next] | [standalone]


#543101

FromDecadentLinuxUserNumeroUno@decadence.org
Date2019-05-12 15:19 +0000
Message-ID<qb9din$mus$2@gioia.aioe.org>
In reply to#543100
Lasse Langwadt Christensen <langwadt@fonz.dk> wrote in news:278151af-
c160-4f34-95ca-e0bdbbf230c6@googlegroups.com:

> instant reaction and a blanking period
> 

  Oh I am sure that will make the gamers happy.  How many missed 
presses per hundred...  hint:  one is too many.

[toc] | [prev] | [next] | [standalone]


#543157

FromRick C <gnuarm.deletethisbit@gmail.com>
Date2019-05-12 22:46 -0700
Message-ID<b0ca0815-9941-455c-8ed3-8378f76fecd4@googlegroups.com>
In reply to#543100
On Sunday, May 12, 2019 at 11:18:13 AM UTC-4, Lasse Langwadt Christensen wrote:
> søndag den 12. maj 2019 kl. 12.25.28 UTC+2 skrev DecadentLinux...@decadence.org:
> > John Doe <always.look@message.header> wrote in news:qb8dj1$2jo$2@dont-
> > email.me:
> > 
> > > I don't see how latency is introduced. The signal would be relayed 
> > > instantly. Any follow-up signal within X amount of time is 
> > > disregarded. Sounds simple enough. How else would it be done via
> > > software? 
> > > 
> >   The fact that the driver has to process it and determine if 
> > additional noise is additional button presses or just noise and then 
> > pass the decision on.
> > 
> >   How can you say that does not take time?
> 
> instant reaction and a blanking period

I like the fact that you have explained to him how debounce could work without any perceptible latency and he is backpedaling saying debouncing at all would lose button presses.  That's why I wouldn't explain it to him until he apologized.  I knew he wouldn't apologize and even if I did tell him he wouldn't understand/believe even such a simple concept.  The guy is really amazing. 

-- 

  Rick C.

  -+ Get a 1,000 miles of free Supercharging
  -+ Tesla referral code - https://ts.la/richard11209

[toc] | [prev] | [next] | [standalone]


#543167

FromDecadentLinuxUserNumeroUno@decadence.org
Date2019-05-13 10:55 +0000
Message-ID<qbbifs$8vo$1@gioia.aioe.org>
In reply to#543157
Rick C <gnuarm.deletethisbit@gmail.com> wrote in news:b0ca0815-9941-
455c-8ed3-8378f76fecd4@googlegroups.com:

> The guy is really amazing.

You are truly fucked in the head.

  Backpedal that you retarded fuck.

[toc] | [prev] | [next] | [standalone]


#542919

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2019-05-11 08:01 -0700
Message-ID<2rodde1uqojtdsi7gro2g51ugpivan3lb5@4ax.com>
In reply to#542882
On Sat, 11 May 2019 07:27:35 -0000 (UTC), John Doe
<always.look@message.header> wrote:

>I have put together many different switch types (conventional, light, 
>touch). I recall using some logic chip (4000 series) hysteresis for 
>debouncing. 
>
>Some mouse users complain about double-clicking when it should be single 
>clicking. So I'm looking around for information. One guy says Logitech 
>told him to remove the batteries and then click the buttons 30 times. 
>That would be for resetting software? Does that mean the debouncing 
>takes place in software? If that makes sense... Do they use software 
>debouncing to save money?
>
>This is noncritical. Any general comments about the subject appreciated.
>
>Thanks.

Sure they debounce in software. The battery/click thing probably
forces a uP reset which may help semehow.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#542923

FromJeff Liebermann <jeffl@cruzio.com>
Date2019-05-11 08:19 -0700
Message-ID<46pddep7ouild60qdlhigfiq853asp80jf@4ax.com>
In reply to#542882
On Sat, 11 May 2019 07:27:35 -0000 (UTC), John Doe
<always.look@message.header> wrote:

>This is noncritical. Any general comments about the subject appreciated.

Probably the mouse switch.  They wear out fairly easily.  I see the
problem often and simply replace the switch.  They can be found in the
usual places for about 10 pcs for $5 or 100 pcs for $15.
<https://www.ebay.com/sch/i.html?_nkw=mouse+switch>
Too bad nobody uses a hall effect, optical, or other no-metal-contact
type push button switch that doesn't wear out.

Sometimes, I see Windoze machines where someone has played with the
mouse settings in the control panel.  If temporarily replacing the
bouncing mouse with a known good mouse does the same thing, then
checking the settings might be a good idea.  I've also seen problems
with loose and intermittent USB connectors which tend to make the
mouse move to parts unknown, usually to the opposite side of the
screen.  Wiggle the connector to see if that's a problem.  There are
also expensive mice designed for gamers with built in repeat
circuitry.  This feature is handy to keep from wearing out the mouse
button switches, but tends to be glitchy if set too fast and the
computah becomes busy running the game.


-- 
Jeff Liebermann     jeffl@cruzio.com
150 Felker St #D    http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann     AE6KS    831-336-2558

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

[toc] | [prev] | [next] | [standalone]


#542990

FromJeff Liebermann <jeffl@cruzio.com>
Date2019-05-11 15:25 -0700
Message-ID<hlhedetv7d47cn1pja001of7ch4bbhhji7@4ax.com>
In reply to#542923
On Sat, 11 May 2019 08:19:16 -0700, Jeff Liebermann <jeffl@cruzio.com>
wrote:
(...)

Here's a potential band-aid.

Buggy-Mouse.ahk - Fix a buggy mouse. Stop it from double-clicking 
when you try to single-click.
<https://jslover.net/AutoHotkey/Scripts/Buggy-Mouse>
<https://jslover.net/AutoHotkey/Scripts/Buggy-Mouse.exe>
<https://jslover.net/AutoHotkey/Scripts/Buggy-Mouse.ahk>

I ran the .exe version on my Windoze XP machine.  I planted an icon in
the system tray.  However, I couldn't figure out a way to test it or
to understand the debug output, so I don't know if it really works.

Ah, got it.  
 - Right click on the "H" icon in the system tray.
 - Check "Debug"
 - Uncheck "Debug (only blocked)
Click any mouse button.  A box full of debug gobblygook will appear.
If you click any mouse button normally, it will just show which button
was clicked.  However, if you rapidly tap any button, it will show a
button blocked message in the box.  Right clicking on the "H" icon in
the system tray will show a counter after the "Clicks Blocked" showing
how many clicks were eaten by the program.

Kinda looks like this program might be sufficient to save you the
$0.15 for a replacement mouse switch.

-- 
Jeff Liebermann     jeffl@cruzio.com
150 Felker St #D    http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann     AE6KS    831-336-2558

[toc] | [prev] | [next] | [standalone]


#542962

FromJasen Betts <jasen@xnet.co.nz>
Date2019-05-11 20:10 +0000
Message-ID<qb7a77$5fa$1@gonzo.revmaps.no-ip.org>
In reply to#542882
On 2019-05-11, John Doe <always.look@message.header> wrote:
> I have put together many different switch types (conventional, light, 
> touch). I recall using some logic chip (4000 series) hysteresis for 
> debouncing. 
>
> Some mouse users complain about double-clicking when it should be single 
> clicking. So I'm looking around for information. One guy says Logitech 
> told him to remove the batteries and then click the buttons 30 times. 
> That would be for resetting software? 

Cleaning the contacts in the switches.  the cause is going to be dirt
in the switch or bad solder on the pcb

> Does that mean the debouncing takes place in software? 

no

> If that makes sense... Do they use software debouncing to save money?

absolutely

-- 
  When I tried casting out nines I made a hash of it.

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | sci.electronics.design


csiph-web