Hello ke007,
at first please recall the example I have created for you in the thread grab cycle and touch influence with another touch. It demonstrates the technical background for the detection of two finger gestures and the relay of single finger gestures. Have you tried out this example?
when the 2 finger touch the screen one after another, and the first finger touch left area the last finger touch right area, How can i make sure the SlideTouchHandler.HittingPos information? it's follow the first finger touch or the last finger touch?
In case of multi-touch gestures, only the last finger controls the movements. The preceding fingers were counted only and for the sake of simplicity their position is not taken in account in this particular case. Using the Simple Touch Handler variable CurrentPos you can query the position of this 'controlling' finger and use it to distinguish between the left and the right screen area. When the user touches the left and the right areas simultaneously, the variable CurrentPos will refer the last finger. In this context, the last finger decides which area is meant.
If the first finger slide up and the last finger slide down at the MainPage, we don't want PresentDIalog the DoubleFingerSlidePage . How to achieve this usecase?
For the sake of simplicity this special case is not handled by Simple Touch Handler. As explained above, the handler processes the movements of the last finger only. If this behavior is essential, you will need to implement your own handler functionality to detect, track and process such particular gestures. You can also implement your own touch driver to process gestures before the touch events are relayed to the GUI.
Best regards
Paul Banach