← Standard library

InputData

channel InputData
import InputData from Wax;

The current frame's ordered batch of physical-key, mouse, and window events. Use this raw channel when event ordering matters; text editing arrives separately through TextData.

Input.wax:89

Members

eventsfield

public ReadOnlySpan<InputEvent> events

Events in the order the host supplied them for this frame. A frame with no input has an empty batch.

Input.wax:95

GetChangesmethod

public static fn GetChanges() : InputDataChanges

Provided by the compiler.