A resource that can store your InputMap action keys/buttons. Allows for easy customization of controls.
- Create a new ControlsRemap resource.
- Customize your actions with set_action_key() or set_action_button() (they take InputEventKey and InputEventJoypadButton events)
- Use create_remap() to store the customized actions in ControlRemap
- Use ResourceSaver on the remap to save it to a file
- Later you can load() the resource and use apply_remap() to load the actions from remap.
Edit the ACTION_LIST constant inside the script to customize your used actions.
Check the repo for more in-depth description.