I just saw this https://www.elgato.com/en/gaming/stream-deck and I wondered if could act as a programmable interface for ML, eg plug this into your camera, via a USB adapter I’m sure, and have ML sense the stream deck and take appropriate actions.