XPLMSimulateKeyPress

XPLM_API void       XPLMSimulateKeyPress(
                         int                  inKeyType,    
                         int                  inKey);    

This function simulates a key being pressed for X-Plane. The keystroke goes directly to X-Plane; it is never sent to any plug-ins. However, since this is a raw key stroke it may be mapped by the keys file or enter text into a field.

Deprecated: use XPLMCommandOnce