To display keybindings options inside the menu, you need to setup the key rebinding options inside your Input Mapping Context, here are the steps to do that

  1. The key rebinding system uses the Enhanced Input system offered as default in Unreal Engine 5.1+ as the old system has been deprecated If you are still using the legacy input system, you will need to convert your inputs to this new system. You can check out Unreal’s documentation to get started with that

    Enhanced Input in Unreal Engine

    An example of an Enhanced Input setup is available in the folder EasyGameUI/DemoContent/Inputs with the inputs being used in the BP_DemoMainCharacter

  2. Once done, you should have an Input Mapping Context with all your inputs like this example one

    Untitled

  3. You now need to setup the settings for all the rebindable keys with the following instructions based on your engine version

    For Unreal Engine 5.1/5.2

    Untitled

    • Is Player Mappable Set this to True if you want the key to appear in the menu
    • Name Must be a fully unique name to describe the key. This name has no real importance for you but it must be unique
    • Display Name The name you wish to display to the player, you can reuse the same text as other keys for this one, only one keyboard/mouse and one gamepad key can share the same name to be displayed together
    • Display Category If choosing to sort by key category inside the Global Config, this will be the category under which the key will be displayed

    For Unreal Engine 5.3+

    Untitled

    • Setting Behavior Should be set to “Override Settings” if the key need to be rebindable, “Ignore Settings” if not
    • Player Mappable Key Settings Set this to “Player Mappable Key Settings”
    • Name Must be a fully unique name to describe the key. This name has no real importance for you but it must be unique
    • Display Name The name you wish to display to the player, you can reuse the same text as other keys for this one, only one keyboard/mouse and one gamepad key can share the same name to be displayed together
    • Display Category If choosing to sort by key category inside the Global Config, this will be the category under which the key will be displayed
    • You can ignore any settings that I did not mention

  4. If you didn’t do it before, you now need to configure the mapping contexts inside the Global Config for them to show up inside the menu → Keybinding Mapping Contexts To do that, open your Global Config Data Asset. You will then find the relevant settings under the Options Menu section

    image.png

  5. All your keys should now appear inside the options menu “Controls” tab!

  6. If while trying to rebind a key you see an error like the following, it means that you are trying to rebind a key that is already used by another input action that is not set as rebindable.

    image.png

    If you encounter this error while it should not (you don’t have a potentially conflicting input action that is not rebindable), then try to delete the temporary folders of your project (DerivedDataCache, Intermediate, Plateforms, Saved) and restart it

    image.png

    If you still encounter this issue, please contact me so that I can help you sort this out


<aside> <img src="/icons/compass_gray.svg" alt="/icons/compass_gray.svg" width="40px" />

NAVIGATION

</aside>