Jump to content
The simFlight Network Forums

binding two rotaries to Fenix A320 flood lights


Recommended Posts

Posted

Hello everyone,

I’m trying to set up custom lighting controls in MSFS2020 (Fenix A320) using FSUIPC7 v7.5.4 and my Saitek Pro Flight X-55 Rhino. Specifically, I’d like to bind two of the throttle rotaries to control the flood lighting knobs in the cockpit:

  • Panel Flood light knob → Joy# C, Axis# R

  • Pedestal Flood light knob → Joy# C, Axis# V

I’m a bit unsure how to configure these properly in FSUIPC so that the rotaries control the corresponding lighting knobs in the Fenix A320. Has anyone managed to map these successfully? If so, could you share the steps?

Any advice or examples would be greatly appreciated!

Thanks in advance,

Milton

Posted

The pedestal flood lighting knob is controlled by the lvar L:A_MIP_LIGHTING_FLOOD_PEDESTAL with values between 0 (off) and 1 (full).
The X-55 rotary knobs control axes R and V, as you say, which have a range of -16384 - +16383. The easiest way to use an axes to control an lvar is to define a preset.
So, add the following to your myevents.txt file (create this file if you don't already have one):

Quote

//FenixSim/A320/Lights
FenixA320_Panel_Flood_Lights#$Param 16384 + 32767.0 / 0 max 1 min  (>L:A_MIP_LIGHTING_FLOOD_PEDESTAL)

Then assign your X-55 rotary to that preset by checking Send Preset to FS and selecting that preset from the dropdown menu. I think the X-55 rotaries may also need reversing -if so, you can do this by adjusting the preset by multiplying the input parameter by -1, i.e.

Quote

//FenixSim/A320/Lights
FenixA320_Panel_Flood_Lights#$Param -1 * 16384 + 32767.0 / 0 max 1 min  (>L:A_MIP_LIGHTING_FLOOD_PEDESTAL)

You can control the panel lights in the same way, but I am not sure what the lvar for this is (I don't have this aircraft). Try listing the lvars (Add-ons->WASM->List Lvars) to see if anything looks appropriate. It could be one of the following:
    L:A_DISPLAY_BRIGHTNESS_FO (Display Brightness R PFD Knob)
    L:A_DISPLAY_BRIGHTNESS_CI (Display Brightness L ND Knob)
    L:A_DISPLAY_BRIGHTNESS_CO (Display Brightness L PFD Knob)
    L:A_FCU_LIGHTING (FCU INTEG BRIGHTNESS KNOB)
    L:A_DISPLAY_BRIGHTNESS_FI (Display Brightness R ND Knob)
...or another lvar entirely!
If you can find the lvar, just define another preset similar to the one above but using the panel knob lvar, and then assign to that.

John

 

Posted

There is also:
    L:A_MIP_LIGHTING_FLOOD_MAIN - for main flood lights
Thats the only other flood light lvar I can see in the MF presets, so try:

Quote

//FenixSim/A320/Lights
FenixA320_Panel_Flood_Lights#$Param -1 * 16384 + 32767.0 / 0 max 1 min  (>L:A_MIP_LIGHTING_FLOOD_PEDESTAL)
FenixA320_Main_Flood_Lights#$Param -1 * 16384 + 32767.0 / 0 max 1 min  (>
L:A_MIP_LIGHTING_FLOOD_MAIN)

(and remove the '-1 *' if reversing not needed).

John

Posted

Hi John,

Just wanted to say thanks for your help.

It turns out that the reversing (-1 *) was indeed needed for the axis to behave correctly.

I also had a little struggle because I hadn’t enabled the “Select for Preset” checkbox in the top-right corner of the Axis Assignment tab. Only with that box ticked do the dropdowns show the presets from myevents.txt.

Appreciate the quick support!

Milton

Posted
59 minutes ago, MiltonPais said:

I also had a little struggle because I hadn’t enabled the “Select for Preset” checkbox in the top-right corner of the Axis Assignment tab.

Well, I did say that this was needed! Whatever you are assigning (axes, buttons or keys), you need to select/check one of the available options when not assigning to the default FS controls.

John

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.