Behringer X-Touch mini works flawless

I’ve just started to set my config file for FBW. Here you are my settings for the baro:

	{
		"index": 1,
		"event_up": { "event": "MobiFlight.AUTOPILOT_BARO_INC", "type": "manual", "value": 1 },
		"event_down": { "event": "MobiFlight.AUTOPILOT_BARO_DEC", "type": "manual", "value": 1 },	
		"event_short_press": { "event": "MobiFlight.A32NX_BARO1_KNOB_PUSH", "type": "manual", "value": 1 },
		"event_long_press":  { "event": "MobiFlight.A32NX_BARO1_KNOB_PULL", "type": "manual", "value": 1 }
    }

Another example, ND_modes:

		"event_up": { "event": "MobiFlight.A32NX_EFIS_L_ND_MODE_INC", "type": "manual", "value": 1 },
		"event_down": { "event": "MobiFlight.A32NX_EFIS_L_ND_MODE_DEC", "type": "manual", "value": 1 }

Basically you have to search in the events in the mobiflight module events list.

I hope it helps.

Is it possible assign the CTRL+X views to the buttons? For example, to assign CDU view (CTRL+8) to one particular button. I know there is next_view command but nothing about to assign one in particular.

try these, i found them in spad

image

1 Like

it doesn’t seem to be working

As I don’t know if it’s case-sensitive I’ve tried with

"event_press": "VIEW_CAMERA_SELECT_3"	

and

"event_press": "view_camera_select_3"

:pensive:

I have just recently acquired an X Touch Mini and started on configuring for the Garmin G1000Nxi and associated autopilot. I can’t seem to find a function in the events registers for either the PFD/MFD or the autopilot for adjusting the Heading Bug. Anybody give me a clue please?

Just take a look at fightsim.to and search for x-touch. There are plenty solution for the Garmin. Your learning curve about how to program will go up when closely inspect the mods

Thanks for the thoughts lc4c. I had searched Flightsim.to many times with a variety of search dialogues and found nothing there (that I could understand) and just 15 hits. I have just revisited that with the same results. The only one that specifically mentioned the G1000Nxi also specifically excluded the Heading and Altitude rotaries that I really want include.

my config that works with g1000 is here, heading and alt are in there. a few posts later i made scripts that move the led’s too. Behringer X-Touch mini works flawless - #296 by smitty9792

Many thanks for that pointer smitty. As a close to 80 year old that’s all a bit outside my comfort zone :roll_eyes: but it has steered me in the direction of working to understand what you have achieved so that I can apply it with confidence. Cheers mate.

1 Like
 "event_up": [
	    "MAGNETO3_START",
	    { "event": "LIGHT_POTENTIOMETER_INC", "type": "manual", "value": 3 },
	    { "event": "LIGHT_POTENTIOMETER_INC", "type": "manual", "value": 15 },
		{ "event": "LIGHT_POTENTIOMETER_INC", "type": "manual", "value": 16 },
		{ "event": "LIGHT_POTENTIOMETER_INC", "type": "manual", "value": 17 },
		{ "event": "LIGHT_POTENTIOMETER_INC", "type": "manual", "value": 18 },
		{ "event": "LIGHT_POTENTIOMETER_INC", "type": "manual", "value": 19 },
		{ "event": "LIGHT_POTENTIOMETER_INC", "type": "manual", "value": 20 }
	  ],

Holy moly! I didn’t know this!!! is there something similar for the buttons (1st press: one function, 2nd: another one, etc…)? That would be very useful for the 320 navaid (ADF / OFF / VOR). As far I know, the buttons only can execute several functions at the same time.

im not sure… i copied those from somewhere else.

maybe you could use the jinja functions to do an if variable = x then do y sort of thing

Where (or how) I can find the variables used by Mobyflight functions?

I’ve obtained most of the commands that I’m using with FBW from Mobyflight events list but I don’t know how obtain the variables for the “simvar_led” parameter, for commands like APPR, CSTR, etc.

With the Caravan’s VNV happens the same.

Update:
I’ve found the custom variables used by FBW here:

But I don’t know how use them with “simvar_led”. For “LS” button, I’ve tried this:

"simvar_led":"BTN_LS_1_FILTER_ACTIVE", "type": "manual", "value":1

But it doesn’t work.

Finally I found the solution: There is a command that it isn’t documented on the manual: “mobiflightsimvar_led”:

Example:

"event_press": { "event": "MobiFlight.A32NX_EFIS_LS_1_PUSH", "type": "manual", "value": 1 },
"mobiflightsimvar_led": "(L:BTN_LS_1_FILTER_ACTIVE)"

You can find another examples in the github discussion section:

I hope it helps.

Regards

2 Likes

Another question: I’m trying to map the G1000 CRS, the triangle shaped knob, for the OBS:

Screenshot from 2023-02-04 16-25-42

The only reference I’ve found is for the autopilot CRS1, but for not this one.

Anyone knows the event for this knob?

Regards

i use these

      "event_up": "GPS_OBS_INC",
      "event_down": "GPS_OBS_DEC",


nope, it gives me this error. Where do you find it? Maybe I have non update version event list?

i get the same errors in the console, but it works ¯\_(ツ)_/¯

1 Like

I don’t know just how you are trying to capture the OBS function but there are various sources in the AAO listimgs.

If you aren’t using that function but trying your own script (or whatever) and you are having trouble, zip across the the Discord channel for Flight Sim and Other Stuff (FSOS) and chat to ‘Funtastic’. Really helpful fella.

The other day, as I saw the error in the log, I didn’t test it. But I’ve just re-check again and IT WORKS! Very weird. Thank you!

Sorry, but I only use X-Touch-Mini-FS2020

1 Like