Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerInput.h |
| Include | #include "GameFramework/PlayerInput.h" |
Syntax
struct FInputActionKeyMapping
Remarks
Defines a mapping between an action and key
Variables
| Type | Name | Description | |
|---|---|---|---|
| FName | ActionName | Friendly name of action, e.g "jump" | |
| uint8: 1 | bAlt | True if one of the Alt keys must be down when the KeyEvent is received to be acknowledged | |
| uint8: 1 | bCmd | True if one of the Cmd keys must be down when the KeyEvent is received to be acknowledged | |
| uint8: 1 | bCtrl | True if one of the Ctrl keys must be down when the KeyEvent is received to be acknowledged | |
| uint8: 1 | bShift | True if one of the Shift keys must be down when the KeyEvent is received to be acknowledged | |
| FKey | Key | Key to bind it to. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FInputActionKeyMapping
(
const FName InActionName, |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator<
(
const FInputActionKeyMapping& Other |
||
| bool | operator==
(
const FInputActionKeyMapping& Other |
See Also
https://docs.unrealengine.com/latest/INT/Gameplay/Input/index.html