Changeset 928 for code/branches/network/src/orxonox/InputHandler.cc
- Timestamp:
- Mar 26, 2008, 8:18:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/InputHandler.cc
r922 r928 80 80 windowHndStr << (unsigned int)windowHnd; 81 81 paramList.insert(std::make_pair(std::string("WINDOW"), windowHndStr.str())); 82 83 #if defined OIS_LINUX_PLATFORM 84 paramList.insert(std::make_pair(std::string("XAutoRepeatOn"), std::string("true"))); 85 #endif 82 86 83 87 // Create inputsystem … … 109 113 //assign 'abort' to the escape key 110 114 this->bindingsKeyPressed_[(int)OIS::KC_ESCAPE].id = 1; 115 } 116 117 /** 118 @brief Destroys all the created input devices. 119 */ 120 void InputHandler::destroy() 121 { 122 this->inputSystem_->destroyInputObject(this->mouse_); 123 this->inputSystem_->destroyInputObject(this->keyboard_); 124 OIS::InputManager::destroyInputSystem(this->inputSystem_); 125 126 //TODO: If the InputHandler has been destroyed, how does it know? 111 127 } 112 128
Note: See TracChangeset
for help on using the changeset viewer.