UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FInputActionKeyMapping Struct Reference

#include <PlayerInput.h>

Public Member Functions

bool operator== (const FInputActionKeyMapping &Other) const
 
bool operator< (const FInputActionKeyMapping &Other) const
 
 FInputActionKeyMapping (const FName InActionName=NAME_None, const FKey InKey=EKeys::Invalid, const bool bInShift=false, const bool bInCtrl=false, const bool bInAlt=false, const bool bInCmd=false)
 

Public Attributes

FName ActionName
 
uint8 bShift:1
 
uint8 bCtrl:1
 
uint8 bAlt:1
 
uint8 bCmd:1
 
FKey Key
 

Detailed Description

Defines a mapping between an action and key

See also
https://docs.unrealengine.com/latest/INT/Gameplay/Input/index.html

Constructor & Destructor Documentation

◆ FInputActionKeyMapping()

FInputActionKeyMapping::FInputActionKeyMapping ( const FName  InActionName = NAME_None,
const FKey  InKey = EKeys::Invalid,
const bool  bInShift = false,
const bool  bInCtrl = false,
const bool  bInAlt = false,
const bool  bInCmd = false 
)
inline

Member Function Documentation

◆ operator<()

bool FInputActionKeyMapping::operator< ( const FInputActionKeyMapping Other) const
inline

◆ operator==()

bool FInputActionKeyMapping::operator== ( const FInputActionKeyMapping Other) const
inline

Member Data Documentation

◆ ActionName

FName FInputActionKeyMapping::ActionName

Friendly name of action, e.g "jump"

◆ bAlt

uint8 FInputActionKeyMapping::bAlt

true if one of the Alt keys must be down when the KeyEvent is received to be acknowledged

◆ bCmd

uint8 FInputActionKeyMapping::bCmd

true if one of the Cmd keys must be down when the KeyEvent is received to be acknowledged

◆ bCtrl

uint8 FInputActionKeyMapping::bCtrl

true if one of the Ctrl keys must be down when the KeyEvent is received to be acknowledged

◆ bShift

uint8 FInputActionKeyMapping::bShift

true if one of the Shift keys must be down when the KeyEvent is received to be acknowledged

◆ Key

FKey FInputActionKeyMapping::Key

Key to bind it to.


The documentation for this struct was generated from the following file: