-
Hey folks! Following my recent development of PMDG 777, 737 CDUs, I'm trying to make one for my beloved ATR and unfortunately, it doesn't have nice SDKs like the ones PMDG provides.. Any ideas are welcome! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi! For sending keypresses, you might want to use input events (aka H-events if I'm not mistaken). This sample shows how to retrieve a list of all the available ones. Then you would use Annunciators/lights seem to be available as LVARs. I think you can read those in the same way as simvars now. See SimConnect_AddToDataDefinition. You can find the available LVARs in the MSFS developer menu under Tools -> Behaviors -> LocalVariables. Those starting with I'm not sure how you can extract the CDU screen text though.. Looks like LVARs are only for numeric values. |
Beta Was this translation helpful? Give feedback.
Hi! For sending keypresses, you might want to use input events (aka H-events if I'm not mistaken). This sample shows how to retrieve a list of all the available ones. Then you would use
setInputEvent()
to trigger them.Annunciators/lights seem to be available as LVARs. I think you can read those in the same way as simvars now. See SimConnect_AddToDataDefinition. You can find the available LVARs in the MSFS developer menu under Tools -> Behaviors -> LocalVariables. Those starting with
MSATR_MCDU1_****
are probably what you are looking for.I'm not sure how you can extract the CDU screen text though.. Looks like LVARs are only for numeric values.