December 31, 20241 yr How can I bind the B on the keyboard with the baro button in the Fenix A320? kind regards Alex Windows 10 Pro I7-4770k 3,50GHz Gigabyte GTX980TI. Driver 359.06 Ram 16 GB
January 30, 20251 yr Hey there, please let me know if you found a solution. I'd like to have a toggle script that either sets the Standard Pressure or sets the ambient pressure (much like the B key would do). Regards, Danno
January 30, 20251 yr Commercial Member The standard events from the SDK are BAROMETRIC and BAROMETRIC_STD_PRESSURE (use the filter box at the bottom of the event selection dialog in AAO to find them). You can bind those to any input device, just like everything else. But there is no guarantee that they will work with every aircraft, because many aircraft developers are just ignoring the SDK and do their own thing. Like Fenix for example Here are a couple of scripts for the Fenix that can be used to operate the Baro Knob on the left EFIS: BARO_DEC: (L:E_FCU_EFIS1_BARO,·Number)·--·(>L:E_FCU_EFIS1_BARO,·Number)· BARO_INC: (L:E_FCU_EFIS1_BARO,·Number)·++·(>L:E_FCU_EFIS1_BARO,·Number)· BARO_MODE_TOGGLE: (L:S_FCU_EFIS1_BARO_MODE,·Number)·!·(>L:S_FCU_EFIS1_BARO_MODE,·Number)· BARO_STD_TOGGLE: (L:S_FCU_EFIS1_BARO_STD,·Number)·!·(>L:S_FCU_EFIS1_BARO_STD,·Number)· In general, your best course of action is to go on flightsim.to and look for a script package that has been made for the aircraft. For example the StreamDeck packages often contain script files that you can import and make use of. Edited January 30, 20251 yr by Lorby_SI LORBY-SI
January 30, 20251 yr Hey there, thank you for the swift reply. However, that's not entirely what I am looking for. e.g.: BARO_STD_TOGGLE: (L:S_FCU_EFIS1_BARO_STD,·Number)·!·(>L:S_FCU_EFIS1_BARO_STD,·Number)· This one toggles between "STD" or the set QNH. I would like to toggle between "STD" and the current ambient barometric pressure, which is basically what pushing the B key would do. What I came up with is: (L:B_FCU_EFIS1_BARO_STD, number) 1 == if{ (VKD:48-176-66) (SPLIT:100) (VKU:48-176-66) } els{ 1 (>K:FENIX_A3XX-EFIS_Baro_STD) } If B_FCU_EFIS1_BARO_STD = 1 it does emulate a B keystroke (which amongst other actions sets B_FCU_EFIS1_BARO_STD to 0). However, if B_FCU_EFIS1_BARO_STD = 0 the script does not the FENIX_A3XX-EFIS_Baro_STD script. (Needless to say that even if it worked it would not be 100% safe, since the B keystroke only works when MSFS is focused, but I could live with that.)
January 30, 20251 yr Commercial Member 24 minutes ago, danno1502 said: Hey there, thank you for the swift reply. However, that's not entirely what I am looking for. e.g.: BARO_STD_TOGGLE: (L:S_FCU_EFIS1_BARO_STD,·Number)·!·(>L:S_FCU_EFIS1_BARO_STD,·Number)· This one toggles between "STD" or the set QNH. I would like to toggle between "STD" and the current ambient barometric pressure, which is basically what pushing the B key would do. What I came up with is: (L:B_FCU_EFIS1_BARO_STD, number) 1 == if{ (VKD:48-176-66) (SPLIT:100) (VKU:48-176-66) } els{ 1 (>K:FENIX_A3XX-EFIS_Baro_STD) } If B_FCU_EFIS1_BARO_STD = 1 it does emulate a B keystroke (which amongst other actions sets B_FCU_EFIS1_BARO_STD to 0). However, if B_FCU_EFIS1_BARO_STD = 0 the script does not the FENIX_A3XX-EFIS_Baro_STD script. (Needless to say that even if it worked it would not be 100% safe, since the B keystroke only works when MSFS is focused, but I could live with that.) You will need an additional (FOCUS: command to make sure that the virtual keystroke ends up in the sim. Otherwise it will be processed by whatever app has the focus at the moment. LORBY-SI
January 30, 20251 yr Commercial Member 29 minutes ago, danno1502 said: which is basically what pushing the B key would do. ...and that is the default simulator event BAROMETRIC. It is working in the Fenix too. And this would be your toggle script: (L:S_FCU_EFIS1_BARO_STD,·Number)·d·1·==·if{·1·(>K:BAROMETRIC)·}·!·(>L:S_FCU_EFIS1_BARO_STD,·Number) "Check if the baro is set to STD, and if it is, set the current pressure. Then Toggle the state of the baro" LORBY-SI
January 30, 20251 yr 3 minutes ago, Lorby_SI said: ...and that is the default simulator event BAROMETRIC. It is working in the Fenix too. And this would be your toggle script: (L:S_FCU_EFIS1_BARO_STD,·Number)·d·1·==·if{·1·(>K:BAROMETRIC)·}·!·(>L:S_FCU_EFIS1_BARO_STD,·Number) "Check if the baro is set to STD, and if it is, set the current pressure. Then Toggle the state of the baro" Thank you. That is brilliant...!! So simple compared to what I had... much appreciated!
Create an account or sign in to comment