Touch Debouncing

  • Thread starter Lawrence D'Oliveiro
  • Start date
L

Lawrence D'Oliveiro

I have an Android app where the buttons respond immediately the user touches
them, rather than when they release the touch. (Why? Because that’s how the
original device that I’m emulating worked.)

Every now and then I’d touch a button once, and have it trigger twice.
Finally I had to put in a debounce: any touch-down notification I get that’s
less than 0.1 second after the previous one is ignored. That cured the
problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,614
Members
45,290
Latest member
JennaNies

Latest Threads

Top