TestEnums

From X-Plane SDK
Revision as of 14:24, 26 December 2012 by Sbarbour (Talk | contribs)

Jump to: navigation, search




/*
	TestEnums Example
	Written by Sandy Barbour - 23/04/2004
	
	This examples shows how to send key and joystick commands
*/

#include "XPLMPlugin.h"
#include "XPLMUtilities.h"
#include "XPLMProcessing.h"
#include "XPLMMenus.h"
#include "XPLMGraphics.h"
#include "XPLMPlanes.h"
#include "XPLMDataAccess.h"
#include "XPWidgets.h"
#include "XPStandardWidgets.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#if IBM
#include <windows.h>
#endif


#define MAX_KEY_COMMANDS 95
#define MAX_JOYSTICK_COMMANDS 95
#define MAX_VIEW_ENUMS 21
#define MAX_AP_STATES 12