Added capability of control buttons with Control Change MIDI events with different keys but same values using "Bx Ctrl Change Fixed On Value Toggle" and "Bx Ctrl Change Fixed Off Value Toggle" https://github.com/GrandOrgue/grandorgue/issues/1392 #1667
Fixed matching midi events with Bx Ctrl Change Fixed On Value Toggle and Bx Ctrl Change Fixed Off Value Toggle event patterns. Earlier they trigger drowstops between ON and OFF. Now the first event only switches the drawstop ON and the second one switches to OFF. The events are ignored if the drawstop is already in the ON (OFF) state.
If ON and OFF ctrl change events have different keys and the same values, now Detect for complex MIDI setup creates two event patterns with Bx Ctrl Change Fixed On Value Toggle and Bx Ctrl Change Fixed Off Value Toggle
Resolves: #1392
This PR
Bx Ctrl Change Fixed On Value Toggle
andBx Ctrl Change Fixed Off Value Toggle
event patterns. Earlier they trigger drowstops between ON and OFF. Now the first event only switches the drawstop ON and the second one switches to OFF. The events are ignored if the drawstop is already in the ON (OFF) state.Detect for complex MIDI setup
creates two event patterns withBx Ctrl Change Fixed On Value Toggle
andBx Ctrl Change Fixed Off Value Toggle