UPlayerInput::GetKeysForAxis

Returns the list of keys mapped to the specified Axis 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< FInputAxisKeyMapping > & GetKeysForAxis
(
    const FName AxisName
) const

Remarks

Returns the list of keys mapped to the specified Axis Name