API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceInputBindingOptions
@codexo/exojs / input / stable
Construction options shared by every binding factory method.
2
props
0
methods
0
events
Import
import { InputBindingOptions } from '@codexo/exojs'Construction options shared by every binding factory method.
Properties2
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).
Source