Page 1 of 1

Using Input Events (B:Vars) in Air Manager

Posted: Fri Sep 08, 2023 6:57 pm
by ylevesque
Input Events and B:Vars are now frequently used in MSFS instruments. Unfortunately, these are not directly usable in Air Manager because there is no SimConnect function to access them.
But there is a way to use them in our AM instruments scripts by converting B:Vars to L:Vars and L:Vars to Input Events
This conversion process should be done in the aircraft code in specific xml files.
Thanks to SimPassion who published a post with a link to the excellent article on this.

Detailed instructions are in this pdf file:
Using Input Events.pdf
(90.73 KiB) Downloaded 131 times
I attached my Cabri_G2_Interior.xml and 2 instruments. You can test them in your Air Manager (version 4.2 or more). Input Events are used in the Carb Heat switch, the Clutch cover and the Rotor handle.
G2 Instruments 2023-08-30.zip
(1.34 MiB) Downloaded 97 times
Yves

Re: Using Input Events (B:Vars) in Air Manager

Posted: Sat Nov 11, 2023 7:01 pm
by MikeLima
You're my life saver. Thank you very much for sharing. (Trying to build a cockpit for the Guimbal Cabri G2).
Mike

Re: Using Input Events (B:Vars) in Air Manager

Posted: Sun Nov 12, 2023 7:01 am
by MikeLima
Could you maybe assist with the NR-switch ? I think it's the last missing component...

Re: Using Input Events (B:Vars) in Air Manager

Posted: Sun Nov 12, 2023 2:21 pm
by ylevesque
Sorry.
I didn't work on this switch yet.

Yves

Re: Using Input Events (B:Vars) in Air Manager

Posted: Sat Nov 18, 2023 3:20 am
by SuperDave829
Thank you, ylevesque, for the prompt reply!
I will digest the info you sent, and feel enlightened, and maybe get a few more switches working.