GamepadState constructor
- required bool buttonA,
- required bool buttonB,
- required bool buttonX,
- required bool buttonY,
- required bool buttonBack,
- required bool buttonStart,
- required double normalTrigger,
- required double normalShoulder,
- required double normalLeftX,
- required double normalLeftY,
- required double normalRightX,
- required double normalRightY,
- required double normalDpadX,
- 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,
});