# Issues with rebinding keys with Enhanced Inputs

**URL:** <https://forums.unrealengine.com/t/issues-with-rebinding-keys-with-enhanced-inputs/677530>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, UE5-1, question, Blueprint\
**Created:** [October 26, 2022, 2:35pm UTC](https://forums.unrealengine.com/t/issues-with-rebinding-keys-with-enhanced-inputs/677530 "2022-10-26T14:35:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Defuse\_Studios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/defuse_studios/32/1220031_2.png) [@Defuse\_Studios](https://forums.unrealengine.com/u/Defuse_Studios)\
**Post date:** [October 26, 2022, 2:35pm UTC](https://forums.unrealengine.com/t/issues-with-rebinding-keys-with-enhanced-inputs/677530/1 "2022-10-26T14:35:14Z")

</div>

Hey guys,

I’m having some trouble trying to rebind keys with the new Enhanced Inputs system. It just seams to be missing key settings. I’m trying to rebind a key to an action by using Unmap Key to remove the old mapping and then Map Key to map the new mapping to the action.

The problem I’m having is when using Map Key node its missing important key input settings, like the Is Player Mappable, Player Mappable Key Options, Triggers, Modifiers etc. The weird things is the Map Key node then returns a KeyMapping struct that contains all this info but its just blank. Which means I lose my Display Name for the input as well as modifiers for the new input.

I’ve also tried the Add Player Mapped Key node which does work better as it allows you to replace a key input instead of having to remove one and adding a new one. But it doesn’t save to the context, so as soon as you restart the game the controls will revert back to their previous settings. Is there a way to save these new mapped key inputs?

EDIT: So I’ve found that even when using the Map Key node with the Mapping Context object after restarting the engine the Mapping Context blueprint will revert to the previous key input mappings. So I have no idea how your meant to implement a rebind key system that saves the new key inputs.

Any suggestions would be amazing, thanks guys 🙂

---

<div class="post-metadata">

**Author:** ![stuied148](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stuied148](https://forums.unrealengine.com/u/stuied148)\
**Post date:** [November 28, 2022, 5:00pm UTC](https://forums.unrealengine.com/t/issues-with-rebinding-keys-with-enhanced-inputs/677530/3 "2022-11-28T17:00:41Z")

</div>

Hi!

I encountered the same problem. Doing it the following way edits the mapped key & keeps all the other map settings.

 ![SetKeyInMapping](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/0/1101dc5c94a7811e2d41212569fb807ea6b7129c.png)  
Be sure to get the mappings array element as a reference (not a copy) otherwise it won’t update the mapping.

The KeyMapping variable is a reference to the mapping we’re trying to change & the MappingContext variable is a reference to the input context that contains the KeyMapping.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![Defuse\_Studios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/defuse_studios/32/1220031_2.png) [@Defuse\_Studios](https://forums.unrealengine.com/u/Defuse_Studios)\
**Post date:** [November 29, 2022, 11:55am UTC](https://forums.unrealengine.com/t/issues-with-rebinding-keys-with-enhanced-inputs/677530/4 "2022-11-29T11:55:12Z")

</div>

Hey, yeah I came up with something similar but still had the issue of the keys reverting after reopening the project, I reported this to Epic and they’ve added the bug to the unreal bug tracker.

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-170735)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

---

<div class="post-metadata">

**Author:** ![deathclonic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@deathclonic](https://forums.unrealengine.com/u/deathclonic)\
**Post date:** [December 24, 2022, 12:56am UTC](https://forums.unrealengine.com/t/issues-with-rebinding-keys-with-enhanced-inputs/677530/5 "2022-12-24T00:56:59Z")

</div>

Thank you so much for this!

---

<div class="post-metadata">

**Author:** ![Bugzi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bugzi](https://forums.unrealengine.com/u/Bugzi)\
**Post date:** [July 26, 2023, 10:45pm UTC](https://forums.unrealengine.com/t/issues-with-rebinding-keys-with-enhanced-inputs/677530/6 "2023-07-26T22:45:22Z")

</div>

I see that it was flagged “by design” did you by any chance learn how to fix it?

---

<div class="post-metadata">

**Author:** ![Defuse\_Studios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/defuse_studios/32/1220031_2.png) [@Defuse\_Studios](https://forums.unrealengine.com/u/Defuse_Studios)\
**Post date:** [July 27, 2023, 3:12pm UTC](https://forums.unrealengine.com/t/issues-with-rebinding-keys-with-enhanced-inputs/677530/7 "2023-07-27T15:12:48Z")

</div>

I ended up creating a save system using the unreal engine save system that stores the name and key of each binding that gets rebound by the player, then on begin play of the game instance I load that save file and reapply the key binds and this seams to work fine. Not sure if this is the correct way to do this but it does work.

---

<div class="post-metadata">

**Author:** ![HashemShepard](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hashemshepard/32/1201564_2.png) [@HashemShepard](https://forums.unrealengine.com/u/HashemShepard)\
**Post date:** [January 27, 2026, 4:52pm UTC](https://forums.unrealengine.com/t/issues-with-rebinding-keys-with-enhanced-inputs/677530/8 "2026-01-27T16:52:08Z")

</div>

Highly recommended for anyone building an Unreal Engine game with Enhanced Input and customizable key bindings. Solid work.  
[https://www.fab.com/listings/e8a77976-b4d4-4e8f-a4b4-c6a71a98554d](https://www.fab.com/listings/e8a77976-b4d4-4e8f-a4b4-c6a71a98554d)

---

<div class="post-metadata">

**Author:** ![ShadowBr0kerz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shadowbr0kerz/32/1201558_2.png) [@ShadowBr0kerz](https://forums.unrealengine.com/u/ShadowBr0kerz)\
**Post date:** [September 4, 2026, 12:46pm UTC](https://forums.unrealengine.com/t/issues-with-rebinding-keys-with-enhanced-inputs/677530/9 "2026-09-04T12:46:42Z")

</div>

yea the Map Key node creates a bare mapping without the PlayerMappableOptions — thats why IsPlayerMappable / DisplayName disappears after rebind. you need to read the original `FEnhancedActionKeyMapping` first and pass its `PlayerMappableOptions` into the new mapping, or use `Map Player Key` / `Add Player Mapped Key In Slot` from `UEnhancedInputUserSettings` which preserves it. also call `UpdateControlMappings` after.

if you want it without wrestling the struct, advanced enhanced input key remapping on fab [Advanced Enhanced Input Key Remapping / Binding / Profiles / Local & Cloud Save. | Fab](https://www.fab.com/listings/e8a77976-b4d4-4e8f-a4b4-c6a71a98554d) handles that for you — it copies the options, does conflict detection (swap/replace/cancel prompt) and keeps reserved keys. saves a lot of boilerplate around that Map Key gotcha.
