XPLMCreateCommand

XPLM_API XPLMCommandRef XPLMCreateCommand(
                         const char *         inName,    
                         const char *         inDescription);    

XPLMCreateCommand creates a new command for a given string. If the command already exists, the existing command reference is returned. The description may appear in user interface contexts, such as the joystick configuration screen.