menu
TouchState
import { TouchState } from "destack:input/binding";
Touch state snapshot.
1export struct TouchState {2 timestampNs: uint64;3 sequence: uint64;4 deviceId: string;5 contacts: TouchContact[];6}Members
timestampNs: uint64Monotonic update timestamp in nanoseconds.
sequence: uint64Monotonic sequence number generated by the host stream.
deviceId: stringStable source device identifier.
contacts: TouchContact[]Active contacts for this snapshot.