How to remap keyboard keys for input actions in C++?

You can do it using UInputSettings and RemoveAxisMapping, AddActionMapping functions

Check this tutorial

I see plenty of tutorials for remapping keyboard keys with blueprints, but no C++ examples. Can anyone tell me how to remap keyboard keys for input actions in C++ for UE4?

I know how to ‘add’ action mappings in c++ and use them. I just need to know how to ‘remap’ the keys, so that a different key calls the action instead of the ones chosen in the input settings.

I am creating your typical settings/change controls option for my game menu.

Thanks a million!