setDefaultControls method

void setDefaultControls()

Sets all the gamepads to their default controls.

Implementation

void setDefaultControls() {
  final settings = models.settings.dashboard;
  if (settings.preferTankControls) {
    controller1.setMode(OperatingMode.drive);
  } else {
    controller1.setMode(OperatingMode.modernDrive);
  }
  controller2.setMode(OperatingMode.none);
  controller3.setMode(OperatingMode.none);
}