Current SPAD.neXt Release: 0.9.12.123

This forum has closed. Please join our Discord Community.

SPAD.neXt online services are no longer available for SPAD.neXt Versions < 0.9.11.5

PMDG 737 Landing Gear States

General Discussions
Locked
MarkHargrove
Passenger
Posts: 6
Joined: 28 Feb 2017, 20:51
Status: Offline

PMDG 737 Landing Gear States

Post by MarkHargrove » 28 Jan 2018, 19:28

I posted this same question to the 'Registered' forums in the 'Support' topic but then realized I might get a faster response here. Here's my question:

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?

-M.

Locked