Dynamically changing widget MIDI assignments

Have a look at this - maybe that’s what you need…