Flightsim.toFlightsim.to
    X-Touch Mini Gauge for use with AAO (Axis and Ohs) - Image 1

    Description

    Overview

    The „X-Touch Gauge for Axis and Ohs“ is a framework, that helps you programming the Behringer X-Touch Mini Midi Controller to use as an input device for Microsoft Flight Simulator 2020 using AAO (“Axis and Ohs”) Software.

    It does NOT deliver direct-to-use configurations for airplanes or helicopters.

    This framework offers:

    • Easy handling of button and rotary assignment
    • Simple integration of “Shift” key for “overloading” single buttons or rotaries with a second or modified action
    • Support for unlimited number of layers and aircrafts
    • Easy interface to control X-Touch Mini LEDs
    • Optional mirroring of X-Touch Mini device as “Axis and Ohs” Desktop or Web FIP (perfect for VR flying!) or if using multiple layers (labels shown are depending on the selected layer)
    • Dynamic labels on X-Touch Gauge (depending on Shift Button status, even possible to dynamically modify labels depending on conditions)
    • Pre-Touch functionality that suppresses first button push to help VR users to identify if proper button has been pressed
    • Testing “X-Touch Mini Look & Feel” before actually buying it by clicking buttons and rotaries in the gauge with the mouse

    The framework configuration is stored in simple text files, one file per layer and aircraft. It uses standard RPN script syntax for event triggers or LED control, so “programming” a layer means editing a text file and filling in proper RPN scripts.

    Requirements

    This framework requires “Axis and Ohs” software version 2.32 b34 or newer (see https://axisandohs.weebly.com). “Axis and Ohs” has to be purchased separately.

    For programming the framework you do need at least basic knowledge of RPN Scripting, MSFS events and variables.

    Experience in how to assign buttons to trigger events in MSFS using “Axis and Ohs” is highly recommended before using this framework!

    Files

    There is one zip file "XTouchGauge_vx.zip" containing the X-Touch Mini Gauge code. I have added a second file (XTouchGauge_Sample_FBWA320.zip) containing some configuration files for FBW A320 as examples on how to use the Gauge. The focus of this procjet is the X-Touch Mini Gauge, NOT the FBW A320 configuration!

    XTouch "Script Group"

    Do NOT store or modify any scripts in the "XTouch" Scripts Group as this will be deleted on every update!

    Fresh installation instructions

    There are detailled installation instructions in the attached PDF file. Please read this documentation first!

    Update installation instructions

    Update procedure changed to allow updating from any older version to current version. See chapter "Installation of an Update" in the documentation.

    V1.3 Update: Please delete the files XTouchMini_L.xml, XTouchMini_M.xml, XTouchMini_S.xml and XTouchMini_XS.xml in the LorbyAxisAndOhs Files\UserGauges directory and the folder XTouchGauge in the LorbyAxisAndOhs Files\UserGauges\1024 directory prior to updating to v1.3. If you miss that the gauge will show up twice in the gauge selection drop down and you will not be able to distinguish between v1.2 and v1.3.

    Manual Bug Fix for v1.0 users

    Unfortunately in the v1.0 release I forgot to remove the FBW Initialization script from the template file. This initialization script will now be applied all the time for every aircraft you apply the template. That does not make sense and might lead to side effects.

    Updating to v1.2 following the new update procedure will remove this script from the template. However, unfortunately you have to remove it manually from all your aircrafts you started to configure with this gauge. To do so load every affected aircraft in MSFS, then open Scripting/Aircraft automated scripts in AAO, select the "FBW_A320-INIT_XTouch_AUTO" script and click on "Remove". Sorry for the circumstances.

    Users that started with 1.1 or newer are NOT affected by this bug!

    New tool "X-Touch Mini Gauge Layer Builder"

    Check out X-Touch Mini Gauge Layer Builder at http://www.funatic.de/XTMGLB/alpha.html

    Still very early Alpha release, not all features implemented. No intensive testing done yet. However, I wanted to share with you as I think this will help in creating the layer files, even at this alpha release level!

    Feedback and Bug reports really appreciated!

    Video series on how to setup and use

    Youtuber "FlightSim and other stuff" started recording a series on how to set up and configure this X-Touch Mini Gauge and allowed me to link to his YT channel. The series on this is starting with the videos released on 2022-08-19 and later. Check out his videos if you prefer video guidance!

    Regular Live Q&A Sunday evening in FlightSim and other stuff Discord. See announcements channel.

    SU 12 VR issue

    Since SU12 the In-Game-Panel in VR is way too small. Asobo has identified this as a bug - we need to wait until fixed.
    However, Lorby released a workaround:

    • Stop MSFS
    • Download new In-Game-Panel from Downloads - AXIS AND OHS
    • Delete lorbysi-content-fippanel from community folder
    • Install downloaded In-Game-Panel in community folder
    • Add ​3.0 (>L:AAO_PANEL_ZOOM, Number) in the second line of your Layer file, just below :GaugeText
    • Start Sim and enjoy In-Game-Panel in VR again

    This zoom does have an impact on the In-Game-Panel in 2D as well (but not on the Desktop FIP!). If you are using AAO In-Game-Panel in VR as well as in 2D consider changing the Zoom value using a script assigned to a button....

    Frequently Asked Questions

    Comments(85)

    Log in to join the discussion

    Log In

    over 1 year ago

    Hello. Is it also possible, to use the slider/fader for zoom in and zoom out the cockpit camera? I get this only with an encoder or a button. Thanks!
    FunaticAuthor

    over 1 year ago

    Hi,
    yes of course, this is possible. Not tested myself as I am not at the sim at the moment, but putting this in the layer file should do the trick:


    :SliderScript
    (L:XTouch_SliderAxisValue) 16384 + 327.68 / (>A:COCKPIT CAMERA ZOOM, Percentage) (END)

    almost 2 years ago

    The Discord invitation link is expired.
    FunaticAuthor

    over 1 year ago

    Hi Laurinius,

    you are right - the link is expired. FlightSimAndOtherStuff Discord Server Owner is no longer online. However, you can still find me on Discord every now and then...

    https://discord.com/channels/825056881700503602/1012709211223892008

    about 2 years ago

    Hi Funatic, I recently re-used the X-Touch mini/AAO and modified one of the C172G1000 guage layer file using X-Touch Mini Gauge Layer Builder v0.4.1 (https://www.funatic.de/XTMGLB/alpha.html). After I reloaded MSFS and AAO, the panel was notl using my revised version but only the older version. I've double checked and confirmed the old guage file was being replaced with my modified one. However, AAO somehow still able to load the old version of this layered file. Would you advise where AAO is retrieving this file from? What possible cuase the AAO not using my modified layered file? My current folder storing the layered file is C:\Users\bc\Documents\LorbyAxisAndOhs Files\Scripts\XTouchGauge. The layered file is XTouch_C172G_n.txt where n(0-4) of the respective layered file. Cheers!
    FunaticAuthor

    about 2 years ago

    Replied via Discord...

    over 2 years ago

    Hello, thank you very much for this colossal work.
    The entire installation went well except for chapter 3.4.
    I cannot find the XTouch Mini Gauge line in the drop down box.
    I think the gauge files are not in the right place?
    Thank you for your reply.
    FunaticAuthor

    over 2 years ago

    Sorry, didn't see your message earlier... :(

    In the "Desktop FIP" window klick on the green + sign bottom left. Then it will add some gauge (I think it is a speed indicator, but don't remember properly). Move it aside if it is hiding the Desktop FIP window. Now you will see a drop down - open it and select X-Touch Gauge there...

    almost 3 years ago

    Hi Thomas, it's Trevor. I sent you some messages on Discord (DMs I think. Are you still using Discord?

    Regards, Trevor.

    almost 3 years ago

    How can i get an activated button to flash instead of just on ...


    This doesnt work (its flashing all the time weather activated or not)


    (L:I_FCU_EFIS1_FD, number) 641 9 @XTouch_Macro_LED_Value

    FunaticAuthor

    almost 3 years ago

    That's easy... :-)

    (L:I_FCU_EFIS1_FD, number) 640 + 9 @XTouch_Macro_LED_Value


    For more complex ones you could do something like


    1 641 1281 0 4 (L:Var) case 9 @XTouch_Macro_LED_Value


    (L:Var) 0 => off

    (L:Var) 1 => Blink Slow

    (L:Var) 2 => Blink Fast

    (L:Var) 3 => on

    over 3 years ago

    awesome. thanks a lot for sharing this! together with the layer builder it helps a lot!

    over 3 years ago

    @Funatic: you, my friend, are a genius. Thanks so much for your efforts. The framework alone is amazing but then you also added the layer builder and the in-game panel which takes it to another level. It's actually beautiful how you have this all working together. Wow. It took me a couple days to figure how everything worked together but I got it now and I'm impressed. Your hard work is appreciated.


    Question: the in-game panel flashes off-and-on every second or two. It's really distracting. Does anyone know how to prevent the flashing?

    FunaticAuthor

    over 3 years ago

    Hi @Mayhem6633,


    I never had this issue - but on discord I had one user reporting same issue. He also did have a red border on the web fip. He figured out that the AAO web service was not running. He checked the "Enable web service", restarted AAO and all ok.

    Does this work for you, too?

    over 3 years ago

    That was it exactly. Thanks for the help.

    FunaticAuthor

    over 3 years ago

    Thanks for the feedback. Now I know what to answer if others encounter the same issue :-)


    Btw - did you see I did send you a private message here in FS.to...

    over 3 years ago

    Hi 


    Tried to setup Fenix with x-touch and followed the instructions but failed.

    The x-touch does not respond in FS Fenix accordingly.


    AAO Version 22.70 b37

    XTouch MIDI Out ID 5

    Start a flight with Fenixc A320 at parking gate

    The x-touch does not react in the Sim.

    Flightdeck for Fenix is working.


    What steps do I need to verify this solution?


    Thanks a lot.

    FunaticAuthor

    over 3 years ago

    First of all: open the INIT_XTouch_Auto Script you have created during setup in the RPN Scripts editor. Locate the line containing the MidiDeviceID and change the value to 5 (default is 3). Click on Update / Close and try again.

    Let me know if this already fixed the issue.

    MSFS 2020MSFS 2024

    X-Touch Mini Gauge for use with AAO (Axis and Ohs)

    This is a framework for programming the Behringer X-Touch Mini as MSFS input device using Axis and Ohs. It supports programming buttons, rotaries and LEDs and also offers mirroring of the X-Touch Mini Device onto the screen (very helpful for VR flyers).

    Downloads3K
    Version1.3
    File Size2.22 MB
    Published3 years ago
    Updated3 years ago

    User Reviews

    5.0

    10 reviews

    5
    100%
    4
    0%
    3
    0%
    2
    0%
    1
    0%

    More Information

    Simulator
    MSFS2020/24
    CategoryUtilities
    Sub-CategoryAxis and Ohs

    Version History

    - Gauge stretched in height to give room for adding additional line of labels for buttons 9-17 - New feature: Disable File Cache while modifying layer file. Changes will be effective immediately after file save. - New rotary LED macro: "Follow Me" lights