Mobile Gesture Recognition Toolkit

Had some down-time at GDC, started expanding the gesture support in the engine. Are there additional gestures besides these that you think the engine needs?



    // Gestures - Swipes
    static const FKey Gesture_SwipeLeftRight;
    static const FKey Gesture_SwipeRightLeft;
    static const FKey Gesture_SwipeUpDown;
    static const FKey Gesture_SwipeDownUp
    static const FKey Gesture_TwoFingerSwipeRightLeft;
    static const FKey Gesture_TwoFingerSwipeLeftRight;
    static const FKey Gesture_TwoFingerSwipeUpDown;
    static const FKey Gesture_TwoFingerSwipeDownUp;
    static const FKey Gesture_ThreeFingerSwipeLeftRight;
    static const FKey Gesture_ThreeFingerSwipeRightLeft;
    static const FKey Gesture_ThreeFingerSwipeUpDown;
    static const FKey Gesture_ThreeFingersSwipeDownUp;
    static const FKey Gesture_FourFingerSwipeLeftRight;
    static const FKey Gesture_FourFingerSwipeRightLeft;
    static const FKey Gesture_FourFingerSwipeUpDown;
    static const FKey Gesture_FourFingerSwipeDownUp;
    static const FKey Gesture_SwipeUpAndRight;
    static const FKey Gesture_SwipeUpAndLeft;
    static const FKey Gesture_SwipeDownAndRight;
    static const FKey Gesture_SwipeDownAndLeft;
    static const FKey Gesture_SwipeFromLeftEdge;
    static const FKey Gesture_SwipeFromTopEdge;
    static const FKey Gesture_SwipeFromRightEdge;
    static const FKey Gesture_SwipeFromBottomEdge;
    
    // Gestures - Taps
    static const FKey Gesture_Tap;
    static const FKey Gesture_DoubleTap;
    static const FKey Gesture_TripleTap;
    static const FKey Gesture_Long_Tap;
    static const FKey Gesture_TwoFingerTap;
    static const FKey Gesture_TwoFingerDoubleTap;
    static const FKey Gesture_ThreeFingerTap;
    static const FKey Gesture_ThreeFingerDoubleTap;
    static const FKey Gesture_FourFingerTap;
    static const FKey Gesture_FourFingerDoubleTap;
    static const FKey Gesture_FiveFingerTap;
    
    // Gestures - Other
    static const FKey Gesture_Pinch;
    static const FKey Gesture_Flick;
    static const FKey Gesture_Rotate;
    static const FKey Gesture_Touch1Pan;
    static const FKey Gesture_Touch2Pan;
    static const FKey Gesture_Touch3Pan;
    static const FKey Gesture_Touch4Pan;
    static const FKey Gesture_Touch5Pan;


I know that touches are easy enough to get, so the [FONT=Courier New]Gesture_Tap may seem unnecessary, but I still think they should go through the gesture recognizer so, for example, double-taps don’t also send a single-tap message. There are times when you want to know every touch, but other times when you just want to know if there was a tap (that wasn’t a part of a double/triple tap).