I'm using the Input-Map of the project settings to do my game's controls.
Since the Input-Map can be remapped, I wanted my in-game hints to be dynamic according to what is currently mapped.
For example, I want a tooltip that says "Press Space to end turn", but replaced "Space" with whatever button is currently mapped to the end-turn action, so, for example, if the player changed Space to "E", the tooltip should say "Press E to end turn"
So, how can I get the (first) input key for an action as a string in code?