The 737 Max 8 has its own autopilot implementation.
It intercepts some AP key events (using INTERCEPT_KEY_EVENT Coherent call) and ignore others. This is implementation specific.
You can have more context on how the AP behaves by using the Coherent debugger, opening the CDU page and checking cdu.js
You will see that AP_ALT_VAR_DEC is intercepted and leads to a custom js implementation.
thank you, I will check.
by the way, is there a way to make a same effect of intercepted and implemented by custom js via simConnect?
at this time, I don’t know about custom js and how to use it out side of MSFS.
Yes, after your SimConnect_MapClientEventToSimEvent, you want to set the bMaskable parameter to true when calling SimConnect_AddClientEventToNotificationGroup
and use a priority like SIMCONNECT_GROUP_PRIORITY_HIGHEST_MASKABLE when calling SimConnect_SetNotificationGroupPriority.
The event will be received by your client, but not processed by the sim.
To me, this is the equivalent of JS INTERCEPT_KEY_EVENT.
You subscribe to the key event, prevent it from being processed by the sim, and are free to have a custom implementation in SimConnect.
It does the same thing as the JS call. It intercepts the key event, notifies you and lets you implement your own logic, and prevents the event from being propagated further.
This topic has been automatically closed after 60 days of inactivity since it was marked as by-design.
If there is important new information about this same report, you can use the “Request reopen” button below to ask the moderation team to review it again.
For other issues or broader discussion, please open a new topic in the appropriate category.