UPlayerInput::GetKeysForAction

Returns the list of keys mapped to the specified Action Name

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/PlayerInput.h"

Source

/Engine/Source/Runtime/Engine/Private/UserInterface/PlayerInput.cpp

Syntax

const TArray< FInputActionKeyMapping > & GetKeysForAction
(
    const FName ActionName
) const

Remarks

Returns the list of keys mapped to the specified Action Name