# Akai Fire exclusively mapped?

**URL:** <https://forum.bome.com/t/akai-fire-exclusively-mapped/1374>\
**Category:** Bome Products\
**Created:** [February 29, 2020, 4:43pm UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374 "2020-02-29T16:43:14Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [January 15, 2023, 3:47am UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/81 "2023-01-15T03:47:02Z")

</div>

Stop processing only happens on a given translator if the outgoing action is executed. If the outgoing action is not executed, rules still process and there is no stop processing.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![J.Boss](https://forum.bome.com/user_avatar/forum.bome.com/j.boss/32/1220_2.png) [@J.Boss](https://forum.bome.com/u/J.Boss)\
**Post date:** [January 15, 2023, 4:05am UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/82 "2023-01-15T04:05:05Z")

</div>

Oh, I didn’t even bother to look at rules.  
If I run into problems, then I will revisit the offending translators and see if that is the case, thank you.

---

<div class="post-metadata">

**Author:** ![J.Boss](https://forum.bome.com/user_avatar/forum.bome.com/j.boss/32/1220_2.png) [@J.Boss](https://forum.bome.com/u/J.Boss)\
**Post date:** [January 16, 2023, 2:15am UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/83 "2023-01-16T02:15:32Z")

</div>

Actually I can’t figure out this MIDI Buddy problem. MTP is returning the mouse to predetermined locations instead of the last known cursor position. Something has made the ha and hb variables a certain number and they won’t change. Every one of these mouse click and return sequences uses those variables.

![MB Log](https://forum.bome.com/uploads/default/original/2X/f/f903367f94182b5ac150a9535713626aa2aa5a7c.png)

This is the first translator that captures the mouse position and tells the mouse to click somewhere.  
 ![Click](https://forum.bome.com/uploads/default/original/2X/7/7fc7c6abe22debebae81c8ee67b32d3946175423.png)

This is the return translator that tells the mouse to return to that position.  
For some reason ha and hb are stuck with fixed coordinates.  
 ![Return](https://forum.bome.com/uploads/default/original/2X/1/15579205d006f606d3a77825c17cd95094bd054c.png)

Everything is the same as before.

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [January 16, 2023, 7:15am UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/84 "2023-01-16T07:15:03Z")

</div>

Do you have your MIDIBuddy incoming port set as BMT2? That is where it looks like mouse position commands are coming in? Check settings in MIDI Buddy for incoming MIDI and also for MT Pro to make sure they match. You should be able to monitor rule “ga=” or “gb=” in the filter of your log window to see if they are properly changing as you move the mouse.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![J.Boss](https://forum.bome.com/user_avatar/forum.bome.com/j.boss/32/1220_2.png) [@J.Boss](https://forum.bome.com/u/J.Boss)\
**Post date:** [January 16, 2023, 8:08am UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/85 "2023-01-16T08:08:15Z")

</div>

Sorry, this is probably something simple that I’m just not seeing.

I have the project level input ports set like this:  
 ![Project Ports](https://forum.bome.com/uploads/default/original/2X/0/0369ab9c1da280d098416abbd03aa11c18a913f8.png)

The preset level ports are sometimes different, but I tried enabling the MIDI Buddy alias on the active preset, but that didn’t do it.

MB is set to BMT 2 now. It was sitting on BMT 3 when I checked. Changed to 2 but that didn’t do it.

![Output](https://forum.bome.com/uploads/default/original/2X/8/82fcb5903de418a00160e4e986e409c029904991.png)

Oddly when I have the Akai Fire device running, that’s when it prompts me that the ports have changed. The Fire is what seems to be stealing the port; I thought it was FL Studio.

![Port Position](https://forum.bome.com/uploads/default/original/2X/5/579e58d15aaf73705c9d23b7607788b4d0d11616.png)

![Fire Steals Port](https://forum.bome.com/uploads/default/original/2X/c/c41c09c5723015cfe355970eddf8e1a6a4df5612.png)

In the FLS settings the BMT 2 input port is disabled, but FLS keeps opening the output port every time I disable it. I can’t make FLS forget or disregard any ports. I’ve requested that function in the past.

 ![FLS Settings](https://forum.bome.com/uploads/default/original/2X/1/1c1e47aeb7bfc78a13071254c58e8d60fc5321ee.png)

The only log window filter that gives me any activity is the ‘MIDI IN’ one. It gives me raw data; don’t know what to make of it. I got five thousand entries in a matter of seconds.

 ![Raw MIDI](https://forum.bome.com/uploads/default/original/2X/4/41d900f513fb7e1d14b5428eb357360ae08e78c2.png)

As a side note, oddly MTP is sticking to the front layer of my screen too. It doesn’t work with Alt + Tab, or even my screen capture software that always loads a snipped pic to the front of the active programs. I have to minimize MTP with the top right button to swap to another program. This isn’t the standard behavior.

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [January 16, 2023, 3:08pm UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/86 "2023-01-16T15:08:04Z")

</div>

> [@J.Boss](#):
>
> MB is set to BMT 2 now. It was sitting on BMT 3 when I checked. Changed to 2 but that didn’t do it.

Any time you add or remove a MIDI controller you will get this message from MIDIBuddy about port change. Simply re-select the correct port and it you should be back on your way.

> [@J.Boss](#):
>
> In the FLS settings the BMT 2 input port is disabled, but FLS keeps opening the output port every time I disable it. I can’t make FLS forget or disregard any ports. I’ve requested that function in the past.

If you remove the port number (set it to blank) then it will not try to open the port.

> [@J.Boss](#):
>
> The only log window filter that gives me any activity is the ‘MIDI IN’ one. It gives me raw data; don’t know what to make of it. I got five thousand entries in a matter of seconds.

These are mouse relative movement messages from MDIBuddy. Most of the time you can just ignore these messages and just use absolute positioning messages. The format of these messages is shown in the MIDIBuddy Readme file under the heading ‘Mouse Actions (Unique for each attached mouse)’.

> [@J.Boss](#):
>
> As a side note, oddly MTP is sticking to the front layer of my screen too. It doesn’t work with Alt + Tab, or even my screen capture software that always loads a snipped pic to the front of the active programs. I have to minimize MTP with the top right button to swap to another program. This isn’t the standard behavior.

Holding the Special Key (Alt by default) down, with MIDI Buddy will disable absolute mouse movement , scroll wheel and click actions You can change this special key to something else if you don’t want to use Alt.

Here is an excerpt from the MIDI Buddy Readme file

```auto
<Special> Key
-------------
Alt(Default) will still send MIDI message but suppress normal mouse button/wheel 
activity. Does not suppress mouse movement (see Ctnl-Alt-F below). You can 
change the <Special> Key in MIDIBuddy settings to be Alt Left Windows, Caps Lock, Cntl or Shift. 

```

There are certain key combinations you should probably stay away from as MIDIBuddy uses them. These are all called out in the MIDIBuddy README File. Some of these keys may interrupt normal windows operations, especially Cntl-Alt-F.

Special Key - As described above  
Cntl-Alt-D - Change Delay  
Cntl-Alt-F - Freeze mouse movement  
Cntl-Alt-P - Pause Mouse position messages (Toggle)  
Cntl-Alt-Q - Quit MIDIBuddy  
Cntl-Alt-R - Reverse the Special Key Action  
Cntl-Alt-U= Unfreeze mouse movement

In order to see what is actually happening in your project file. I would probably need to see it.

Here is a copy of the current MIDIBuddy Readme file.

[MIDIBuddy-Readme.txt](https://forum.bome.com/uploads/short-url/bJp3pH5cDoD4hMg6q8lpjQvbxTf.txt) (12.6 KB)

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_This text will be hidden

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [January 16, 2023, 3:36pm UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/87 "2023-01-16T15:36:46Z")

</div>

Also, keep in mind. Mouse position only works on your primary monitor.

Finally, you can test if MIDIBuddy mouse position and click messages are working with the below project file. Just filter on “Log” in the MT Pro Log window and move or click your mouse. You must select the proper input port for your MIDIBuddy alias.

[MIDIBuddy-Mouse-Test-2023-01-16.bmtp](https://forum.bome.com/uploads/short-url/ArpMPI08SpcbK31yXBRXaC41o85.bmtp) (1.5 KB)

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![J.Boss](https://forum.bome.com/user_avatar/forum.bome.com/j.boss/32/1220_2.png) [@J.Boss](https://forum.bome.com/u/J.Boss)\
**Post date:** [January 16, 2023, 8:25pm UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/88 "2023-01-16T20:25:40Z")

</div>

Ok, the log tells me mouse movements are working. I put that preset in my project too and is also working. The x and y coordinates are strange, but still works.

![Working](https://forum.bome.com/uploads/default/original/2X/c/cf7cc1e4f7d036d626b488a7e31985278ad3272a.png)

Mouse clicks and mouse wheel doesn’t log if “suspend hotkeys” is enabled on MB. But then the mouse click macroes don’t work; they never click on the target. The return also doesn’t work if hotkeys aren’t suspended; it’s a consistent return location, just a different location. So I have to have hotkeys suspended. Also the spacebar won’t work if hotkeys are not suspended.

Took some time trying out all the hotkeys for a while and toggling on/off different ports. Nothing changed. If I disable the MTP 2 ports and aliases, the behavior actually doesn’t change. But the log does stop getting mouse messages. So this tells me with my mouse click sequences, MB isn’t being involved at all right now.

I mentioned it was returning the mouse to a different consistent location. Now every return translator is sending to that new location, instead of the old one before I tried all these tests. I restarted the project and now it’s back to the old position.

I have the special key set to nothing and the mouse move delay at 100 right now. Changing that delay doesn’t seem to do anything.

(Project File Removed)

The Main presets are at the bottom. So when there are stop flags it won’t read those presets at all.  
Whenever you see “GMC” that’s the beginning of a mouse click sequence (Get Mouse and Click)  
Then “RN” is (Return).

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [January 16, 2023, 8:50pm UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/89 "2023-01-16T20:50:33Z")

</div>

> [@J.Boss](#):
>
> Mouse clicks and mouse wheel doesn’t log if ‘suspend hotkeys’ is enabled on MB. But then the mouse click macroes don’t work; they never click on the target. The return also doesn’t work if hotkeys aren’t suspended; it’s a consistent return location, just a different location. So I have to have hotkeys suspended. Also the spacebar won’t work if hotkeys are not suspended.

MIDI Buddy will not work if you suspend hotkeys. Your are essentially disabling MIDI Buddy from most operations.

> [@J.Boss](#):
>
> Took some time trying out all the hotkeys for a while and toggling on/off different ports. Nothing changed. If I disable the MTP 2 ports and aliases, the behavior actually doesn’t change. But the log does stop getting mouse messages. So this tells me with my mouse click sequences, MB isn’t being involved at all right now

There must be something wrong in the project file. I hope you kept a backup of the last working configuration.

I’ll take a look at your project file but with all of the stopping of future outgoing actions, you probably broke something. I usually don’t do that except for extreme cases.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [January 16, 2023, 9:23pm UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/90 "2023-01-16T21:23:49Z")

</div>

Wow,  
Did you document your global variable anywhere? I can se where you set them in 70.3 but it doesn’t say what they do. Right now I was just trying to test 4.25 but it doesn’t work because pj=0 and I’m not sure whay you use pj for as it is not documented. I don’t think I’m in a position to fix your whole script since you have done so much to it. I would recommend going back to the last stable version and then focusing on one or two translators that don’t work as you expect. Remember stop process will disable any further translators done the line (if they execute an outgoing action or the outgoing action is set to none).

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [January 16, 2023, 9:31pm UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/91 "2023-01-16T21:31:15Z")

</div>

Hi, disabling stop processing on several translators before 4.26 with the same incoming trigger **strong text** plus commenting out the below rule made the translator behave as expected.

```auto
//if pj==0 then exit rules, skip Outgoing Action

```

TJ MB Project-sjc-2023-01-16.bmtp - **Removed - Please contact author for the project file**

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![J.Boss](https://forum.bome.com/user_avatar/forum.bome.com/j.boss/32/1220_2.png) [@J.Boss](https://forum.bome.com/u/J.Boss)\
**Post date:** [January 16, 2023, 10:18pm UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/92 "2023-01-16T22:18:07Z")

</div>

Looking back I definitely should have kept a variables document.  
Wish MTP had a variables manager. That shows which variables are in what translators, their current value and what variables are free to use.

The pi and pj variables are my Shift and Alt flags. I hold down Shift and it’s pi=1. Let go and it’s pi=0.  
So any translators that have the if pi = 0 then skip outgoing action, that’s because the button can be used with shift. And pj for Alt.

Went through my whole project looking for ha hb ga gb. They are only found in the mouse click rules and nowhere else.  
The ha=ga hb=gb.  
Otherwise it’s all found in the INIT preset.  
70.2 Cursor Pos mentions these variables a bunch of times.

 ![Cursor Pos](https://forum.bome.com/uploads/default/original/2X/4/4245c5b4948fd9d39afac534dedb52dd4d95067b.png)

And 70.4 MB Vari (MIDI Buddy Variables)

 ![MB Vari](https://forum.bome.com/uploads/default/original/2X/e/eec335675873ba3cc4d96f724c98d0d64e227b41.png)

You’re probably right about the stop flags. I think the only differences in these past seven months has been a new version of FL Studio and me adding stop flags.  
My only backup is so old that I’m better off fixing this.

---

<div class="post-metadata">

**Author:** ![J.Boss](https://forum.bome.com/user_avatar/forum.bome.com/j.boss/32/1220_2.png) [@J.Boss](https://forum.bome.com/u/J.Boss)\
**Post date:** [January 16, 2023, 10:29pm UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/93 "2023-01-16T22:29:27Z")

</div>

I took off all the stop flags before the one you mentioned, 4.26.  
The first time it clicked on the target then sent the mouse to the top left. x 0 y 0.  
Then on the second attempt, it clicked on the target then it went back to the same position as before. I was able to capture the location with mofiki’s coordinate finder.  
It goes to x 960 y 540 every time. But I don’t see where those coordinates are in my project.

If I use the same mouse click translators from other places, say my keyboard for example, it goes to the exact same location.

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [January 16, 2023, 10:42pm UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/94 "2023-01-16T22:42:56Z")

</div>

The coordinates that you return to will be the mouse position your mouse is at when you pushed but button. You will not find them in your project file as they are derived from the actual mouse position.

I have a script that will capture many of the global variables and where they are used. It does not capture globals in the range starting with o through x as these were global variables added after I created the script. It is not foolproof but should help.

[TJ-Globals.txt](https://forum.bome.com/uploads/short-url/4qsEH2raMZ4J2N6B7ROH1cHKhEC.txt) (48.0 KB)

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [January 16, 2023, 11:11pm UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/95 "2023-01-16T23:11:52Z")

</div>

Somewhere along the line you got rid of the mouse positioning commands from MIDI Buddy for ga and gb back into MT Pro. This is essential for tracking MIDIBuddy mouse position. I added them back into translator 73.0

I also changed the delay for return to 1 second so you could have more time to watch it.  
TJ MB Project-sjc-2023-01-16a.bmtp **Removed. Please contact author for the project file**

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![J.Boss](https://forum.bome.com/user_avatar/forum.bome.com/j.boss/32/1220_2.png) [@J.Boss](https://forum.bome.com/u/J.Boss)\
**Post date:** [January 16, 2023, 11:17pm UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/96 "2023-01-16T23:17:45Z")

</div>

Yup that fixed it. Don’t know what you did, but it’s definitely working now.  
Thank you so much.

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [January 17, 2023, 12:45am UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/97 "2023-01-17T00:45:06Z")

</div>

My fix I described was a workaround. The root cause I believe was that you disabled preset Init (69.1) after 4 seconds and there are translators within that preset that monitor MIDI buddy mouse movements. Without the preset enabled, you were not receiving updates to global variables ga and gb.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![J.Boss](https://forum.bome.com/user_avatar/forum.bome.com/j.boss/32/1220_2.png) [@J.Boss](https://forum.bome.com/u/J.Boss)\
**Post date:** [January 17, 2023, 12:59am UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/98 "2023-01-17T00:59:52Z")

</div>

Oh I see. I’ll just not disable it then. Thought it was just for initializing, not that it was needed continually.  
The disabling of presets is for when they are not needed, for processing overhead.

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [January 17, 2023, 1:12am UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/99 "2023-01-17T01:12:32Z")

</div>

Or you can put things that always need processing in a different preset that is never disabled.

---

<div class="post-metadata">

**Author:** ![J.Boss](https://forum.bome.com/user_avatar/forum.bome.com/j.boss/32/1220_2.png) [@J.Boss](https://forum.bome.com/u/J.Boss)\
**Post date:** [January 17, 2023, 1:20am UTC](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374/100 "2023-01-17T01:20:54Z")

</div>

Ok. I reverted to my previous project. Cut out all the variable translators from INIT and put them into the iCue preset at the top. Works like a charm. Thanks. 😊

[Previous page](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374.md?page=4)

[Next page](https://forum.bome.com/t/akai-fire-exclusively-mapped/1374.md?page=6)
