Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 21, 2009, 5:30:16 PM (15 years ago)
Author:
rgrieder
Message:

InputManager upgrade number one: InputState priorities are managed automatically. However you can still use the enum in InputManager.h and get yourself a high priority.
High priorities are only to be used for special cases like calibrator, console or detector.
All other states are simply pushed onto the normal stack.

File:
1 edited

Legend:

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

    r2801 r2814  
    8282        if (Core::showsGraphics())
    8383        {
    84             inputState_ = InputManager::getInstance().createInputState<SimpleInputState>("game", 20);
     84            inputState_ = InputManager::getInstance().createInputState<SimpleInputState>("game");
    8585            keyBinder_ = new KeyBinder();
    8686            keyBinder_->loadBindings("keybindings.ini");
Note: See TracChangeset for help on using the changeset viewer.