02-26-2023, 11:52 AM
Yes, I have seen the issue as well while testing. There is a flaw in the logic right now. In the code that sends the MIDI messages to the keyboard, it checks to see if the last file that was received matches the file that MobileSheets is going to send. If so, MobileSheets does not send the MIDI messages because it doesn't want to command what was already set. However, it also doesn't send the button message then, so the button isn't correctly set. I'm going to need to improve this logic to still prevent redundant messages, but process messages when the file is the same but the button is not. So I think the only thing I need to do is track the last button message I received, and compare that to the button message I'm going to send. If those are a match, and the file is a match, then I do nothing, but otherwise I still send the button message. I will test this out to see if it works as I expect. If so, I'll include it with the next round of updates.
Thanks,
Mike
Thanks,
Mike