How to: click & hold then mouse drag up/down via MIDI controller?

I'd like to hit my MIDI key which starts a click & hold, then move a MIDI slider/knob which simulates a mouse drag up/down, then finally hit a different MIDI key to release the click hold. Any ideas?

Essentially I'm trying to simulate trying to alter a parameter value in Logic X using the mouse click and drag, but using a midi controller instead (Rsi)

Thanks

Imprint | Privacy Policy