Skip to content

@modoki/engine / index / InputFrame

Interface: InputFrame

The merged per-frame snapshot a set of sources produces. held is the level state each source ORs into; pressed/released are the edges the inputSystem derives by diffing held against the previous frame (see computeEdges). pointer is authoritative (see PointerFrame), not OR-merged.

Input

axes

axes: AxisMap


held

held: FlagMap


lastDevice

lastDevice: InputDevice


pointer

pointer: PointerFrame


pressed

pressed: FlagMap


released

released: FlagMap

Built with Modoki.