Hey all, so I’ve got a question about remapping keys within the enhanced input action system.
So here’s what I got: I have a “Settings” menu that houses all the key bindings the player will need. These key bindings include a set for Mouse & Keyboard, as well as Gamepad. I am trying to find a way to remap individual keys for each input action. For example: I have ‘Jump’ set up as ‘Space’ and ‘Gamepad Face Bottom,’ and I want to only change the keyboard binding, not the gamepad binding.
I also want the input selectors to show the default key mappings at the start, obviously. I have a decent amount of this set up in my blueprints, the only problem is pulling the separate keys from each input action. What ends up happening is the input selectors pull the first option from the input action, and I have no idea how to specify which binding I want to change within the input action.
I’m attaching screenshots to further show what I’m trying to explain. I really don’t want to have to break my action mappings into individual keys, so if there is a way to achieve this I’d really love to know.
Thanks!!
These are all of my Input Actions inside the Mapping Context. You can see I have 2 different bindings - ‘Space Bar’ and "Gamepad…’
This is an example of me setting up the initial default value of the input selector by passing the default bindings from the action mapping. Since I don’t know how to separate which binding I want to change…
The keyboard and gamepad bindings will share the first index of the input action and not show their individual values.