Enhanced Input
Enhanced Input is the new recommended standard as of UE 5.1.
It is used by Common UI and Lyra, for example.
Core Concepts
- Inputs are Actions, not keys
- Actions can be the press of a key, or the release of a key, the persistent holding down of a key.
- These are many potential actions involving a single key.
- Actions can be combined using
Chord
triggers (e.g.SHIFT
+F
versus justF
)
- Actions can be the press of a key, or the release of a key, the persistent holding down of a key.
- Input Mapping Context (IMC)
- An IMC is used to define a set of keys/buttons/etc with their respective triggers and effects.
- You can change if and at what priority any given IMC is active during Game Play.
- Whenever the IMC is active, its map of inputs to Actions will be in effect.
- Enhanced Input in UE5 by Epic Games
- This is must read material to understand Enhanced Input.
Understanding the Flow of Input
- UMG-Slate Compendium
by YawLighthouse
- in particular: Input Framework of Unreal Engine(relating to UMG/Slate)