-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change to InputEventMIDI event to include connection_index property #82157
Conversation
Added connection_index to the InputEventMIDI so that each MIDI message can be associated with a specific opened MIDI device.
Does this close godotengine/godot-proposals#7733? |
@Calinou yes. The connection index is direcly related to the count through the midi devices that are opened. |
clang-format applied
Quick fix for the compile error which I wasnt able to test locally easily. Hopefully this will now pass.
Shouldn't this be stored in the existing |
I can make all the changes and swap it to use InputEvent.device np, removing the need for the extra parameter and fix the documentation. |
Uses InputEvent.device instead, removing the need for a new property in InputEventMIDI. Updated to snake_case.
thanks for the review, and for the advice on using the InputEvent device instead. I have made the tweaks and submitted the changes. Cheers. |
Added connection_index to the InputEventMIDI so that each MIDI message can be associated with a specific opened MIDI device.