Page 1 of 1

Parking Brakes and Landing Gear Oi4FS

Posted: Sat Feb 05, 2022 3:51 pm
by Storm24
Hello.
Is it possible to add offset or some configuration to use handware parking brakes and landing gear?
I can only use FSUIPC offsets for outputs in Oi4FS.
How can I add these two Inputs for CRJ, A320, Cj4 ..... ?

Best Regards

Re: Parking Brakes and Landing Gear Oi4FS

Posted: Sat Feb 05, 2022 6:59 pm
by mvr1918
Do you mean to trigger Parking Brake and Gear Handle via an Opencockpits hardware module's input?

The following Events will be implemented in all Oi4FS drivers in next update of Oi4FS:

hr = SimConnect_MapClientEventToSimEvent(hSimConnect, EVENT_PARKING_BRAKE, "PARKING_BRAKES");
hr = SimConnect_MapClientEventToSimEvent(hSimConnect, EVENT_GEAR, "GEAR_TOGGLE");
hr = SimConnect_MapClientEventToSimEvent(hSimConnect, EVENT_FLAPS_DN, "FLAPS_INCR");
hr = SimConnect_MapClientEventToSimEvent(hSimConnect, EVENT_FLAPS_UP, "FLAPS_DECR");
hr = SimConnect_MapClientEventToSimEvent(hSimConnect, EVENT_SPOILERS_ARM_TOGGLE, "SPOILERS_ARM_TOGGLE");
hr = SimConnect_MapClientEventToSimEvent(hSimConnect, EVENT_SPOILERS_TOGGLE, "SPOILERS_TOGGLE");

Users that want to connect Opencockpits hardware inputs to any of these new Events must make a small and easy modification of the airplane scripts.