Hello everyone !
I hope that someone with code knowledge will see this thread and help me out 🙂
I have a cockpit that is fully wired with Leo Bodnar boards, that are seen by falcon as DirectInput devices.
I have made a keyfile with all the callbacks linked to the DirectX buttons.
Now, to my problem : on the avionics power panel (I guess not only, but this one is really obvious), when I leave the switches on the “on” position, they all go to off and then back to on.
This makes that if I enter a plane that is already in flight, the DED is off and takes some time to turn back on, and all the flight plane is gone etc…
If I leave the switches on the “off” position in my cockpit, and then snap them to on when I am in 3D, everything is fine.
Here are my callbacks :
SimMFDOn 160 -2 -2 0 0x0 311 "AVIONICS: MFD Switch - ON"
SimMFDOff 160 -2 -2 0x42 0x0 311 "AVIONICS: MFD Switch - OFF"
SimSMSOn 161 -2 -2 0 0x0 310 "AVIONICS: SMS Switch - ON"
SimSMSOff 161 -2 -2 0x42 0x0 310 "AVIONICS: SMS Switch - OFF"
SimFCCOn 162 -2 -2 0 0x0 310 "AVIONICS: FCC Switch - ON"
SimFCCOff 162 -2 -2 0x42 0x0 310 "AVIONICS: FCC Switch - OFF"
SimUFCOn 163 -2 -2 0 0x0 310 "AVIONICS: UFC Switch - ON"
SimUFCOff 163 -2 -2 0x42 0x0 310 "AVIONICS: UFC Switch - OFF"
SimINSInFlt 168 -1 -2 0 0x0 125 "AVIONICS: INS Knob - IN FLT ALIGN"
SimINSNav 169 -1 -2 0 0x0 125 "AVIONICS: INS Knob - NAV"
SimINSNorm 172 -1 -2 0 0x0 125 "AVIONICS: INS Knob - NORM"
SimINSOff 173 -1 -2 0 0x0 125 "AVIONICS: INS Knob - OFF"
SimDLOn 178 -2 -2 0 0x0 310 "AVIONICS: DL Switch - ON"
SimDLOff 178 -2 -2 0x42 0x0 310 "AVIONICS: DL Switch - OFF"
SimGPSOn 179 -2 -2 0 0x0 310 "AVIONICS: GPS Switch - ON"
SimGPSOff 179 -2 -2 0x42 0x0 310 "AVIONICS: GPS Switch - OFF"
So for instance, the MMC is on the “on” position when the switch is activated, and then goes to “off” when the switch leaves the on position.
If I enter the 3D cockpit with this callback in the keyfile, and the switch in the on position, it first snaps to off, and then back to on immediately in the game. Because of that, I loose all the information and need to wait for the DED for instance to come back online.
I’m not certain everything I wrote above is clear, so feel free to ask me some more details, but from what I tested / understood, this comes mainly from the sim’s code. So if someone can either confirm and tell me what I am doing wrong, I’m very interested 🙂
Thanks !