Behringer X-Touch mini works flawless

Pardon my ignorance but where do I add this script to?

I like the “KORG nanoKONTROL2” because it has more sliders and I would like to use two sliders for controlling propeller pitch and mixture.

In total there are 8 knobs, 8 sliders and 24 buttons which can be used.

Has anyone used this device with msfs2020 ?

1 Like

Nice to see you all having fun with the X-Touch! Did anybody get dialing the altitude to work? Every dial works, except the altitude. I assigned the obvious commands to it, but am having no luck with it.

Here’s the code I have for the Altitude encoder. The index value is the number for the encoder knob I’m using. This works in the A320NX, I don’t ever fly the other planes so if this doesn’t work with the Garmin systems (or anything else) I can’t really help.

{
  "index": 3,
  "event_up": "AP_SPD_VAR_INC",
  "event_down": "AP_SPD_VAR_DEC",
  "event_press": {
    "event": "SPEED_SLOT_INDEX_SET",
    "type": "manual",
    "value": 1,
    "description": "A32NX - set AP Speed Hold to selected mode"
  },
  "event_long_press": {
    "event": "SPEED_SLOT_INDEX_SET",
    "type": "manual",
    "value": 2,
    "description": "A32NX - set AP Speed Hold to managed mode"
  }
},
1 Like

I adopted A320 FCU knobs to fit on our X-Touch Mini, you can download the model for 3D printing here: https://www.thingiverse.com/thing:4702665

12 Likes

Sure, I mapped a knob (in button mode) to “Increase/Decrease Autopilot Reference Altitude”, the only problem I have is that it changes by 1000 ft ( a consequence of also using a Honeycomb Yoke), I use the mouse for the final fine setting if I need 100 ft-precision.

1 Like

Thanks, I just did the method of @qwrtty wrong. Now i figured it out, it works totally great. Just not sure how I can map knobs my own way without much coding which I ■■■■ in

It is possible to have both 100 and 1000 increments on the same knob of the X-Touch, and without using any scripting. I have mine doing it. It is explained in the AAO thread a little over a month ago (I think).

1 Like

That looks like code for Speed mode ?
For Altitude I use following -
{
“index”: 4,
“event_up”: “AP_ALT_VAR_INC”,
“event_down”: “AP_ALT_VAR_DEC”,
“event_press”: {
“event”: “ALTITUDE_SLOT_INDEX_SET”,
“type”: “manual”,
“value”: 1,
“description”: “A32NX - set AP Altitude Hold to selected mode”
},
“event_long_press”: {
“event”: “ALTITUDE_SLOT_INDEX_SET”,
“type”: “manual”,
“value”: 2,
“description”: “A32NX - set AP Altitude Hold to managed mode”
}
},

I find the Vertical Speed mode the strangest one to get working, in that I have to use the mouse to select the mode ‘manually’ and than use following code to increment the V/S target -

{
      "index": 5,
      "event_up": "AP_VS_VAR_INC",
      "event_down": "AP_VS_VAR_DEC",
      "alternate_event_up": "AP_VS_VAR_INC",
      "alternate_event_down": "AP_VS_VAR_DEC"
    },

If I use the long code similar to the Altitude mode -
{
“index”: 5,
“event_up”: “AP_VS_VAR_INC”,
“event_down”: “AP_VS_VAR_DEC”,
“event_press”: {
“event”: “VS_SLOT_INDEX_SET”,
“type”: “manual”,
“value”: 1,
“description”: “A32NX - set AP VS Hold to selected mode”
},
“event_long_press”: {
“event”: “VS_SLOT_INDEX_SET”,
“type”: “manual”,
“value”: 2,
“description”: “A32NX - set AP VS Hold to managed mode”
}
},

It just doesn’t work! Any luck getting V/S mode selector to work?

You’re right, I grabbed the wrong one. I forgot I had to move my knobs around because one of my encoders started going flaky. I also have the same as you for VS where you must manually move the knob first and it can be adjusted via the xtouch. I think it’s because there’s no simvar input for pushing the VS knob. I’m pretty sure all problems configuring button presses and such are due to the lack of simvars for the correct features. Sooooooo much stuff missing. :man_facepalming:

2 Likes

Hi All !
I’ve received and configured my X-touch mini thanks to Maarten Tamboer (many thanks to him !) and all your shares here (many thanks to all :slight_smile: ) .
That’s a fantastic hardware addition at a low cost ! Still a few questions though.
With the A320NX I didn’t find how to:

  • switch QNH to STD mode
    current rotary config :

{
“index”: 1,
“event_up”: “KOHLSMAN_INC”,
“event_down”: “KOHLSMAN_DEC”,
“event_press”: “BAROMETRIC”
},

  • Engage VS mode (like already mentionned above)
    current rotary config :
{
  "index": 5,
  "event_up": "AP_VS_VAR_INC",
  "event_down": "AP_VS_VAR_DEC",
"event_press": "AP_VS_HOLD"
},
  • Engage LOC mode
    current button config :
{
  "index": 11,
  "event_press": "AP_LOC_HOLD",
  "simvar_led": "AUTOPILOT_NAV1_LOCK"
},

I didn’t find a way to set up those functions although I used spad.next to monitor events. Let’s hope it will come later :slight_smile:

Apart from that I have a few generic questions 


  • Is there anyway to manage the rotary leds ? The default led setup isn’t very useful in an endless use. What could be interesting ( for example ) would be to enlight all the leds around the ALT rotary if you engaged Managed ALT mode.
  • Is it possible to set two actions for a single button press ? If yes, what is the syntax ?
  • Is it possible to set up Layer A / Layber B functions with Maarten Tamboer tool ? If yes, do you know how ? There are no sample configuraton using both layers included with the tool. I’d like for example to setup the X-Touch for a TBM use : Layer A in a standard AP control mode, Layer B in a G1000/G3000 management mode (I’ll have a look to what is possible with Mobiflight, thanks for sharing that too).

Well, that’s all for a first post here . have a nice day !

2 Likes

Setting up the 2 layers is easy:
Layer a is rotaries 1-8 + buttons 1-16
Layer b is rotaries 9-16 + buttons 17-32

2 Likes

Quite easy indeed - when you know it :slight_smile: thanks !

Found the multi commands syntax 


“event_press”: [ “COMMAND1”, “COMMAND2” ],

1 Like

Head’s up, folks, I’ve been using the X-Touch Mini and AxisAndOhs and got most of the more common autopilot, avionics, and G1000 functions working.

Stay tuned for a guide, sometime in the future.

2 Likes

Has anyone tried to make the X-Touch mini work in combination with the honeycomb alpha and bravo with the working title CJ4 mod? I’m going to try this and was wondering if anyone has already tried this. BTW looking forward to the guide from rottenbk.

Hi All,

I got a problem with Behringer x-touch mini and using the X-Touch-Mini-FS2020. However when I start MSFS 2020 and then run the x-touch mini-fs2020.exe, the python script gives this error:

OSError: unknown port ‘X-TOUCH MINI 1’
[1228] Failed to execute script main

The thing is, the x-touch mini works perfectly fine with my ableton software. So there is no issue with the detection etc.

I also have an audio interface with Midi in/outs, I think that could be the reason why the script can’t connect to my behringer using python’s “mido”.

Anyone have any idea how to fix it?

I don’t know the software you use to connect the X-Touch (I have FreePie + vJoy myself) but if you have a card with midi in/out, then “Midi 1” is probably reserved for it. Try changing to “Midi 2” or “Midi 3” in your sofware’s setup. That’s what I had to do with my FreePie script.

Thank you, I’ve fixed it. So I changed the call to the Behringer in the python script to match the order in my system (0 MS midi, 1 my audio interface, 2 x.touch). The script was trying to call the x.touch in the “1” order.

Now it works, but not everything, just like the people above me noted. Trouble adjusting VS, etc.

Got it all working. I can now operate all the cockpit functions of the working title cj4 with my X-touch mini, honeycomb bravo and alpha. All from within the GUI of axis and ohs and therefore I bought AAO today on simmarket.
I used a combination of simple scripts and variable bindings. When the guide from rottenbk comes out it should be all straight forward. The list of simconnect variable s on the working title cj4 GitHub wiki is gold.

Many thanks Lorbi for a great piece of software!

1 Like