Jump to content

SDK Gear-lever control ID ?


lvedin

Recommended Posts

Posted

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 ?

Posted

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

Posted
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...
Posted

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.

  • 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...