Controller constructor

Controller(
  1. int index,
  2. RoverControls controls
)

Maps button presses on gamepad to controls.

Implementation

Controller(this.index, this.controls);