FInputActionKeyMapping

Defines a mapping between an action and key

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public variable

FName

 

ActionName

Friendly name of action, e.g "jump"

Public variable

uint8: 1

 

bAlt

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

Public variable

uint8: 1

 

bCmd

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

Public variable

uint8: 1

 

bCtrl

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

Public variable

uint8: 1

 

bShift

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

Public variable

FKey

 

Key

Key to bind it to.

Constructors

Name Description

Public function

FInputActionKeyMapping

(
    const FName InActionName,
    const FKey InKey,
    const bool bInShift,
    const bool bInCtrl,
    const bool bInAlt,
    const bool bInCmd
)

Operators

Name Description

Public function Const

bool

 

operator<

(
    const FInputActionKeyMapping& Othe...
)

Public function Const

bool

 

operator==

(
    const FInputActionKeyMapping& Othe...
)

See Also