API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceGamepadButtonOptions
@codexo/exojs / input / stable
Construction options for a GamepadButton.
2
props
0
methods
0
events
Import
import { GamepadButtonOptions } from '@codexo/exojs'Construction options for a GamepadButton.
Properties2
invert?: booleanNegate the raw value before threshold comparison. Default false.
threshold?: numberActivation threshold in 0..1 - values at or below this read as 0 (deadzone). Default 0.2.
Source