其他

godot-input-handling

thedivergentai/…c-skills

Expert patterns for input handling covering InputMap actions, InputEvent processing, controller support, rebinding, deadzones, and input buffering. Use when setting up player controls, implementing input systems, or adding gamepad/accessibility features. Keywords InputMap, InputEvent, gamepad, controller, rebinding, deadzone, input buffer.

  • 522 次安装
  • 908 星标
  • 收录于

安装命令

npx skills add https://github.com/thedivergentai/game-dev-agentic-skills --skill godot-input-handling

SKILL.md

Input Handling

Handle keyboard, mouse, gamepad, and touch input with proper buffering and accessibility support.

MANDATORY script triggers (by scenario)

Scenario Load before coding
Jump/dash/coyote feel input_buffer.gd (physics-tied decay) + advanced_input_buffer.gd for multi-action priority
Settings remapping UI safe_runtime_rebind.gd (ConfigFile persist to user://)
Analog stick movement analog_deadzone_manager.gd — never raw axis without radial deadzone
"Press X / Press E" prompts glyph_prompt_manager.gd
UI nav vs gameplay confirm input_echo_filter.gd — echoes move menus, not Confirm/Back
Gameplay vs menu clicks unhandled_input_priority.gd

Do-NOT-Load (by scenario)