MIDI Buddy example

Hi, so attached is the example project of how I tried to set up the MIDI Buddy mouse freezing. I used three translators. Pushing the hardware button, which freezes the mouse with the hotkey, (Ctrl+Alt+F). Then the same input to execute the mouse movement and click. Then the same input to unfreeze the mouse again, with the hotkey.

This doesn't work. My idea is to not move the mouse at all, and that is where mouse tracking comes in, I assume. In this setup attempt, I forgot about the reason I'm using MIDI Buddy. I assume that I will have to use the sysex commands instead of the keyboard shortcuts.

No idea what that sysex command actually does. F0 7D 42 4F 4D 45 7F, then F7, then F0 7D 42 4F 4D 45 7F 02 09 F7. ? No idea. Is this an input line? Output? I see that in your example, you have it as a sysex input, but then how does that translator trigger? The hardware button push needs to be the trigger. I think translators should have steps (step 1, step 2, etc.) in chronological order, instead of separate translators.

'02 09' freezes the mouse and '02 0A' unreezes it. Where do I input that?

(Also, I have it all on primary display, not global. You said that was wrong, if using MIDI Buddy. I'll fix it).

Don't know what you mean by "Enable Translator 2.1" either.

I made the mistake of using the freeze hotkey Ctrl+Alt+F to also unfreeze it. I fixed it to Ctrl+Alt+U.

 

 

 

 


Attachments:
1580059152306_TJ-MIDI-Buddy-Example.bmtp

Hi, thanks for posting!

I'm not sure I understand. You want to freeze the mouse and then move it and click? What is the purpose of move and click while the mouse is frozen. Of course it should not move if it is frozen.  Is the purpose so that you can click the mouse at a certain location and the later recall it's last position so that you can return it there?

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

Documenting the answer here as well as email. From what I understand you just want the mouse to return to its last known position after clicking.

 

Preset 2 Translator 1 keeps track of the mouse position and puts the X value in the global variable ga and the Y value in the global variable gb. Just store these variables into some other unused global variables and refer back to them to move the mouse back into the last position before you captured them.   In the template I'm only using variables starting with the letter g so you could use ha and hb if you would like.   Make sure you always document what global variables you use. I do this for all I set in one place, the rules of translator 0.2 Set Global Variables Of course you can use them elsewhere but this is how I keep track of what is being used and what each one is for. So before you do your mouse routine ha=ga hb=gb then move your mouse and click and when you are done do a return by moving the mouse back to X ha and y hb.   You will see the mouse jump of course but at least you can put it back where you found it.   You don't freeze the mouse for doing this.   Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

Did my comment post? I clicked ‘Add Comment’ and it just froze there and hung for like fifteen minutes. I came back to the computer and it was still frozen. ?
By the way, when I come to this forum, I have to login to use it. So I click ‘Login’. But at a successful login, it sends me to ‘my account’. So I go back to the forum and it logs me out again. That makes no sense at all.

I wasn’t sure if you wanted me to discuss this in the forum, or over email. Either way, I will probably make a video to explain it better, with commentary. But it will be too large to send over email; I will probably have to post it in Google Drive and post a shared link to it. I assume you can play any type of video file at your computer.

Yes comment posted. Just hit browser refresh after posting comments. Support people working on it.
Also comments seem to be having formatting issues.

Feel free to post links to any large files that are too big to be accepted as attachments.

Hi,

Please find the attached file. You will need to modify it for your controller for input, and it's incoming trigger.  You must have MIDIBuddy set to the same output port as MT Pro input port for this to work. I used Bome MIDI Translator 1 (BMT 1) for MIDIBuddy.

I used my MIDI Fighter Twister for the incoming actions with note 0 and 1 on MIDI channel 2 to click on track 1 and track to respectly in FL Studio.

 

https://youtu.be/F-eM4szZcmU

 

The translators that do the work are :

2.1  Always capturing the mouse position from Incoming message for MIDIBuddy

7.0  On Note-On Note 1 MIDI CH2, stores mouse return position, moved cursor to channel 1 and clicks

7.1  Returns mouse to original position after release of the button

7.2 and 7.3 do the same for channel 2

I hope this explains things.

 

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz


Attachments:
1580256664075_MIDIBuddy-Click-and-Return-2020-01-28.bmtp

Did this work OK for you? Do you know get the idea on how it is done?

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz