Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #3646
| From | Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Touch Debouncing |
| Followup-To | comp.lang.java.programmer |
| Date | 2011-05-06 18:46 +1200 |
| Organization | Geek Central |
| Message-ID | <iq05fd$jpv$5@lust.ihug.co.nz> (permalink) |
Followups directed to: comp.lang.java.programmer
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.
Back to comp.lang.java.programmer | Previous | Next | Find similar
Touch Debouncing Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-05-06 18:46 +1200
csiph-web