[SDL] Android touch/click count always 1

Eric Wing ewmailing at gmail.com
Fri Sep 2 02:49:41 PDT 2016

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?


More information about the SDL mailing list