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

Pressure #31

Closed PeteD88 closed 2 years ago

PeteD88 commented 3 years ago

FEATURE REQUEST The "Heading", "Altitude" etc updating panels are a brilliant feature that make the Touch Portal a real asset to flight simming. Would it be possible to add one for the Altimeter BARO pressure setting? Seeing the current setting on the tablet in the Touch Portal window, in both Hg & Millibars would be such a bonus. Then buttons for setting the Pressure to Increase & Decrease, from the tablet would be good. There are 3 other options for binding in MSFS2020 Options/Controls

SET ALTIMETER - Synchs altimeter setting to sea level pressure, or 29.92 if above 18,000 SET ALTIMETER TO MSL PRESSURE - Set the altimeter to mean sea level pressure. SET ALTIMETER - Set altimeter settying (Millibars*16). In the A320NX mod, you can set the Altimeter to STD (29.92/1013), QFE & QNH, these are Ground level & sea level and swap Hg & millibars. According to MS the variables exist (see below), so I hope it is possible to pull the data into the display(s). Pulling both, means you get an instant conversion on screen and no need to change units. SimConnect_AddToDataDefinition(hSimConnect, DEFINITION_1, "Kohlsman setting hg", "inHg"); hr =

KOHLSMAN SETTING MB | Altimeter setting | Millibars

KOHLSMAN SETTING HG | Altimeter setting | Inches of Mercury, inHg

I hope that is helpful, if there is anything else I can do please let me know, I don't know how to program but will try to help wherever else I can. Thanks for listening. BTW Fantastic job on the plugin