input_setup_action
Define a custom input action and assign keyboard keys to bind it for use in Godot game projects.
Instructions
Set up an input action with key bindings in the project's input map.
Category: Input
Args: project_path: Path to the Godot project directory action_name: Name of the input action (e.g., "jump", "move_left") keys: List of key strings to bind (e.g., ["Space", "W", "Ctrl+S"]) Supported keys: A-Z, 0-9, F1-F12, Space, Enter, Tab, Escape, Arrow keys (Up, Down, Left, Right), and modifiers (Ctrl+, Alt+, Shift+, Meta+)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| action_name | Yes | ||
| keys | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |