Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 1, 2008, 8:33:53 PM (16 years ago)
Author:
rgrieder
Message:
  • Key bindings can now be stored in keybindings.ini
  • doesn't work for move movement yet, but for the buttons.
File:
1 edited

Legend:

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

    r1208 r1213  
    398398          ogre_->getWindowWidth(), ogre_->getWindowHeight()))
    399399      abortImmediateForce();
    400     InputManager::setInputState(InputManager::IS_NORMAL);
     400    InputManager::setInputState(InputManager::IS_CUSTOM);
     401    InputManager::enableKeyHandler("keybinder");
     402    InputManager::enableMouseHandler("keybinder");
     403    InputManager::enableJoyStickHandler("keybinder", 0);
    401404  }
    402405
Note: See TracChangeset for help on using the changeset viewer.