FKeyBind

Struct containing mappings for legacy method of binding keys to exec commands.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerInput.h

Include

#include "GameFramework/PlayerInput.h"

Syntax

struct FKeyBind

Remarks

Struct containing mappings for legacy method of binding keys to exec commands.

Variables

Name Description

Public variable

uint8: 1

 

Alt

Whether the alt key needs to be held when the key event occurs

Public variable

uint8: 1

 

bDisabled

Public variable

uint8: 1

 

bIgnoreAlt

Whether the alt key must not be held when the key event occurs

Public variable

uint8: 1

 

bIgnoreCmd

Whether the command key must not be held when the key event occurs

Public variable

uint8: 1

 

bIgnoreCtrl

Whether the control key must not be held when the key event occurs

Public variable

uint8: 1

 

bIgnoreShift

Whether the shift key must not be held when the key event occurs

Public variable

uint8: 1

 

Cmd

Whether the command key needs to be held when the key event occurs

Public variable

FString

 

Command

The command to execute when the key is pressed/released

Public variable

uint8: 1

 

Control

Whether the control key needs to be held when the key event occurs

Public variable

FKey

 

Key

The key to be bound to the command

Public variable

uint8: 1

 

Shift

Whether the shift key needs to be held when the key event occurs

Constructors

Name Description

Public function

FKeyBind()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss