Turn ON Enhanced Input
It is assumed that you already know what the "new" Enhanced Input System is in Unreal Engine. And you already have some Mapping Contexts and Actions implemented in your game.
Last updated
It is assumed that you already know what the "new" Enhanced Input System is in Unreal Engine. And you already have some Mapping Contexts and Actions implemented in your game.
Last updated
In this chapter we will not go advanced and deep into how to add all keybinds you want. Or explain how the mapping system in this Menu works. Instead, this chapter is rather serves the initial integration purpose, where we are getting basic things connected and working.
We begin from enabling crucial checkbox in Project Settings
:
Once it's done, in Blueprints folder open BP_SaveGame_GameSettings
, and in there expand category 'Controls'
where you should see read-only variable (S)Contexts
. Fill that array manually with all Input Mapping Contexts you use in your game:
Now open your PlayerController
blueprint and remove all(if there any) Add Mapping Context
nodes, and replace those with a single function from Global Function Library like so:
And after that, it is considered to be done.
Now you can go and tryout some of the Menu remapping functionality. If you have something in your game that you can name 'shoot', 'move forward' or 'jump':
In case you specified 'name' everywhere correctly but in Menu some Keybinder still not able to recognize such mapping - go and delete SaveGame
file at projectname\Saved\SaveGames\GameSettingsSlot.sav
(while game is not running obviously) and then it should work.