Howdy partners,
I'm setting up controller support in my local multiplayer game, and I need to be able to add/remove buttons from my input map depending on the controller device id.
I've found the method I need to use: https://docs.godotengine.org/en/stable/classes/class_inputmap.html#class-inputmap-method-action-add-event
However, I can't for the life of me work out how to create an InputEvent for a specific button on a specific device.
For example, can anyone tell me what Device 0, Button 0 would look like as an InputEvent?
Thanks