iOS sticky touch events


#1

There is something not correct with the mouseUp events for multiple touches on iOS. Rather, some are getting dropped / ignored.

Specifically, I notice that if I put several fingers on the ipad, then lift them (at the same time),I don’t receive all the mouseUp calls. Some of the touches remain down.

I can reproduce this very easily in the JuceDemo code just by painting the mouse positions on the ipad:


.. in paint()

for (short i=0; i < Desktop::getInstance().getNumMouseSources(); i++)
{
            Point<int> p = Desktop::getInstance().getMouseSource(i)->getScreenPosition();
            
            g.setColour(Colours::black);
            g.drawEllipse(p.x - 10, p.y - 10, 20, 20, 3);
            
 }

It seems fine with just 2 fingers down, but more than that cause issues. I think if there are multiple mouseUps at about the same time, it is only seeing one of them.

Probably related to this:
http://www.rawmaterialsoftware.com/viewtopic.php?f=4&t=7067&hilit=ios+mouse


#2

Here’s…a really stupid question, did you disable the “multi touch swipe” gestures in the General Settings (so that apps get all the touch events?)


#3

Hahaaa!!

Hadn’t even noticed that. Cool - your’e the man Vinn.
Is there a way to disable that programmatically, I wonder?


#4

[quote=“aaronleese”]Hahaaa!!

Hadn’t even noticed that. Cool - your’e the man Vinn.
Is there a way to disable that programmatically, I wonder?[/quote]

LOL, go me.

I doubt it can be done programatically, most apps (like “Crossfingers”) just remind the user somehow, if they need the gestures.