Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help decoding code for BB 757

Featured Replies

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 !!!

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_BUTTON

Glareshield / EFIS and nav · EFIS and navigation display · Captain / left station

Adi 1 terrain button

Maintained state; write the desired state instead of repeatedly pulsing it.

Read / Write

0 = off/unselected; 1 = on/selected

  • 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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.