Setup: Use M5GFX or native GT911 library. Enable multi-touch mode.
Code: Read raw touch coordinates (x, y, pressure, id). Store a 10-point history for each active finger.
Commands: Implement a curve detection algorithm (simplified Ramer-Douglas-Peucker) to identify shapes (circle, cross, fast swipe) by analyzing angle variation between consecutive vectors.
Verification: Draw a circle on screen. Program must print 'GESTURE_CIRCLE' on serial monitor.
Deep Dive: Add variable pressure recognition to simulate 'long press' or 'force' actions on UI elements.