Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | EulersIdentity | |
Old Version | Published before Godot 3 was released. |
I’m trying to change the input map with InputMap.action_add_event(action,event)
and I’m getting the event from a file. How can I take something like KEY_A
or 65
and turn it into an InputEvent of the ‘A’ key being pressed so I can pass it to action_add_event()
?