API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

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?: boolean
Negate the raw value before threshold comparison. Default false.
threshold?: number
Activation threshold in 0..1 - values at or below this read as 0 (deadzone). Default 0.2.
Source