mouse - Heuristic to filter out extra clicks sent by defective mice -


it's common issue mice develop defect of single clicks register 2 or more clicks (reference1, reference2, reference 3).

where work happens rarely, , if happen such mice destroyed extreme prejudice - don't have working sample @ hand. since work on trading application difference between 1 click (buy 1000 contracts) , 2 clicks (buy 2000 contracts) relatively important, wondering if has experience working heuristics

  • reject false clicks
  • log suspicious clicks , make user aware of possible issue

i think question independent of os, i'm using windows 7 environment.

we did find defective mouse (from renowned swiss brand). speed @ 2 click events logged 14 ms. we've found out human can make 2 clicks in 150ms.

the heuristic use reject second click when faster 32 ms (32 ms = > 2 clock ticks), , alert user when faster 90 ms.

we tested clicking many times fast can double clicking, , looked @ times between individual clicks. except 2 clicks more 100ms apart, 1 being more 90 ms, , other being 50ms. clicks in double click test 100-180ms. these numbers not scientific , change different humans , mice.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -