diff options
author | njanssen <[email protected]> | 2020-09-24 22:31:07 +0200 |
---|---|---|
committer | njanssen <[email protected]> | 2020-09-24 22:31:07 +0200 |
commit | 6fc79035f4440be8b218a0ff91c3e6848a478dc4 (patch) | |
tree | 7a557edbd0814d5c538011ed93678e36271b02ca /LICENSE.md | |
parent | 8f3ca413a44ef05db8abd1b829b752537ffc78d0 (diff) | |
download | Orca-6fc79035f4440be8b218a0ff91c3e6848a478dc4.tar.gz Orca-6fc79035f4440be8b218a0ff91c3e6848a478dc4.zip |
Set input index to -1 (no input device) instead of wrapping to 0 when we've reached the end of the `Midi.inputs` array.
Now relying on `midi.selectInput` to do all the work, including setting `Midi.inputIndex` - this make sure an existing MIDI message handler is removed from the previous input device before we switch to the next one (or no input device in case of index -1)
Diffstat (limited to 'LICENSE.md')
0 files changed, 0 insertions, 0 deletions