im having a go at using touch and gestures on iOS. Can someone let me know if i am missing something obvious, like a JUCE class that already handles all this automatically, but what im doing is deducing what to do from the mouse events. or is this how it’s done?
so when i get two mouse down events, i decide i have a dual touch in progress, so then i use the drag position together with the original two coordinates of the down events to figure the extent of my “pinch” movement. im doing this calculation myself, but sure it must be pretty standard. or is it?
one of my problems is that my component in question also responds to an ordinary mouse down event for a different reason. so when i get the first mouse down, i dont know whether to react or whether im going to get a second mouse down following. what do you do here, should i wait a short while before figuring i have a single mouse down?
someone tells me that iOS5 now has a gesture with three touch points. is this true and if so will this be done as three sequential mouse downs. then for this, the same reasoning applies after down 1 and down 2. what to make of them at the point of their arrival.
im hoping someone will reply telling me to simply use `MouseGestureTranslator’ or some such handy thing already present rather than battling this in a custom way.
thanks for any help,