P0.3: flip the quad color on a real iOS-Simulator tap, driven by sx

Prove the input path end-to-end. Poll platform events in the frame loop
and, on a mouse_down (UIKit touchesBegan, mapped to an Event in uikit.sx),
toggle the centered quad between orange and green. The toggle marks the
vertex buffer dirty; the next frame re-uploads the active color palette
before drawing. Flip on the press only — a tap also delivers mouse_up
(touchesEnded), so toggling on both would net to no visible change.

goldens/p0_input_before.png (orange quad) and goldens/p0_input_after.png
(green quad) bracket a real tap injected at the device-screen center
(201,437 pt) via `idb ui tap` on the booted iOS 26.0 simulator.
This commit is contained in:
swipelab
2026-06-04 18:40:49 +03:00
parent 77e753205f
commit bb07bd9cae
3 changed files with 35 additions and 3 deletions

BIN
goldens/p0_input_after.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

BIN
goldens/p0_input_before.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB