Changeset 971 for code/branches/input/src/orxonox/core/InputHandler.cc
- 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.cc
r969 r971 32 32 */ 33 33 34 #include "OrxonoxStableHeaders.h"35 36 34 #include "core/CoreIncludes.h" 37 35 #include "core/Debug.h" 38 #include "Orxonox.h"39 36 #include "InputEventListener.h" 40 37 #include "InputHandler.h" … … 53 50 mouse_(0), keyboard_(0), inputSystem_(0) 54 51 { 55 //RegisterObject(InputHandler);56 52 } 57 53 … … 61 57 InputHandler::~InputHandler() 62 58 { 59 this->destroyDevices(); 63 60 } 64 61 … … 72 69 singletonRef_s = new InputHandler(); 73 70 return singletonRef_s; 74 //static InputHandler theOnlyInstance;75 //return &theOnlyInstance;76 71 } 77 72 … … 103 98 // Create inputsystem 104 99 inputSystem_ = OIS::InputManager::createInputSystem(paramList); 105 //if (getSoftDebugLevel() >= ORX_DEBUG)106 // orxonox::OutputHandler::getOutStream().setOutputLevel(4) << "asdfblah" << std::endl;107 100 COUT(ORX_DEBUG) << "*** InputHandler: Created OIS input system" << std::endl; 108 101 … … 130 123 131 124 COUT(ORX_DEBUG) << "*** InputHandler: Loading key bindings..." << std::endl; 132 // temporary solution: create event list133 //InputEvent[] list = this->createEventList();134 125 // load the key bindings 135 126 InputEvent empty = {0, false, 0, 0, 0};
Note: See TracChangeset
for help on using the changeset viewer.