buttonMapping property

  1. @override
Map<String, String> get buttonMapping
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 => {
    // Manual control
    "Swivel": "Right joystick (horizontal)",
    "Shoulder": "Right joystick (vertical)",
    "Elbow": "Left stick (vertical)",
    "Pseudo-IK": "Bumpers",

	// Gripper
	"Lift gripper": "D-pad up/down",
	"Rotate gripper": "D-pad left/right",
	"Pinch": "Triggers",

	// Custom actions
	"Fully close": "A",
	"Fully open": "B",
	"Press keyboard": "X",
	"Spin gripper": "Y",

	// General
	"Stop": "Select",
	"Calibrate": "Start",
};