Autopilot disengaged event, what I am doing wrong?

When fired , react as pusbottons

AP_MASTER identical as AP button on G1000
Every push flips the position On to Off - Off to On

AUTOPILOT_OFF
AUTOPILOT_ON
Every push , insists in corresponding position ( inverts if it is the case…)

Set the desired State

You need to check if the Event you fired led to the result you desired ( hence feedback ) So , this one to be added to some Group of requests definitions ( read the state )

Hope I helped
Greetings