Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 12, 2009, 11:08:50 PM (15 years ago)
Author:
rgrieder
Message:

Heavy clean up in the InputManager; not many real code changes though.
And temporary hack-fixed a problem in the Keybinder with std::vector.reserve(1000) ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core4/src/core/input/InputState.h

    r3274 r3279  
    3636#include <vector>
    3737
     38#include "util/OrxEnum.h"
    3839#include "InputHandler.h"
    3940#include "JoyStickQuantityListener.h"
     
    4142namespace orxonox
    4243{
     44    struct InputStatePriority : OrxEnum<InputStatePriority>
     45    {
     46        OrxEnumConstructors(InputStatePriority);
     47
     48        static const int Empty        = -1;
     49        static const int Dynamic      = 0;
     50
     51        static const int HighPriority = 1000;
     52        static const int Console      = HighPriority + 0;
     53        static const int Calibrator   = HighPriority + 1;
     54        static const int Detector     = HighPriority + 2;
     55    };
     56
    4357    class _CoreExport InputState : public JoyStickQuantityListener
    4458    {
Note: See TracChangeset for help on using the changeset viewer.