43 #if defined( _MSC_VER ) 44 # define OIS_MSVC_COMPILER 45 #elif defined( __GNUC__ ) 46 # if defined( __WIN32__ ) || defined( _WIN32 ) 47 # define OIS_MINGW_COMPILER 49 # define OIS_GCC_COMPILER 51 #elif defined( __BORLANDC__ ) 52 # define OIS_BORLAND_COMPILER 54 # error No Recognized Compiler! 58 #if defined( __WIN32__ ) || defined( _WIN32 ) // Windows 2000, XP, ETC 59 # if defined ( _XBOX ) 60 # define OIS_XBOX_PLATFORM 62 # define OIS_WIN32_PLATFORM 63 # if defined( OIS_DYNAMIC_LIB ) 66 # if !defined(OIS_MINGW_COMPILER) 67 # pragma warning (disable : 4251) 69 # if defined( OIS_NONCLIENT_BUILD ) 70 # define _OISExport __declspec( dllexport ) 72 # if defined(OIS_MINGW_COMPILER) 75 # define _OISExport __declspec( dllimport ) 80 #elif defined( __APPLE_CC__ ) // Apple OS X 82 # if __IPHONE_OS_VERSION_MIN_REQUIRED >= 20201 || __IPHONE_OS_VERSION_MIN_REQUIRED >= 20000 84 # define OIS_IPHONE_PLATFORM 86 # define OIS_APPLE_PLATFORM 89 # define _OISExport __attribute__((visibility("default"))) 90 #else //Probably Linux 91 # define OIS_LINUX_PLATFORM 96 #if defined(__x86_64__) 104 #ifdef OIS_MSVC_COMPILER 105 # define OIS_INLINE_PRAGMA(x) __pragma(x) // x is intentionally not wrapped; __pragma rejects expressions beginning with '('. 107 # define OIS_INLINE_PRAGMA(x) 110 #define OIS_MACRO_BEGIN do { 112 #define OIS_MACRO_END \ 113 } OIS_INLINE_PRAGMA(warning(push)) OIS_INLINE_PRAGMA(warning(disable:4127)) while (0) OIS_INLINE_PRAGMA(warning(pop)) 117 #define OIS_UNUSED(x)\ 119 ((void)(true ? 0 : ((x), void(), 0)));\ 123 #define OIS_VERSION_MAJOR 1 124 #define OIS_VERSION_MINOR 5 125 #define OIS_VERSION_PATCH 0 126 #define OIS_VERSION_NAME "1.5.0" 128 #define OIS_VERSION ((OIS_VERSION_MAJOR << 16) | (OIS_VERSION_MINOR << 8) | OIS_VERSION_PATCH) 134 class FactoryCreator;
142 class MultiTouchListener;
143 class JoyStickListener;
150 typedef std::multimap<std::string, std::string>
ParamList;
247 #endif //end if prereq header defined Definition: OISPrereqs.h:181
#define _OISExport
Definition: OISPrereqs.h:40
A 3D Vector component (perhaps an orientation, as in the WiiMote)
Definition: OISPrereqs.h:225
Definition: OISPrereqs.h:163
ComponentType
Base type for all device components (button, axis, etc)
Definition: OISPrereqs.h:175
Definition: OISPrereqs.h:178
Definition: OISPrereqs.h:165
Definition: OISPrereqs.h:177
Definition: OISPrereqs.h:166
void clear()
Definition: OISPrereqs.h:240
Definition: OISException.h:55
Definition: OISPrereqs.h:180
Base of all device components (button, axis, etc)
Definition: OISPrereqs.h:186
bool absOnly
Indicates if this Axis only supports Absoulte (ie JoyStick)
Definition: OISPrereqs.h:215
std::map< Object *, FactoryCreator * > FactoryCreatedObject
Map of FactoryCreator created Objects.
Definition: OISPrereqs.h:156
Definition: OISPrereqs.h:182
std::vector< FactoryCreator * > FactoryList
List of FactoryCreator's.
Definition: OISPrereqs.h:153
float z
Z component of vector.
Definition: OISPrereqs.h:238
Type
Each Input class has a General Type variable, a form of RTTI.
Definition: OISPrereqs.h:159
Definition: OISPrereqs.h:162
Definition: OISPrereqs.h:164
Definition: OISPrereqs.h:161
Axis component.
Definition: OISPrereqs.h:206
std::multimap< Type, std::string > DeviceList
Map of device objects connected and their respective vendors.
Definition: OISPrereqs.h:170
Definition: OISEffect.h:28
Definition: OISPrereqs.h:179
Vector3()
Definition: OISPrereqs.h:228
float y
Y component of vector.
Definition: OISPrereqs.h:235
void clear()
Used internally by OIS.
Definition: OISPrereqs.h:218
Component()
Definition: OISPrereqs.h:189
std::multimap< std::string, std::string > ParamList
Way to send OS nuetral parameters.. ie OS Window handles, modes, flags.
Definition: OISPrereqs.h:147