Contro

Contro

new Contro(gamepad)

Look at the Input reference pages before reading these docs. Stores the input status of buttons, triggers, and sticks on game controllers. Used internally to create controller objects for the `contros` array (aka `controllers`). Can also be used to create a mock controller object.
Source:
Parameters:
Name Type Description
gamepad Gamepad gamepad object or id string for a mock controller

Extends

Classes

Contro

Members

lb

Alias for `l` (left button).
Source:

leftStickButton

Alias for `lsb`.
Source:

ls

Alias for `leftStick`.
Source:

rb

Alias for `r` (right button).
Source:

rightStickButton

Alias for `rsb`.
Source:

rs

Alias for `rightStick`.
Source: