menu
InputEventSubscription
import { InputEventSubscription } from "destack:input/binding";
Input event subscription.
1export struct InputEventSubscription {2 flags: InputEventFlags;3 device: InputDeviceHandle;4 deviceKind: InputDeviceKind;5 window: WindowHandle;6 mode: InputEventMode;7 capacity: uint32;8 overflow: InputEventOverflow;9}Members
flags: InputEventFlagsEvent flags.
device: InputDeviceHandleDevice filter.
deviceKind: InputDeviceKindDevice kind filter.
window: WindowHandleWindow filter.
mode: InputEventModeEvent decoding mode.
capacity: uint32Queue capacity in events, or zero for the host default.
overflow: InputEventOverflowQueue overflow policy.