summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xincludes/linux/LinuxInputManager.h5
-rwxr-xr-xincludes/linux/LinuxPrereqs.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/includes/linux/LinuxInputManager.h b/includes/linux/LinuxInputManager.h
index e6898a8..ecc391b 100755
--- a/includes/linux/LinuxInputManager.h
+++ b/includes/linux/LinuxInputManager.h
@@ -95,6 +95,11 @@ namespace OIS
//! Number of joysticks found
char mouses;
+ //! List of unused keyboards ready to be used
+ JoyStickInfoList unusedKeyboardList;
+ //! Number of joysticks found
+ char keyboards;
+
//! Used to know if we used up keyboard
bool keyboardUsed;
diff --git a/includes/linux/LinuxPrereqs.h b/includes/linux/LinuxPrereqs.h
index 53dd696..0746e65 100755
--- a/includes/linux/LinuxPrereqs.h
+++ b/includes/linux/LinuxPrereqs.h
@@ -86,6 +86,8 @@ namespace OIS
typedef std::vector< JoyStickInfo > JoyStickInfoList;
typedef JoyStickInfo MouseInfo;
typedef JoyStickInfoList MouseInfoList;
+ typedef JoyStickInfo KeyboardInfo;
+ typedef JoyStickInfoList KeyboardInfoList;
}
#endif //_LINUX_INPUTSYSTEM_PREREQS_H