Cubase 5 - start Recording/playing on input

Hello guys.

I wanted to ask, if it’s possible for Cubase to start recording and playing the track as soon as it gets an input from a device.
In this case it’s a Minilogue sequencer playing input.

Maybe.

It would need a midi connection.

Can your device put out midi clock start messages?