odwdinc / Python-SimConnect

Python interface for MSFS2020 SimConnect.dll
GNU Affero General Public License v3.0
270 stars 107 forks source link

Is it possible to get CAMERA_STATE etc? #124

Open Pomax opened 1 year ago

Pomax commented 1 year ago

I have MSFS running, I can get a whole bunch of aircraft information using qa.get("SOME_SIM_VAR_NAME"), but the CAMERA_STATE var, and other camera-related values, are all None rather than the enums they're supposed to return.

Pomax commented 1 year ago

Turns out these vars were missing from RequestList, which was easy enough to fix. If https://github.com/odwdinc/Python-SimConnect/pull/126 could be merged in and a new version pushed out to PyPi, that would be fantastic @odwdinc

Pomax commented 1 year ago

(And then I guess I might just run through the list over on https://docs.flightsimulator.com/html/Programming_Tools/SimVars/Simulation_Variables.htm and add any other missing ones in a separate PR, too)