Controller

constructor(gamepad: Gamepad)

Create a new Controller to manage.

Parameters

gamepad

The Gamepad to wrap (gamepad1, gamepad2)