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.

SDK Gear-lever control ID ?

Featured Replies

Hello 🙂

I have tried the #define EVT_GEAR_LEVER (in file PMDG_NGX_SDK.h ) with parameters 0,1 and 2. Nothing happened.

The parking brake works with same method in FCUIPC so I assume the Gear lever ID is wrong or the parameters are wrong or PMDG does not support gear lever.

Anybody knowing regarding gear lever ?

I don't know if this helps, because I don't work directly from the SDK (wouldn't know how 😏).  I use Lua plug-ins that send ipc controls and/or Local Gauge Variables to the sim via FSUIPC.  Depending on which button is pressed, the ipc control sequences are gear unlock-up, gear unlock-off and gear unlock-down, which probably correspond to the parameters 0, 1 and 2 in the SDK but that's beyond me.  All I'm saying, is that it can be done and the PMDG NGX definitely supports gear lever commands.

Cheers,
Emile Bax.


Boeing777_Banner_Pilot.jpg

On ‎10‎/‎21‎/‎2018 at 5:04 PM, lvedin said:

Hello 🙂

I have tried the #define EVT_GEAR_LEVER (in file PMDG_NGX_SDK.h ) with parameters 0,1 and 2. Nothing happened.

The parking brake works with same method in FCUIPC so I assume the Gear lever ID is wrong or the parameters are wrong or PMDG does not support gear lever.

Anybody knowing regarding gear lever ?

https://myhomecockpit.de/PMDG_737NGX_EVENT_IDs_SP1d.pdf

I use information in this documents to configure some hardware functions with the NGX. Including a landing gear lever.

  • 2 weeks later...
  • Author

I have solved this. One shall use PMDG mouse-flag as parameters. I.e. refer corresponding mouse action in the VC.

Event ID: EVT_GEAR_LEVER (works for gear up, off and down)

Parameter: MOUSE_FLAG_RIGHTSINGLE (this works for gear up)

Regards Lennart Vedin 🙂

Archived

This topic is now archived and is closed to further replies.

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.