Get a list of Mapped Action Inputs

Is there a way to get the list of Actions Inputs, mapped in the project, by code?

My main goal is to expose in the Blueprint Editor Details Panel an option to choose which ActionInput (defined on each project) will trigger a method inside my class. Basically, the developer will choose which ActionInput will bind another method.

I don’t even know if it is possible, but I would love to hear your thoughts about it.

Found out how to get the list:


TArray<FName> Names;
GetDefault<UInputSettings>()->GetActionNames(Names);

3 Likes

I know this is an old post, but when I try the exact same thing, I get error “C4273 ‘UInputSettings::UInputSettings’: inconsistent dll linkage”

I have included “Engine” in my build script as well as “#include “GameFramework/InputSettings.h”” in my header.

Am I missing something?