/src/ois/includes/OISConfig.h

https://bitbucket.org/cabalistic/ogredeps/ · C Header · 75 lines · 3 code · 6 blank · 66 comment · 0 complexity · 3c94831b1aada94151ee3ba4cdd6035a MD5 · raw file

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