menu
InputEventHeader
import { InputEventHeader } from "destack:input/binding";
Input event header.
1export struct InputEventHeader {2 timestampNs: uint64;3 sequence: uint64;4 droppedCount: uint64;5 deviceId: string;6 window: WindowHandle;7}Members
timestampNs: uint64Monotonic event timestamp in nanoseconds.
sequence: uint64Monotonic sequence number generated by the stream.
droppedCount: uint64Number of events dropped before this event.
deviceId: stringStable source device identifier.
window: WindowHandleTarget window when the event was routed to a window.