Changeset 1322 for code/branches/console/src/core/InputManager.cc
- Timestamp:
- May 19, 2008, 2:33:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/core/InputManager.cc
r1089 r1322 105 105 // create a keyboard. If none are available the exception is caught. 106 106 keyboard_ = static_cast<OIS::Keyboard*>(inputSystem_->createInputObject(OIS::OISKeyboard, true)); 107 COUT(ORX_DEBUG) << "*** InputManager: Created OIS mouse" << std::endl; 107 COUT(ORX_DEBUG) << "*** InputManager: Created OIS keyboard" << std::endl; 108 109 if (this->handlerBuffer_) 110 this->handlerBuffer_->setKeyboard(this->keyboard_); 108 111 109 112 // create a mouse. If none are available the exception is caught. 110 113 mouse_ = static_cast<OIS::Mouse*>(inputSystem_->createInputObject(OIS::OISMouse, true)); 111 COUT(ORX_DEBUG) << "*** InputManager: Created OIS keyboard" << std::endl;114 COUT(ORX_DEBUG) << "*** InputManager: Created OIS mouse" << std::endl; 112 115 113 116 // Set mouse region
Note: See TracChangeset
for help on using the changeset viewer.