InputManager

Provides a centralized place for getting the state of input events from an element.

Constructor

new L3D.InputManager()

Methods

captureGamepads()

Tells the system to capture gamepad events on the element

captureKeys()

Tells the system to capture key events on the element. This will trigger onKey

getGamepads(skipMapping)

Returns the detected gamepads on the system

Parameters
skipMapping bool

if set to true it returns the basic gamepad, otherwise it returns a class with mapping info to XBOX controller