Skip to main content

sync_touch_points

Function sync_touch_points 

Source
pub fn sync_touch_points(
    rt: &mut ReposeRuntime,
    touch_gestures: &TouchGestureState,
)
Expand description

Publish the live contact table into sched.touch_points (single sync point: every runner funnels raw touch through handle_touch_raw). Games snapshot it each frame, so held fingers stay visible across frames (unlike the press edge, which fires once and is gone). GML device_mouse_* parity: stable per-finger ids, physical-px positions sampled every tick while held.