create_input_mapping
Define input mappings in Unreal Engine project settings for legacy input system. Bind action names to keys for button presses or analog axes.
Instructions
Create an input mapping in the project settings (legacy input system).
Args: action_name: Name of the input action (e.g., "Jump", "Fire", "MoveForward") key: Key binding (SpaceBar, LeftMouseButton, W, A, S, D, Gamepad_FaceButton_Bottom, etc.) input_type: "Action" (button press) or "Axis" (analog/continuous)
KB: see knowledge_base/15_INPUT_SYSTEM_AND_UMG.md#overview Example: create_input_mapping(action_name="ExampleName", key="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| input_type | No | Action | |
| action_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |