October 28Oct 28 2 hours ago, Crabby said:Are you talking about the bar on the MCP or the button on the yokes (I use the captain side). I don't program the bar, but the code that was give above works for the button. The only thing it does not seem to do is activate the disconnect sound.Just copy and paste this code in a script and assign it:1·(>O:YOKE_CONTROLS:BTN_YOKE_AUTOPILOT_DISENGAGE_PILOT_COMP:btn_yoke_autopilot_disengage_pilot_ButtonLocked,·bool)1·(>L:btn_yoke_autopilot_disengage_pilot,·bool)1·0·>·if{·0·(>L:btn_yoke_autopilot_disengage_pilot_HELD,·bool)·}(E:SIMULATION·TIME,·second)·(>O:YOKE_CONTROLS:BTN_YOKE_AUTOPILOT_DISENGAGE_PILOT_COMP:btn_yoke_autopilot_disengage_pilot_PressTime,·second)1·(>K:AUTOPILOT_OFF)(WAIT:100)0·(>O:YOKE_CONTROLS:BTN_YOKE_AUTOPILOT_DISENGAGE_PILOT_COMP:btn_yoke_autopilot_disengage_pilot_ButtonLocked,·bool)0·(>L:btn_yoke_autopilot_disengage_pilot,·bool)0·(>L:btn_yoke_autopilot_disengage_pilot_HELD,·bool)Worked like a charm ! Thank you !!!
October 28Oct 28 I wonder if you can also assist ?Trying to set press button for TERR (it is a simple press button in out) This is the Simvar:B757_ADI_1_TERR_BUTTONGlareshield / EFIS and nav · EFIS and navigation display · Captain / left stationAdi 1 terrain buttonMaintained state; write the desired state instead of repeatedly pulsing it.Read / Write0 = off/unselected; 1 = on/selected
October 28Oct 28 Commercial Member 5 hours ago, Crabby said:Yep. It seems that the only developer doing that is PMDG. They are sticklers for following the SDK and programming controllers using the PMDG SDK is a breeze.Not sure that is true. PMDG have instead made their own SDK with their very own custom events (= not actual MSFS InputEvents!). That has been the case since forever, this SDK hasn't changed at least since the P3D days. And in the MSFS behavior code they are mis-using the K:ROTOR_BRAKE event, that they send different codes to, which their internal code understands and acts upon. LORBY-SI
Create an account or sign in to comment