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

#include <GenericPlatformInput.h>

+ Inheritance diagram for FGenericPlatformInput:

Static Public Member Functions

static uint32 GetKeyMap (uint32 *KeyCodes, FString *KeyNames, uint32 MaxMappings)
 
static uint32 GetCharKeyMap (uint32 *KeyCodes, FString *KeyNames, uint32 MaxMappings)
 
static FKey RemapKey (FKey Key)
 
static FKey GetGamepadAcceptKey ()
 
static FKey GetGamepadBackKey ()
 
static FKey GetPlatformDeleteKey ()
 

Static Protected Member Functions

static INPUTCORE_API uint32 GetStandardPrintableKeyMap (uint32 *KeyCodes, FString *KeyNames, uint32 MaxMappings, bool bMapUppercaseKeys, bool bMapLowercaseKeys)
 

Member Function Documentation

◆ GetCharKeyMap()

static uint32 FGenericPlatformInput::GetCharKeyMap ( uint32 KeyCodes,
FString *  KeyNames,
uint32  MaxMappings 
)
inlinestatic

◆ GetGamepadAcceptKey()

static FKey FGenericPlatformInput::GetGamepadAcceptKey ( )
inlinestatic

◆ GetGamepadBackKey()

static FKey FGenericPlatformInput::GetGamepadBackKey ( )
inlinestatic

◆ GetKeyMap()

static uint32 FGenericPlatformInput::GetKeyMap ( uint32 KeyCodes,
FString *  KeyNames,
uint32  MaxMappings 
)
inlinestatic

◆ GetPlatformDeleteKey()

static FKey FGenericPlatformInput::GetPlatformDeleteKey ( )
inlinestatic

◆ GetStandardPrintableKeyMap()

uint32 FGenericPlatformInput::GetStandardPrintableKeyMap ( uint32 KeyCodes,
FString *  KeyNames,
uint32  MaxMappings,
bool  bMapUppercaseKeys,
bool  bMapLowercaseKeys 
)
staticprotected

Retrieves some standard key code mappings (usually called by a subclass's GetCharKeyMap)

Parameters
OutKeyMapKey map to add to.
bMapUppercaseKeysIf true, will map A, B, C, etc to EKeys::A, EKeys::B, EKeys::C
bMapLowercaseKeysIf true, will map a, b, c, etc to EKeys::A, EKeys::B, EKeys::C

◆ RemapKey()

static FKey FGenericPlatformInput::RemapKey ( FKey  Key)
inlinestatic

Remap a given key to something else if necessary.


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