If I press a face button on an Xbox 360 Controller using an Input Key Selector, they key is named something like “Gamepad Face Button Left” instead of “X”.
Is there any way to give it a prettier name? Preferably one I can define myself. I need to rename the key, or make a fake one, because I can’t set the text of an Input Key Selector manually.
The second one won’t affect the button name in Input key Selector. The first one would work, but unfortunately I’m not compiling UE4 from source. I did find the files, but changing the source code in a pre-compiled engine doesn’t do anything.
It did lead me to another clue though, I think maybe I can use localization to achieve what I’m looking for, since all the input names seem to be localized.
Add an action mapping in project settings → input (under engine). Create a new action binding and name it “Controller X Button” or whatever you want, and add the mapping of gamepad face button left.
I’m sorry, but this doesn’t answer the question. I’m not asking asking how to make input events with custom names, I’m asking how to literally rename the inputs. Try making a widget blueprint and add an Input Key Selector to the canvas. This widget reads input and then sets its button text to whatever name the engine has set for that input event. Making an input mapping in the project settings does not change this.