Does GDScript have a simple function or command that can display a readable version of whatever key/mouse button is mapped to an InputMap? For example, "ui_up" has 'Up' and a Joypad button assigned to it, and using InputMap.get_action_list("ui_up")
gives me: [[InputEventKey:26], [InputEventJoypadButton:27]]
If I displayed that in a controls setting screen, I don't think anyone would know what it means.
Related to that, I've been trying to set a new input for an existing InputMap. Input doesn't have any get key press that I could use to read whatever the user presses, nor does InputEvent. I see InputMap has settings for removing and adding actions, but I'm not sure how to get a user action to set in InputMap.action_add_event("button", new_event)