IEnhancedInputSubsystemInterface::QueryKeysMappedToAction

Returns the keys mapped to the given action in the active input mapping contexts.

Windows
MacOS
Linux

References

Module

EnhancedInput

Header

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Public/EnhancedInputSubsystemInterface.h

Include

#include "EnhancedInputSubsystemInterface.h"

Source

/Engine/Plugins/Experimental/EnhancedInput/Source/EnhancedInput/Private/EnhancedInputSubsystemInterface.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, BlueprintCosmetic, Category="Input|Mapping Queries")
virtual TArray< FKey > QueryKeysMappedToAction
(
    const UInputAction * Action
) const

Remarks

Returns the keys mapped to the given action in the active input mapping contexts.

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