Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

godot-input-handling

БесплатноЗапускает вложенные скриптыНе проверен

Expert patterns for input handling covering InputMap actions, InputEvent processing, controller support, rebinding, deadzones, and input buffering. Use when…

thedivergentaiот thedivergentai★ 1 019 звёзд на GitHub

Об этом скилле

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)

Scenario Load Do NOT load
Settings remapping UI safe_runtime_rebind.gd multi_touch_gestures.gd, mouse_capture_manager.gd, combo/replay injectors
Mobile / touch gestures multi_touch_gestures.gd mouse_capture_manager.gd, desktop remapper persistence
Jump/dash buffer only input_buffer.gd / advanced_input_buffer.gd Remapper, multi-touch, replay, combo validator
FPS mouse look mouse_capture_manager.gd + deadzone/glyph as needed multi_touch_gestures.gd, combo/replay
Combo / fighting sequences combo_validator.gd + buffers Touch gestures, mouse capture
Replay / virtual injection tests input_replay_buffer.gd / virtual_input_injector.gd Remapper UI, multi-touch

Available Scripts

advanced_input_buffer.gd

Frame-perfect input buffering system for responsive jumps, dashes, and combo chains.

input_buffer.gd

Timed action buffer with _physics_process decay so windows match CharacterBody consumption, not render FPS.

safe_runtime_rebind.gd

Dynamic input rebinding with conflict detection and user://input_rebinds.cfg persistence.

analog_deadzone_manager.gd

Radial deadzone management for analog sticks to eliminate drift while maintaining natural follow-through.

multi_touch_gestures.gd

Handling touch, drags, and pinch-to-zoom gestures for mobile and touchscreen compatibility.

input_echo_filter.gd

Filtering echo events to distinguish between hold-to-navigate (UI) and one-time gameplay actions.

mouse_capture_manager.gd

Robust mouse capture and sensitivity scaling logic for FPS and mouse-intensive systems.

hold_toggle_accessibility.gd

Software-side support for user-defined 'Hold' vs 'Toggle' accessibility preferences.

glyph_prompt_manager.gd

Real-time switching between Keyboard and Gamepad UI prompts based on the last active device.

action_state_machine.gd

Tracking the lifecycle of an action ('Just Pressed', 'Held', 'Released') for complex state logic.

unhandled_input_priority.gd

Demonstrating the correct use of _unhandled_input to prevent gameplay logic from leaking into UI.

virtual_input_injector.gd

Input.parse_input_event injection for CI tutorials / AI assistance — not physical hardware.

combo_validator.gd

Rolling timed sequence buffer for special-move validation (fighting / action RPG).

input_replay_buffer.gd

Frame-tagged capture + deterministic replay via parse_input_event.

NEVER Do in Input Handling

  • NEVER poll input in _process() for gameplay actions — Use _physics_process() or _unhandled_input(). _process() is frame-rate dependent, causing dropped inputs at low FPS [22].
  • NEVER use hardcoded key checks (e.g., KEY_W) — Always use InputMap actions. Hardcoded keys prevent rebinding and break compatibility with non-QWERTY layouts [23].
  • NEVER ignore analog stick deadzones — Drifting sticks at 0.05 magnitude will cause unintended movement. Implement a radial deadzone (not axial) in code or settings [24].
  • NEVER assume a single input device — Players may switch between Keyboard and Controller mid-session. Use Input.joy_connection_changed to update UI prompts dynamically [25].
  • NEVER use _input() for gameplay actions — _input() fires for ALL events (including UI). Use _unhandled_input() so gameplay logic doesn't trigger while clicking menus [26].
  • NEVER omit input buffering in fast-paced games — If a player pr
Полный SKILL.md на GitHub

Установить godot-input-handling в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/expert-input-extensions.mdreferences/godot-47-input-device-ids.mdreferences/input-event-processing.mdreferences/inputmap-best-practices.mdreferences/migration-notes.mdreferences/multi-modal-input-ui-glyphs.mdscripts/action_state_machine.gdscripts/advanced_input_buffer.gdscripts/analog_deadzone_manager.gdscripts/combo_validator.gdscripts/glyph_prompt_manager.gdscripts/hold_toggle_accessibility.gdscripts/input_buffer.gdscripts/input_buffer_manager.gdscripts/input_echo_filter.gdscripts/input_remapper.gdscripts/input_replay_buffer.gdscripts/mouse_capture_manager.gdscripts/multi_touch_gestures.gdscripts/safe_runtime_rebind.gdscripts/unhandled_input_priority.gdscripts/virtual_input_injector.gd

FAQ

Что делает скилл godot-input-handling?

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.

Как установить скилл godot-input-handling?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл godot-input-handling запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить godot-input-handling с