Changeset 5910 for code/branches/core5/src/orxonox/gamestates
- Timestamp:
- Oct 8, 2009, 9:47:28 PM (15 years ago)
- Location:
- code/branches/core5/src/orxonox/gamestates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/orxonox/gamestates/GSLevel.cc
r5876 r5910 68 68 { 69 69 gameInputState_ = InputManager::getInstance().createInputState("game"); 70 gameInputState_->setMouseMode(MouseMode::Exclusive); 70 71 gameInputState_->setHandler(KeyBinderManager::getInstance().getDefaultAsHandler()); 71 72 KeyBinderManager::getInstance().setToDefault(); 72 73 73 74 guiMouseOnlyInputState_ = InputManager::getInstance().createInputState("guiMouseOnly"); 75 guiMouseOnlyInputState_->setMouseMode(MouseMode::Exclusive); 74 76 guiMouseOnlyInputState_->setMouseHandler(GUIManager::getInstancePtr()); 75 77 -
code/branches/core5/src/orxonox/gamestates/GSMainMenu.cc
r5899 r5910 50 50 { 51 51 inputState_ = InputManager::getInstance().createInputState("mainMenu"); 52 inputState_->setMouseMode(MouseMode::Nonexclusive); 52 53 inputState_->setHandler(GUIManager::getInstancePtr()); 53 54 inputState_->setKeyHandler(KeyBinderManager::getInstance().getDefaultAsHandler()); 54 55 inputState_->setJoyStickHandler(&InputHandler::EMPTY); 55 inputState_->setIsExclusiveMouse(false);56 56 57 57 // create an empty Scene
Note: See TracChangeset
for help on using the changeset viewer.