XPLM_API void       XPLMCommandKeyStroke(
                         XPLMCommandKeyID     inKey);    

This routine simulates a command-key stroke. However, the keys are done by function, not by actual letter, so this function works even if the user has remapped their keyboard. Examples of things you might do with this include pausing the simulator.

Deprecated: use XPLMCommandOnce