Skip to main content

HOST_MOTIONS

Static HOST_MOTIONS 

Source
static HOST_MOTIONS: Mutex<VecDeque<(u64, i64)>>
Expand description

The motion numbers handed to the host session, each with when it was sent (CLOCK_MONOTONIC ns), newest last: a cursor meta claims the moves sent before its buffer was stamped (motion_at), so one from a frame captured ahead of the latest move does not claim it.