lvedin

SDK Gear-lever control ID ?

Recommended Posts

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 ?

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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 🙂

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now