buttonMapping property
- @override
override
A human-readable explanation of what the controls are.
Keys are the actions, values are the buttons that trigger them.
Implementation
@override
Map<String, String> get buttonMapping => {
"Forward": "Right trigger",
"Reverse / Brake": "Left trigger",
"Steering": "Left joystick (horizontal)",
"Decrease throttle": "Left bumper",
"Increase throttle": "Right bumper",
"Rear camera": "D-pad",
"Front camera": "Right joystick",
};