GamepadState constructor

const GamepadState({
  1. required bool buttonA,
  2. required bool buttonB,
  3. required bool buttonX,
  4. required bool buttonY,
  5. required bool buttonBack,
  6. required bool buttonStart,
  7. required double normalTrigger,
  8. required double normalShoulder,
  9. required double normalLeftX,
  10. required double normalLeftY,
  11. required double normalRightX,
  12. required double normalRightY,
  13. required double normalDpadX,
  14. required double normalDpadY,
})

Creates a new representation of the gamepad state.

Implementation

const GamepadState({
  required this.buttonA,
  required this.buttonB,
  required this.buttonX,
  required this.buttonY,
  required this.buttonBack,
  required this.buttonStart,
  required this.normalTrigger,
  required this.normalShoulder,
  required this.normalLeftX,
  required this.normalLeftY,
  required this.normalRightX,
  required this.normalRightY,
  required this.normalDpadX,
  required this.normalDpadY,
});