Skip to main content

Interface: GamepadButtonsAxis1dBindingArgs

Defined in: input/gamepad/bindings/gamepad-axis1d-binding.ts:12

Drives an axis from a pair of digital gamepad buttons, such as the D-pad.

Properties

negativeButtonIndex

negativeButtonIndex: GamepadButtonIndex

Defined in: input/gamepad/bindings/gamepad-axis1d-binding.ts:16

The index of the button that drives the axis towards -1.


positiveButtonIndex

positiveButtonIndex: GamepadButtonIndex

Defined in: input/gamepad/bindings/gamepad-axis1d-binding.ts:14

The index of the button that drives the axis towards 1.