left_trigger left_bumper right_trigger right_bumper up_button left_button right_button down_button dpad_up dpad_down dpad_left dpad_right back start
The _button bindings are for ABXY
- Obtain godot 4.3
- Clone the repo
$ git clone https://github.com/hackbots-3414/Hackbots_Operator_Trainer - Open the
project.godotfile inside of godot - Go to project>export
- Follow the steps to install the export templates
- Select windows/linux/etc and then press "Export Project", this will build and output the project at the path specified
- Create a new
jsonfile inside of the/controllers/directory - Name it
<controller type>.json - Follow this format, only for the ones that need to be changed, there are default names:
{ "binding-names": { "<action name(see above)>": "clean name", example: "up_button": "Triangle", "dpad_up": "Dpad Up" } } - Rebuild/reexport the project, required as files are baked into the file
- Create a new
jsonfile inside of/configs/ - Name it
<binding names>.json - Follow this format, only actions listed will be used:
{ "action_texts":{ # For each action inside of the bot, that is wanted, create a new line like this: "<Action>": "<Action Name>" # Example "left_button": "Shoot Amp" # The bindings are seen below } } - Rebuild/reexport the project, required as files are baked into the file
