The MIDI Channel Constrainer provides a connection point for your 5 sources, plus provides an option to Block All (which you can map to a widget and therefore switch from a MIDI controller).
This is dangerous because it can generate stuck notes if you block the MIDI message after a Note On message. It is better to use a MIDI filter to block note on messages only.