API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceSceneInputBindingOptions
@codexo/exojs / core / stable
Construction options for every SceneInputs factory method.
3
props
0
methods
0
events
Import
import { SceneInputBindingOptions } from '@codexo/exojs'Construction options for every SceneInputs factory method.
Properties3
gamepadSlot?: 0 | 1 | 2 | 3Pin this binding to a specific gamepad slot (0..3). Channel offsets are resolved at construction time. When unset, gamepad channels read from slot 0 (the primary pad).
threshold?: numberTap-window for InputBinding.onTrigger in milliseconds. The trigger fires when the input is released within this window after activation. Defaults to InputBinding.defaultTriggerThreshold (300 ms).
Visible scene states in which this binding may dispatch. Default: 'active'.
Source