Skip to content
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

#Fix midi devices not being selected when only one is connected #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

diiigle
Copy link

@diiigle diiigle commented Sep 28, 2022

I had the problem that the onmidimessage was never registered on my device when I had only one connected.
This PR triggers the onChange event on the input_list such that the event handlers are always registered to the first midi device by default.
It does not affect the behaviour when you have multiple devices connected and you can actually use the drop down select.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant