Unreal enhanced input

From MRCalderon3D/everything-game-dev-code · View interactive version

Unreal enhanced input is an AI agent skill from the GitHub repository MRCalderon3D/everything-game-dev-code. Implement Unreal input with Enhanced Input — Input Actions, Mapping Contexts, triggers/modifiers, and runtime remapping.

How to use this skill

Skill file

Unreal Enhanced Input

Purpose

Implement Unreal input with Enhanced Input — Input Actions, Mapping Contexts, triggers/modifiers, and runtime remapping.

Use When

Inputs

Process

  1. model each action as an Input Action asset with an explicit value type; gameplay code binds to actions in SetupPlayerInputComponent via UEnhancedInputComponent, never to raw keys
  2. group bindings into Input Mapping Contexts per gameplay state and add/remove them on the local player's UEnhancedInputLocalPlayerSubsystem with explicit priorities, instead of branching inside handlers
  3. put press semantics into Triggers (Pressed, Released, Hold, Tap, Combo) and stick/axis shaping into Modifiers (dead zone, swizzle, negate, scalar) on the action or mapping — not re-implemented in C++/Blueprint handlers
  4. route UI through CommonUI or input modes (SetInputMode*) so menus consume input cleanly, and treat "UI open" as a context switch rather than per-handler checks
  5. implement rebinding with Player Mappable Keys (or UEnhancedInputUserSettings in newer versions), persist per user, and update on-screen prompts from the active mappings
  6. for local multiplayer, keep contexts and rebinds per ULocalPlayer and validate device assignment per player on each target platform
  7. test context transitions explicitly: entering/leaving vehicles, opening menus mid-hold, focus loss, and controller hot-plug

Outputs

Quality Bar

Common Failure Modes

Related Agents

Related Commands

Related Skills

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.