[SDK] Handling CDU/FMS Button Clicks

Recommended Posts

Hey guys!

I was playing around with the PMDG 777X SDK today, and wanted to see if it was possible to handle CDU/FMS button clicks to see if it was possible to sync up two cdus on two different computers. However, I quickly realized that there was no way to get button clicks from the CDU. I could only press the buttons from the program. Is there any intention in the future to add the ability to handle events and not just call them? This would be useful, not only for the CDU, but also for other buttons, to avoid having to poll.

Share this post

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

Hi Prithvi,

There are indeed no events fired for button clicks on the CDU. The 777 does however report the actual CDU screen data. The information is missing in the SDK, but it works exactly the same as with the 737 NGX: the screen data is reported in SimConnect client data areas with the IDs PMDG_777X_CDU_0, PMDG_777X_CDU_1 and PMDG_777X_CDU_2.

An explanation of how the screen data is structured and how to request the NGX screen data can be found here. Just replace the NGX client data area ID (PMDG_NGX_CDU_0 or PMDG_NGX_CDU_1) with one of the above IDs for the 777.

Hope this helps,


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