Archived

This topic is now archived and is closed to further replies.

Guest MarkEverly

Autopilot Master Toggle Event

Recommended Posts

Good afternoon,Have been working with simconnect for a few days now based on the Managed Data Request sample application. All is working well and has been quite fun.However, I am stumped on one detail. I understand how the Pause event is managed based on the SubscribeToSystemEvent method. However, I am trying to configure an event that would fire based on a toggle of the autopilot master switch in FSX. After some research it does not appear that the SubscribeToSystemEvent call is correct. Could someone provide a small code snippet of how to register the autopilot master event such that my client receives notification of the AP master toggle event when initiated from FSX.Many thanks in advance for your help,ME

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

I think you need to register for the AP_MASTER event. There's a managed code sample for this kind of thing, the "Managed Client Event Sample". It subscribes for notification about FLAPS_UP", so you could use that as a model for your requirements.Simon

Share this post


Link to post
Share on other sites