Gamepad constructor

Gamepad(
  1. int controllerIndex
)

Creates a new gamepad object, whether it is connected or not.

Implementation

Gamepad(this.controllerIndex);