input_map
Manage input actions in Godot projects: list, add, remove actions, and assign key, mouse, or joypad events.
Instructions
Input action management.
Actions (required params -> optional):
list (-> project_path): all input actions
add_action (action_name -> deadzone=0.5, project_path)
remove_action (action_name -> project_path)
add_event (action_name, event_type, event_value -> project_path)
event_type: key | mouse | joypad. event_value: e.g., KEY_SPACE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| project_path | No | Path to Godot project directory | |
| action_name | No | Input action name | |
| deadzone | No | Deadzone value (for add_action, default: 0.5) | |
| event_type | No | Event type: key, mouse, joypad (for add_event) | |
| event_value | No | Event value, e.g., KEY_SPACE (for add_event) |