So it sounds like you didn’t talk about displaying incoming midi cc, but learned midi cc per chain? (Which would mean it doesn’t have anything to do with the “m” indicator) Not so bad actually. One solution what comes to my mind is to expand the rather new chain controller feature.
It might be a nice idea to just append controllers assigned to midi cc to that chained controller list?