Black Trigram (흑괘) - Korean Martial Arts Combat Simulator API - v0.7.0
    Preparing search index...

    Variable GestureRecognizerPureConst

    GestureRecognizerPure: React.FC<GestureRecognizerPureProps> = ...

    GestureRecognizerPure Component

    Pure DOM gesture detection and visual feedback for mobile controls Features:

    • Swipe detection (4 directions)
    • Two-finger tap detection
    • Visual trail feedback
    • Gesture type indicators
    • Auto-fading feedback

    Gesture Mappings:

    • Swipe Right: Advance toward opponent
    • Swipe Left: Retreat from opponent
    • Swipe Up: High attack mode
    • Swipe Down: Low attack mode
    • Two-Finger Tap: Vital point targeting mode
    <GestureRecognizerPure
    onGesture={(gesture) => {
    console.log('Detected:', gesture.type);
    handleGesture(gesture);
    }}
    enabled={!isPaused}
    showFeedback={true}
    />

    제스처인식기순수