I’m trying to make a widget that I can use to remap the player inputs, using the new Enhanced Input in blueprint. My problem is that when I kan only change 1 key.
Does anyone know how to changes the keys?
I did watch that, but it only show how to remap the jump button, I still need more help
Its the same to remap ANY button. The same process just repeat it for each button you wish to remap.
This won’t work, enhanced input remap does keep the modifiers on, so if you would change move forward for example it would become a move right by default since the sizzle get remove. I can’t figure out how to keep the modifiers on / pass them to the new key…
Tested this for Enhanced Input key rebinding and it works really well out of the box. Clean implementation and easy to use.
https://www.fab.com/listings/e8a77976-b4d4-4e8f-a4b4-c6a71a98554d
you need to iterate all mappable keys instead of one hardcoded action. on widget Construct do Get Enhanced Input User Settings -> Get All Player Mappable Action Key Mappings and create a button row per entry. on click, put an InputCapture mode (listen for next Key/Gamepad press, filter mouse movement), then call Map Player Key with the captured FKey and Save Settings. refresh the list after.
theres a ready widget base for this too — advanced enhanced input key remapping on fab Advanced Enhanced Input Key Remapping / Binding / Profiles / Local & Cloud Save. | Fab — comes with RebindingWidgetBase and InputCaptureComponent so you just inherit and skin it. handles timeout + mouse filter + conflict popup out of the box. did the trick for me when i needed more than one key.