MarkHargrove

737NGX Landing Gear Lever Actions

Recommended Posts

I recently added a three-position landing gear lever to my sim and have run into a puzzling issue with getting the correct DOWN/UP/OFF states to work.  I'm using SPAD.neXt as my primary control and panel handler and a USB-button controller to sense the button states on the landing gear lever.  It has two switches -- one is engaged in the gear-UP position, one is engaged in the gear-DOWN position and neither are engaged in the OFF.  I've got SPAD.neXt configured to treat the switches as 'simple' buttons (i.e., no "long" or "short" presses, just "button pressed" or "button released").  The gear DOWN position is detected as a 'button pressed' event and sends a PMDG737:EVT_GEAR_LEVER simulation event with a PMDG "Special Value" of Singleclick:Left Mouse Button (I'm going by memory on which mouse button it is; I may have it reversed from "gear up").  This event works correctly -- when the physical gear lever is moved to the 'gear down' position, PMDG responds correctly and the gear lowers (and the on-screen gear lever moves to the DOWN position as well).

The 'gear up' switch as two events attached:  'on press' sends a PMDG737:EVT_GEAR_LEVER simulation event with a PMDG special value of 'Singleclick:Right Mouse Button', and 'on release' sends a PMDG737:EVT_GEAR_LEVER_OFF event with a 'pmdg special value' of 'Singleclick:Left Mouse Button'.    The 'on press' event does not work correctly -- the on-screen animation rapidly cycles between gear-up and gear-off as long as the physical lever in in the 'gear up' position.  When moved to the 'gear off' position, the simulator state correctly moves to 'gear off' as does the on-screen animation of the gear lever.

My first thought was that I was inadvertently sending a repeated 'gear-up' event, but I've verified over and over that I'm sending only a single emulation event for the 'gear up' on-press event.  Does anybody have any thoughts about what might be going on?

(Since I truly don't know if this is a SPAD.neXt issue or a PMDG SDK-related issue I'm cross posting this to the SPAD.neXt support forum as well).

Thanks!

-M.

Share this post


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

Keep in mind that the gear actuator is generally a toggle, up/down and the off state is a separate control binding.  Hope this helps.

Share this post


Link to post
Share on other sites

It's a toggle from the FSX/P3D keyboard controls.  Gear Up/Gear Down are discrete SimConnect events.  There are equivalent discrete Gear Up/Gear Down custom controls from PMDG, and, as you said, "Gear Off" is yet another custom PMDG control.

Share this post


Link to post
Share on other sites

Sorry to revive this thread,but I have continuous gear lever cycling with 737NG,and my PFC Cirrus 2 console,even after deleting ALL keyboard commands in PMDG and P3DV4. Pulling my hair out here...........

Share this post


Link to post
Share on other sites

One shall use PMDG mouse-flag as parameters for gear-lever control etc. 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)

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