Commit 47eeab59 authored by Phillip Castaneda's avatar Phillip Castaneda
Browse files

Adding standard header for LINUX

parent 6089ce52
...@@ -89,6 +89,7 @@ restrictions: ...@@ -89,6 +89,7 @@ restrictions:
# define _OISExport __attribute__((visibility("default"))) # define _OISExport __attribute__((visibility("default")))
#else //Probably Linux #else //Probably Linux
# define OIS_LINUX_PLATFORM # define OIS_LINUX_PLATFORM
# include <unistd.h>
#endif #endif
//Is Processor 32 or 64 bits... //Is Processor 32 or 64 bits...
...@@ -115,10 +116,10 @@ namespace OIS ...@@ -115,10 +116,10 @@ namespace OIS
class Keyboard; class Keyboard;
class Mouse; class Mouse;
class JoyStick; class JoyStick;
class MultiTouch; class MultiTouch;
class KeyListener; class KeyListener;
class MouseListener; class MouseListener;
class MultiTouchListener; class MultiTouchListener;
class JoyStickListener; class JoyStickListener;
class Interface; class Interface;
class ForceFeedback; class ForceFeedback;
...@@ -135,7 +136,7 @@ namespace OIS ...@@ -135,7 +136,7 @@ namespace OIS
typedef std::map<Object*, FactoryCreator*> FactoryCreatedObject; typedef std::map<Object*, FactoryCreator*> FactoryCreatedObject;
//! Each Input class has a General Type variable, a form of RTTI //! Each Input class has a General Type variable, a form of RTTI
enum Type enum Type
{ {
OISUnknown = 0, OISUnknown = 0,
OISKeyboard = 1, OISKeyboard = 1,
...@@ -151,7 +152,7 @@ namespace OIS ...@@ -151,7 +152,7 @@ namespace OIS
//-------- Shared common components ------------------------// //-------- Shared common components ------------------------//
//! Base type for all device components (button, axis, etc) //! Base type for all device components (button, axis, etc)
enum ComponentType enum ComponentType
{ {
OIS_Unknown = 0, OIS_Unknown = 0,
OIS_Button = 1, //ie. Key, mouse button, joy button, etc OIS_Button = 1, //ie. Key, mouse button, joy button, etc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment