When I design the menus in my game with UMG, I would sometimes need to label actions that are doable by some controller buttons if a player is using a controller.
If I’m using an Xbox controller and some action is assigned to the A button I’d want to display an A. And if someone isn’t using an Xbox controller but instead some other controller I’d want to display Button 0 or something.
Is there a nice generic way to display controller buttons as text? I’ve heard of some games doing this as part of the font using special characters. It would be really nice, especially, if this is already built into Unreal Engine 4.
Here’s a screenshot example: