Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 8, 2009, 9:47:28 PM (15 years ago)
Author:
rgrieder
Message:
  • Fixed force feedback output pollution problem in OIS.
  • Fixed InputManager too many times reloading problem.
Location:
code/branches/core5/src/orxonox/gamestates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/orxonox/gamestates/GSLevel.cc

    r5876 r5910  
    6868        {
    6969            gameInputState_ = InputManager::getInstance().createInputState("game");
     70            gameInputState_->setMouseMode(MouseMode::Exclusive);
    7071            gameInputState_->setHandler(KeyBinderManager::getInstance().getDefaultAsHandler());
    7172            KeyBinderManager::getInstance().setToDefault();
    7273
    7374            guiMouseOnlyInputState_ = InputManager::getInstance().createInputState("guiMouseOnly");
     75            guiMouseOnlyInputState_->setMouseMode(MouseMode::Exclusive);
    7476            guiMouseOnlyInputState_->setMouseHandler(GUIManager::getInstancePtr());
    7577
  • code/branches/core5/src/orxonox/gamestates/GSMainMenu.cc

    r5899 r5910  
    5050    {
    5151        inputState_ = InputManager::getInstance().createInputState("mainMenu");
     52        inputState_->setMouseMode(MouseMode::Nonexclusive);
    5253        inputState_->setHandler(GUIManager::getInstancePtr());
    5354        inputState_->setKeyHandler(KeyBinderManager::getInstance().getDefaultAsHandler());
    5455        inputState_->setJoyStickHandler(&InputHandler::EMPTY);
    55         inputState_->setIsExclusiveMouse(false);
    5656
    5757        // create an empty Scene
Note: See TracChangeset for help on using the changeset viewer.