Atlantis.Gamepad Class
The gamepad class is responsible to manage gamepads connected to the device.
Constructor
Atlantis.Gamepad
()
Item Index
Methods
@setEnabled
(
-
enabled
Gets the status of the component.
Parameters:
-
enabled
BooleanSets to true to enable
getState
()
Atlantis.GamepadState
Gets the state of the gamepad
Returns:
Atlantis.GamepadState:
Return the state at this time.
initialize
()
Initialize the component and start event listeners
isEnabled
()
Boolean
Gets the status of the component.
Returns:
Boolean:
The status of the component.