Android touch/click count always 1
Eric Wing <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <CA+Q62MCVyyJpyZS1beFytkZf=M0E67fgpCVUmDsYtWAYOrQKow@mail.gmail.com> |
I'm trying to get code that generally works on desktop to work on mobile, so I'm using the SDL mouse events for touches. I'm trying to detect a double-click (or double-tap) as a special event. So I'm just looking for event.button.clicks to be 2. But for Android, this is always returning 1 no matter how fast I tap. On iOS, this works as expected. Any ideas what is wrong with Android? Thanks, Eric