Skip to main content

InputBinding

Description:

  A keyboard or gamepad binding for generic trigger helpers.

button

Type: Field.

Description:

  A gamepad button or button combination to bind. [optional]

Signature:

button: ButtonName | {ButtonName}

controllerId

Type: Field.

Description:

  The ID of the gamepad controller. Default is 0. [optional]

Signature:

controllerId: number