| [1505] | 1 | /* | 
|---|
 | 2 | The zlib/libpng License | 
|---|
 | 3 |  | 
|---|
 | 4 | Copyright (c) 2005-2007 Phillip Castaneda (pjcast -- www.wreckedgames.com) | 
|---|
 | 5 |  | 
|---|
 | 6 | This software is provided 'as-is', without any express or implied warranty. In no event will | 
|---|
 | 7 | the authors be held liable for any damages arising from the use of this software. | 
|---|
 | 8 |  | 
|---|
 | 9 | Permission is granted to anyone to use this software for any purpose, including commercial  | 
|---|
 | 10 | applications, and to alter it and redistribute it freely, subject to the following | 
|---|
 | 11 | restrictions: | 
|---|
 | 12 |  | 
|---|
 | 13 |     1. The origin of this software must not be misrepresented; you must not claim that  | 
|---|
 | 14 |                 you wrote the original software. If you use this software in a product,  | 
|---|
 | 15 |                 an acknowledgment in the product documentation would be appreciated but is  | 
|---|
 | 16 |                 not required. | 
|---|
 | 17 |  | 
|---|
 | 18 |     2. Altered source versions must be plainly marked as such, and must not be  | 
|---|
 | 19 |                 misrepresented as being the original software. | 
|---|
 | 20 |  | 
|---|
 | 21 |     3. This notice may not be removed or altered from any source distribution. | 
|---|
 | 22 | */ | 
|---|
 | 23 | #ifndef OIS_CONFIG_HEADER | 
|---|
 | 24 | #define OIS_CONFIG_HEADER | 
|---|
 | 25 |  | 
|---|
 | 26 | //----------------------------------------------------------------------------// | 
|---|
 | 27 | //* This file contains defines for building certain parts of this Lib | 
|---|
 | 28 | //*     This file is not meant for External inclusion. However, you can edit this  | 
|---|
 | 29 | //* file before a build to effect what features are used internally | 
|---|
 | 30 | //----------------------------------------------------------------------------// | 
|---|
 | 31 |  | 
|---|
 | 32 | /**  | 
|---|
 | 33 | @remarks | 
|---|
 | 34 |         These lines have no bearing on internal build of OIS. This is here for | 
|---|
 | 35 |         external build settings. Meaning, changing this does not require a | 
|---|
 | 36 |         rebuild of OIS. This just affects VC dll import settings, as the DLL | 
|---|
 | 37 |         build already defines this during its build for setting dll exports. | 
|---|
 | 38 |         The undefine here is here just incase you decide to only use | 
|---|
 | 39 |         DLL, and want to set it permently and recompile OIS too.. Avoid redefinition | 
|---|
 | 40 |         from DLL build of OIS. | 
|---|
 | 41 |  | 
|---|
 | 42 |         So, if wanting to link against DLL version, just uncomment these lines. | 
|---|
 | 43 | */ | 
|---|
 | 44 | //#ifdef OIS_DYNAMIC_LIB | 
|---|
 | 45 | //#  undef OIS_DYNAMIC_LIB | 
|---|
 | 46 | //#endif | 
|---|
 | 47 | //#define OIS_DYNAMIC_LIB | 
|---|
 | 48 |  | 
|---|
 | 49 | /** | 
|---|
 | 50 | @remarks | 
|---|
 | 51 |         Build in support for LIRC / WinLIRC - remote control support. | 
|---|
 | 52 |         Requires Boost::asio | 
|---|
 | 53 | @notes | 
|---|
 | 54 |         Experimental - Supports connecting and enumerating. Control does not | 
|---|
 | 55 |         yet return state or events | 
|---|
 | 56 | */ | 
|---|
 | 57 | //#define OIS_LIRC_SUPPORT | 
|---|
 | 58 |  | 
|---|
 | 59 | /** | 
|---|
 | 60 | @remarks | 
|---|
 | 61 |         Build in support for PC Nintendo WiiMote Win32 HID interface. | 
|---|
 | 62 |         Requires Boost::threads | 
|---|
 | 63 | @notes | 
|---|
 | 64 |         Useable, but not quite finished - supports rumble, all buttons, & main orientation axis. | 
|---|
 | 65 |         Still needs Nunchuck, IR, and LED/Battery support. | 
|---|
 | 66 | */ | 
|---|
 | 67 | //#define OIS_WIN32_WIIMOTE_SUPPORT | 
|---|
 | 68 |  | 
|---|
 | 69 | /** | 
|---|
 | 70 | @remarks | 
|---|
 | 71 |         Build in support for Win32 XInput (Xbox 360 Controller) | 
|---|
 | 72 | */ | 
|---|
 | 73 | //#define OIS_WIN32_XINPUT_SUPPORT | 
|---|
 | 74 |  | 
|---|
 | 75 | #endif | 
|---|