Jump to content
Sign in to follow this  
Guest MarkEverly

Autopilot Master Toggle Event

Recommended Posts

Guest MarkEverly

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...