From X-Plane SDK
Revision as of 19:51, 20 April 2009 by Admin (1 revision)
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.