25 #ifndef __I6ENGINE_MODULES_INPUTMANAGER_H__
26 #define __I6ENGINE_MODULES_INPUTMANAGER_H__
32 #include "OGRE/OgreMath.h"
33 #include "OGRE/OgreWindowEventUtilities.h"
48 class InputController;
50 class KeyboardListener;
58 Ogre::Radian _objRotX, _objRotY;
59 OIS::InputManager * _objOisInputManager;
60 OIS::Keyboard * _objOisKeyboard;
61 OIS::Mouse * _objOisMouse;
62 Ogre::RenderWindow * _objRenderWindow;
87 inline OIS::Keyboard * getKeyboard()
const {
return _objOisKeyboard; }
93 inline OIS::Mouse * getMouse()
const {
return _objOisMouse; }
98 void captureDevices();
103 void registerKeyboardListener();
108 void registerMouseListener();
113 void removeKeyboardListener();
118 void removeMouseListener();
123 void initializeInput(Ogre::RenderWindow * root);
143 InputManager(
const InputManager &) =
delete;
148 InputManager & operator=(
const InputManager &) =
delete;
boost::shared_ptr< Message > Ptr
Monitors keypresses and sends the corresponding messages to the "Input" message channel.
#define ASSERT_THREAD_SAFETY_HEADER
Monitors buttonpresses and sends the corresponding messages to the "Mouse" message channel...