Can midi be mapped to mouse “click-and-drag”?

  • Q&A Forum
  • Can midi be mapped to mouse "click-and-drag"?

I would like to be able to map a midi knob to act as a mouse click-and-drag up and down, and another knob as left and right. The idea is to be able to adjust any “click-and-drag” parameter that my mouse pointer is hovering over. Hope that makes sense

Marked as spam
Posted by (Q&A Forum: 1, Answers: 1)
March 3, 2018 1:46 am
Private answer

If you want different locations, you would probably need to create buttons and translators for each location.

Marked as spam
Posted by (Q&A Forum: 31, Answers: 2442)
March 3, 2018 11:41 pm

Note, that MT Pro has no knowledge of the current pointer location. However if you are using Windows, I have developed a solution “MIDIBuddy” that can communicate the location of the pointer to MT Pro via MIDI Sysex message. We then might be able to use MT Pro to use the information to determine how far to move and in which direction from it’s current location.

( at March 4, 2018 5:06 am)
Private answer


Here is a link to the last posting I did on this along with a project file.


Marked as spam
Posted by (Q&A Forum: 31, Answers: 2442)
March 3, 2018 6:05 am
Private answer

Yes, the trick is to ensure the points are always the same position on the screen. I think I put a project together for this several months ago so you can search on the forum and if you can’t find it, I will see if I can either dig it up or do it again. It will take several translators

First Translator Click Down the mouse as outgoing action on whatever  incoming MIDI message you want to use to trigger it.

Second translator will also monitor click down  (same as first one) but instead will trigger a timer. For the sake of this discussion we will name in “Drag”. You probably want to put a small initial delay to give the click time but I don’t think it will be necessary.

Input Timer “Drag”. Here the output is a mouse move movement since all you did in the first translator  was click down (without up), it will drag to the target X Y position you specify.

Another translator that  fires on the  the same input message (same as first translator) but fires on output another timer “Release”.

Then the release timer that actually does a “mouse up” action”

So in all you have 5 translators

1 )Input (say MIDI Note xx on channel yy velocity 127)  Output Left mouse down

2) Input (same as one) output timer “Drag”

3) Input Timer Drag output move mouse to x y

4)Input Same as one output Timer “release” delay xx msec

5)Input Timer release output  left mouse up.


Does this make sense?

Again, I think you you search on “mouse drag”  you will find the project file.  I will look too and if I find it I will post a link to it for you.

Steve Caldwell

Bome Q&A Moderator and

Independent Bome Programming Consultant/Specialist


Marked as spam
Posted by (Q&A Forum: 31, Answers: 2442)
March 3, 2018 4:24 am

Thanks Steve,
Does this mean the commands can’t be applied to whatever position the mouse arrow is at?

( at March 3, 2018 10:33 pm)