hi Toomas,
Start in the 'Action Editor' and add a MIDI actionlist. Add an action to this list and set the trigger according to one of your MIDI surface's controls. Then add an task, for instance to start and stop the sequence you add a task from the type 'Sequence' and set the feature to 'Playstate' and the function to 'Control Start - Stop'.