/// <summary> /// Tells all touch input detectors to evaluate the ended touch. /// </summary> /// <param name="touch">Touch information of the ended touch.</param> private static void CallEndedTouchEvaluations(Touch touch) { TapEventDetector.CallTouchHistoryEvaluation(touchHistory[touch.fingerId]); SwipeEventDetector.CallTouchHistoryEvaluation(touchHistory[touch.fingerId]); }
/// <summary> /// Calls ongoing touch actions. /// </summary> /// <param name="touch">Touch information of the ongoing touch.</param> private static void CallOngoingTouchEvaluations(Touch touch) => SwipeEventDetector.CallOngoingSwipe(touch);