Jump to content
Sign in to follow this  
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

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

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 🙂

  • Upvote 1

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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...