odwdinc / Python-SimConnect

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

Add support for Camera variables #126

Closed Pomax closed 1 year ago

Pomax commented 1 year ago

Added all variables listed on https://docs.flightsimulator.com/html/Programming_Tools/SimVars/Camera_Variables.htm

Fixes https://github.com/odwdinc/Python-SimConnect/issues/124

Pomax commented 1 year ago

@odwdinc merry christmas, and a happy new year =)

would it be possible to merge this in?

AntCant commented 1 year ago

Thanks @Pomax! Desperately needed the camera state, this works great!

Pomax commented 1 year ago

Cheers. You may want to have a look at https://github.com/odwdinc/Python-SimConnect/pull/127 too in this case, as I've been adding support for more variables as I run into them being missing (since I'm writing an MSFS demonstrator autopilot in python atm) so if and until the various PRs are merged in, you may want to add git+https://github.com/pomax/python-simconnect@master#egg=simconnect to your requirements.txt (or, of course, a specific commit rather than master)

Pomax commented 1 year ago

superceded by https://github.com/odwdinc/Python-SimConnect/pull/127