We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2228

Summary: Multiple touches break mouseinput on android
Product: SDL Reporter: Daniel Knobe <Daniel-Knobe>
Component: eventsAssignee: Gabriel Jacobo <gabomdq>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: gabomdq
Version: 2.0.1   
Hardware: ARM   
OS: Android (All)   

Description Daniel Knobe 2013-11-12 11:04:53 UTC
Hallo,
during my gameport on SDL2 it seems i have found a bug.
Starting my app on android works nicely and the mouseevents work without
any modification of the pc version.
But there is a problem of multiple touches.
Using 2 fingers on screen works. Using 3 fingers at the same time on the
screen will block the complete mouseinput and it doesn't come back again.
Rendering does not stop but mouseinput doesn't work anymore.

I have checked the Events after touching with multiple fingers at the same time:
SDL_MOUSEMOTION -> Does not react anymore
SDL_FINGERMOTION -> Does work as expected

Seems to be problem of the mapping from Touchevent to Mouseevent.
I have a Xperia E too and on this smartphone the
bug not occures. Seems to be a more tricky problem.

Best regards
Comment 1 Sam Lantinga 2013-11-23 10:06:52 UTC
Gabriel, any ideas?
Comment 2 Gabriel Jacobo 2013-11-25 15:28:52 UTC
This probably fixes it: https://hg.libsdl.org/SDL/rev/7b0d28c202d2
Comment 3 Daniel Knobe 2013-11-28 10:47:28 UTC
Yes it is fixed! Thanks.