Several midi-controller / organising midi-data

hi, is there an example patch which describes a clean deviding of midi-data (including the midi-controller-data of the organelle itself), when you have several external midi-controllers connected !?

thanks + best

To have a division between midi controllers, I would first assign the controllers to different midi channels on the individual controllers. Then in PD I would have different ctlin and notein objects listen on those different channels.
To find an example of this, in the PD app menu click Help-> List of objects and scroll to the ---MIDI and OSC--- section. Then I’d right-click on ctlin and select Help. In there is some documentation and some examples of different midi objects listening on different channels.
Hope that helps!