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/gui/GUIManager.cc

    r2808 r2814  
    167167
    168168                // register us as input handler
    169                 SimpleInputState* state = InputManager::getInstance().createInputState<SimpleInputState>("gui", 30);
     169                SimpleInputState* state = InputManager::getInstance().createInputState<SimpleInputState>("gui");
    170170                state->setHandler(this);
    171171                state->setJoyStickHandler(&InputManager::EMPTY_HANDLER);
Note: See TracChangeset for help on using the changeset viewer.