Input Tab
The Input tab defines how the keyboard keys, gamepad buttons, and gamepad sticks are assigned to the 9 input actions used in the game.
What are input actions?
In this tool's games, player operations are abstracted into 9 actions:
- Movement: Up / Down / Left / Right
- Operation: Decide / Cancel / Menu / Dash
- Skip: Skip (bypasses text-input waits, rounds time to 0.1 sec)
Each action can be assigned multiple keyboard keys, multiple gamepad buttons, and multiple left/right stick patterns. The user can freely customize the key layout.
Overview
Purpose of the screen
- Assign keyboard keys to each of the 9 actions.
- Assign gamepad buttons to each of the 9 actions.
- Assign gamepad stick directions to the 4 directional actions (Up/Down/Left/Right).
Save destination
- Saved to
data/settings/input.jsonas a flat dictionary of 3 sections (keyboard / gamepad button / gamepad stick).
Where it is referenced
- Game startup:
input.jsonis loaded and registered to Godot's InputMap. - Runtime in general: All player input uses the settings in this tab.
- System tab: Interacts with dash input behavior (dash-enable setting).
Reserved IDs / special keys
This tab has no strict "reserved IDs", but note the following:
- If an action has no assignments at all (empty array), it will not fire.
- Overlapping keys between Decide, Menu, and Dash may cause unintended behavior.
Screen layout
The Input tab is a vertically long, scrollable single-screen layout. Its UI is generated dynamically at runtime, so the structure is as follows.
Top of screen
| Element | Description |
|---|---|
| "Input" label | Tab title |
Section 1: Keyboard
tscn label: Keyboard
| Element | Description |
|---|---|
| 9 action rows | Each row has "action name label + variable number of key-selection dropdowns + add button (+) + delete buttons (x)" |
Section 2: Gamepad Button
tscn label: Gamepad Button
| Element | Description |
|---|---|
| 9 action rows | Same structure as keyboard, with gamepad button choices |
Section 3: Gamepad Stick
tscn label: Gamepad Stick
| Element | Description |
|---|---|
| 4 action rows | Only the 4 movement directions (Up/Down/Left/Right), with 8 stick patterns as choices |
Bottom of screen
| Element | Description |
|---|---|
| Save button | Writes the edited content to input.json |
List of 9 actions
| Action (tscn internal key) | Display name | Purpose | Stick support |
|---|---|---|---|
| INPUT_UP | Up | Move upward | ✓ |
| INPUT_DOWN | Down | Move downward | ✓ |
| INPUT_LEFT | Left | Move leftward | ✓ |
| INPUT_RIGHT | Right | Move rightward | ✓ |
| INPUT_DECIDE | Decide | Confirm / finalize action | — |
| INPUT_CANCEL | Cancel | Cancel / go back | — |
| INPUT_MENU | Menu | Open menu | — |
| INPUT_DASH | Dash | Dash (hold for faster movement) | — |
| INPUT_SKIP | Skip | Bypass text-input waits, round time to 0.1 sec | — |
Purpose of the Skip action
Skip is an action added on 2026-09-16, used for:
- Instantly skipping input waits in Show Text (text display).
- Rounding wait times like Wait to 0.1 sec.
- Skipping effects during tests and debugging.
Rather than being for general players, it is useful for developers verifying behavior.
Structure of a single action row
Each action row consists of the following UI elements:
| Element | Role |
|---|---|
| Action name label (width 140px) | Displays the action name such as "Up", "Down", "Decide" |
| Current assignment OptionButton group (variable count) | Shows already-assigned keys / buttons / stick patterns |
x button for each assignment | Deletes that assignment |
+ button | Adds a new assignment (inserted with default value) |
Multiple assignments
Multiple keys / buttons / stick patterns can be assigned per action. For example, assigning both Enter and Space to "Decide" lets either key fire the Decide action.
No assignment
Deleting all rows of a given assignment with the x button means that action will not fire from keys / buttons / sticks (it will still fire if other sections have assignments).
Section 1: Keyboard
Supported actions
All 9 actions (Up/Down/Left/Right/Decide/Cancel/Menu/Dash/Skip).
Choices
OptionButton choices are Godot's Key enum (KEY_A, KEY_SPACE, KEY_ENTER, etc.), displayed in alphabetical order.
Typical default assignments (sample)
| Action | Default key |
|---|---|
| Up | KEY_UP (up arrow) |
| Down | KEY_DOWN (down arrow) |
| Left | KEY_LEFT (left arrow) |
| Right | KEY_RIGHT (right arrow) |
| Decide | KEY_ENTER, KEY_Z |
| Cancel | KEY_X, KEY_ESCAPE |
| Menu | KEY_A |
| Dash | KEY_SHIFT |
| Skip | KEY_CTRL |
Combinations not recommended
- Same key on Decide and Menu: Both fire and cause confusion.
- Dash and other actions: Dash is a hold-type action; avoid duplication with others.
Section 2: Gamepad Button
Supported actions
All 9 actions (Up/Down/Left/Right/Decide/Cancel/Menu/Dash/Skip).
Choices
OptionButton choices are Godot's JoyButton enum, displayed in alphabetical order.
| Button name | Typical position on controllers |
|---|---|
JOY_BUTTON_A | A button (Xbox) / × button (PS) |
JOY_BUTTON_B | B button (Xbox) / ○ button (PS) |
JOY_BUTTON_X | X button (Xbox) / □ button (PS) |
JOY_BUTTON_Y | Y button (Xbox) / △ button (PS) |
JOY_BUTTON_LEFT_SHOULDER | LB (Xbox) / L1 (PS) |
JOY_BUTTON_RIGHT_SHOULDER | RB (Xbox) / R1 (PS) |
JOY_BUTTON_DPAD_UP/DOWN/LEFT/RIGHT | D-pad |
| Others | Various extra buttons |
Typical default assignments (sample)
| Action | Default button |
|---|---|
| Up | JOY_BUTTON_DPAD_UP |
| Down | JOY_BUTTON_DPAD_DOWN |
| Left | JOY_BUTTON_DPAD_LEFT |
| Right | JOY_BUTTON_DPAD_RIGHT |
| Decide | JOY_BUTTON_A |
| Cancel | JOY_BUTTON_B |
| Menu | JOY_BUTTON_START |
| Dash | JOY_BUTTON_RIGHT_SHOULDER |
| Skip | JOY_BUTTON_LEFT_SHOULDER |
Section 3: Gamepad Stick
Supported actions
Only the 4 directional actions (Up/Down/Left/Right). Decide, Cancel, Menu, Dash, and Skip do not support sticks (intentional design to avoid conflating direction input with action input).
Choices
OptionButton choices are 8 stick patterns:
| Stick pattern (internal name) | Display name |
|---|---|
| Left Stick Up | Left Stick Up |
| Left Stick Down | Left Stick Down |
| Left Stick Left | Left Stick Left |
| Left Stick Right | Left Stick Right |
| Right Stick Up | Right Stick Up |
| Right Stick Down | Right Stick Down |
| Right Stick Left | Right Stick Left |
| Right Stick Right | Right Stick Right |
Typical default assignments (sample)
| Action | Default stick |
|---|---|
| Up | Left Stick Up |
| Down | Left Stick Down |
| Left | Left Stick Left |
| Right | Left Stick Right |
Movement is typically assigned to the left stick, with the right stick often left unassigned.
Internal save format
In JSON, stick values are stored as a stick-axis + value dictionary like {"JOY_AXIS_LEFT_Y": -1}. The UI displays labels like "Left Stick Up" and converts automatically on save.
Operations on an action row
Add a new assignment
- Press the
+button on the target action row. - A new OptionButton is appended at the end of the row (default is the first choice).
- Press the OptionButton and choose the key / button / stick to assign.
Change an existing assignment
- Press the target OptionButton.
- Choose a new key / button / stick from the dropdown.
- The selection is confirmed and
(*)is added to the tab title.
Delete an assignment
- Press the
xbutton to the right of the target OptionButton. - That assignment is removed from the row.
(*)is added to the tab title.
Save
To finalize edits, press the Save button. Changes are held in memory and marked with (*) on the tab title until saving. On save, they are written to data/settings/input.json.
Typical usage flows
Flow 1: Check the key layout in a new project
- Open the Input tab.
- Check the default assignments in the 3 sections (keyboard / gamepad button / gamepad stick).
- Change if needed; if not, close the tab without pressing Save and move on.
Flow 2: Enable WASD-key movement (keyboard)
- In the keyboard section's Up row, press the
+button. - In the new OptionButton, choose
KEY_W. - Similarly add
KEY_Sto Down,KEY_Ato Left,KEY_Dto Right. - Press the Save button.
- The original arrow-key assignments remain, so both arrow keys and WASD can be used for movement.
Flow 3: Change the dash key (Shift -> Space)
- Look at the Dash row in the keyboard section.
- Press the
KEY_SHIFTOptionButton and chooseKEY_SPACE. - Press the Save button.
- From then on, Space enables dashing.
Flow 4: Delete an unused key assignment
- Press the
xbutton onKEY_CTRLin the keyboard section's Skip row. - The skip assignment is deleted (the gamepad-button skip assignment remains, so skip is still available on controller).
- Press the Save button.
Flow 5: Assign movement to the right stick
- In the gamepad stick section's Up row, press the
+button. - In the new OptionButton, choose "Right Stick Up".
- Similarly add "Right Stick Down" to Down, "Right Stick Left" to Left, "Right Stick Right" to Right.
- Press the Save button.
- From then on, both left and right sticks can be used for movement.
Flow 6: Restore all key assignments to defaults
- Quit the game.
- Delete
data/settings/input.jsonin Explorer. - On the next game launch, runtime regenerates
input.jsonautomatically fromDefine.DEFAULT_INPUT_*_CONTROLS.
Simultaneous support for multiple input devices
The 3 sections in this tab operate independently. For example, the following design is possible:
- Assign both keyboard
Enterand gamepadAbutton to Decide.- The player can confirm with either keyboard or gamepad.
- Assign keyboard arrows + gamepad D-pad + sticks all to movement (up/down/left/right).
- The same action can be performed via 3 kinds of input methods.
Related tabs
| Tab | Related content |
|---|---|
| System tab | Setting for whether dash is enabled (pc_dash_enabled) |
Notes
Dynamic UI generation
The UI in this tab is dynamically generated from input.json content when the tab is opened. Unlike other tabs, the only static UI is the Save button.
UI is not regenerated on tab switch
Because switching tabs would regenerate the UI and discard unsaved changes (a bug), the fix on 2026-09-02 disabled regeneration on tab switch. After editing in the Input tab, always press the Save button before switching to another tab.
Beware of key duplication
Assigning the same key to multiple actions causes both to fire simultaneously, leading to unintended behavior. Avoid duplication intentionally.
Empty assignments
Deleting all entries from an assignment row causes that action to no longer fire from that section. It will still fire from other sections (for example, deleting all keyboard assignments for Skip while gamepad-button assignments remain lets Skip still fire).
Sticks support only 4 directions
Only the 4 directional actions "Up/Down/Left/Right" can be assigned to gamepad sticks. Decide, Cancel, Menu, Dash, and Skip cannot be assigned to sticks. This is an intentional tool-design constraint to prevent conflating direction input with action input.
Discarding unsaved changes
Edited content is not written to input.json until the Save button is pressed. Restarting the editor without saving discards the changes.
