Changeset 971 for code/branches/input/src/orxonox/core/InputHandler.h
- Timestamp:
- Apr 2, 2008, 9:44:33 PM (16 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/input/src/orxonox/core/InputHandler.h
r969 r971 37 37 #include <OIS/OIS.h> 38 38 39 #include " OrxonoxPrereqs.h"39 #include "CorePrereqs.h" 40 40 #include "core/Tickable.h" 41 41 #include "InputEvent.h" … … 44 44 { 45 45 /** 46 @brief Designates the way input is handled currently. 47 IM_GUI: All the OIS input events are passed to CEGUI 48 IM_KEYBOARD: Only keyboard input is captured and passed to the InputBuffer 49 IM_INGAME: Normal game mode. Key bindings and mouse are active. 50 */ 51 enum InputMode 52 { 53 IM_GUI = 0; 54 IM_KEYBOARD = 1; 55 IM_INGAME = 2; 56 }; 57 58 /** 46 59 @brief Captures and distributes mouse and keyboard input. 47 60 It resolves the key bindings to InputEvents which can be heard by 48 61 implementing the InputEventListener interface. 49 62 */ 50 class _ OrxonoxExport InputHandler63 class _CoreExport InputHandler 51 64 : public Tickable, public OIS::KeyListener, public OIS::MouseListener 52 65 { 53 //friend class ClassIdentifier<InputHandler>;54 66 public: 55 67 bool initialise(size_t windowHnd, int windowWidth, int windowHeight);
Note: See TracChangeset
for help on using the changeset viewer.