menu

InputEventSubscription

import { InputEventSubscription } from "destack:input/binding";

Input event subscription.

language/library/src/input/binding/event.ds:66:81
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: InputEventFlags

Event flags.

device: InputDeviceHandle

Device filter.

deviceKind: InputDeviceKind

Device kind filter.

window: WindowHandle

Window filter.

mode: InputEventMode

Event decoding mode.

capacity: uint32

Queue capacity in events, or zero for the host default.

overflow: InputEventOverflow

Queue overflow policy.