What this exactly do? Is this setting AP to some state or is registering event when this state will be achieved? I don’t want set AP. I want to know when pilot will disable AP.
Looks like below code is working for me on all toggle events (like AP_MASTER, AP_PANEL_ALTITUDE_HOLD, BRAKES) but not on any other. So obviously my code is wrong or I don’t understand concept of ON OFF events. Is this possible to be notified when pilot turn something off? AUTOPILOT_OFF, AP_HDG_HOLD_OFF, AP_ALT_HOLD_OFF
SimConnect_MapClientEventToSimEvent(hSimConnect, EVENT_AUTOPILOT_OFF, “AUTOPILOT_OFF”)))
SimConnect_AddClientEventToNotificationGroup(hSimConnect, GROUP0, EVENT_AUTOPILOT_OFF)))
SimConnect_SetNotificationGroupPriority(hSimConnect, GROUP0, SIMCONNECT_GROUP_PRIORITY_HIGHEST)))