Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 2, 2008, 9:31:20 PM (17 years ago)
Author:
rgrieder
Message:
  • SpaceShip is now a default listener for mouse input. still a hack..
  • several changes in InputManager.cc regarding joy sticks
  • Key bindings work, but not very advanced
Location:
code/branches/input/src/orxonox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/input/src/orxonox/Orxonox.cc

    r1213 r1215  
    398398          ogre_->getWindowWidth(), ogre_->getWindowHeight()))
    399399      abortImmediateForce();
    400     InputManager::setInputState(InputManager::IS_CUSTOM);
    401     InputManager::enableKeyHandler("keybinder");
    402     InputManager::enableMouseHandler("keybinder");
    403     InputManager::enableJoyStickHandler("keybinder", 0);
     400    InputManager::setInputState(InputManager::IS_NORMAL);
    404401  }
    405402
  • code/branches/input/src/orxonox/objects/SpaceShip.cc

    r1213 r1215  
    431431        {
    432432          InputManager::addMouseHandler(this, "SpaceShip");
    433           InputManager::enableMouseHandler("SpaceShip");
    434433          setMouseEventCallback_ = true;
    435434        }
Note: See TracChangeset for help on using the changeset viewer.