gesture_recognizer.sg is the T26 sprint — a gesture recognition engine that reads touch input events from gesture_buf @0x670000 (x, y, time, type), classifies gestures (tap, swipe, pinch), computes gesture parameters (delta, velocity), and stores results at gesture_info_buf @0x680000. GESTURE-PASS 8/8. 6616 B arm-el0.
Gesture classifier
gesture_recognizer.sg
Touch→gesture classification — reads touch event stream (x, y, timestamp, event type), classifies into gesture types (tap, swipe, pinch). Computes gesture params: delta (distance traveled), velocity (delta/time). Test: tap at (100,100) classified as tap, swipe from x=50→150 classified as swipe with delta=100 and velocity=2. Feeds into dom_event_handler for browser touch interaction. GESTURE-PASS 8/8.