CrimsonInput · Lesson 3 of 8
Create Actions & a Mapping Context
Before you start
- Completed: Enable the Plugin
Chapters
1. Create the Input Actions
These are ordinary Enhanced Input assets. Create one InputAction per thing the player does — e.g. IA_Move with Value Type = Axis2D (Vector2D) and IA_Ability1 with Value Type = Digital (bool).
2. Create the Mapping Context
Create an InputMappingContext (IMC_Default) and add key bindings: WASD → IA_Move (with the usual swizzle/negate modifiers), Q → IA_Ability1, plus gamepad equivalents.
Two maps, two jobs
The IMC maps keys → actions. The Crimson config maps actions → tags. You need both — the IMC is about hardware, the config is about meaning.