How do I get bound keys?

I have a widget that will display the inputs of the controller and the keyboard. How do I get those inputs? And I can’t use an Input event because that will return none if the key isn’t pressed.

Hi TinyTracker1,
You can use the Enhanced Input System in UE5 and up - here’s a snapshot of some test code of mine with some of the useful bits including the mapped key:

2 Likes

Interesting. Still prints out “None”

Perhaps it’s not using the Enhanced Input System? I found a snap I made for another post that includes the “non-enhanced” way too:

2 Likes

Is there a thing for axis mapping?

Nevermind, found it. It just doesn’t show up easily.
“Get Axis mapping by name”

1 Like