tlewis17 / MSFSTouchPortalPlugin

The goal of this repository is to create a connection between Touch Portal and MSFS through SimConnect in order to allow users to create buttons to control or view data for your aircraft. While this is for MSFS, in theory it could be used with other SimConnect compatible games.
MIT License
61 stars 9 forks source link

Gear/Flaps/Ground Service states #16

Closed tlewis17 closed 2 years ago

tlewis17 commented 3 years ago

Additional state requests:

"IS_GEAR_RETRACTABLE": ["True if gear can be retracted", b'IS GEAR RETRACTABLE', b'Bool', 'N'], - no point trying to manipulate the landing gear if it is fixed

"FLAPS_NUM_HANDLE_POSITIONS": ["Number of flap positions", b'FLAPS NUM HANDLE POSITIONS', b'Number', 'N'], - to tell how many stages of flaps there are

"FLAPS_HANDLE_INDEX": ["Index of current flap position", b'FLAPS HANDLE INDEX', b'Number', 'Y'], - to tell the current state of the flaps

"PUSHBACK_STATE": ["Type of pushback :; 0 = Straight; 1 = Left; 2 = Right", b'PUSHBACK STATE', b'Enum', 'Y'], - to tell whether the a/c is being pushed back

"SIM_ON_GROUND": ["On ground flag", b'SIM ON GROUND', b'Bool', 'N'], - to prevent gear being raised when on the ground