Skip to content

Engine → Platform

input.h

The backend-independent input accumulator. apply() (engine frame step 3) and inject() (editor, tests) run the same state machine; end_frame() publishes the snapshot by copy and clears the edges. Main thread only, except snapshot(), which any thread may read between two end_frame() calls.

Structs

File Description
input_stats Counters kept across the lifetime of an input instance (diagnostics overlay, tests).

Classes

File Description
input