godot-input
Installation
SKILL.md
Input Handling in Godot
Patterns for robust, accessible input systems.
Input Map Configuration
Define actions in Project Settings → Input Map or via code:
# Register actions at runtime (or use editor)
InputMap.add_action("move_left")
InputMap.action_add_event("move_left", InputEventKey.new())
var left_event = InputEventKey.new()
left_event.keycode = KEY_A
InputMap.action_add_event("move_left", left_event)