Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4368 in orxonox.OLD for orxonox/trunk/src/util/event/key_mapper.h


Ignore:
Timestamp:
May 28, 2005, 4:16:27 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: started implementation of key mapper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/util/event/key_mapper.h

    r4367 r4368  
    2020  virtual ~KeyMapper();
    2121
     22  void loadKeyBindings(const char* fileName);
     23
     24 private:
     25  int* nameToIndex (char* name);
     26
     27 public:
     28  static int PEV_UP;
     29  static int PEV_DOWN;
     30  static int PEV_LEFT;
     31  static int PEV_RIGHT;
     32 
     33  static int PEV_STRAFE_LEFT;
     34  static int PEV_STRAFE_RIGHT;
     35 
     36  static int PEV_FIRE1;
     37  static int PEV_FIRE2;
     38
     39  static int PEV_VIEW1;
     40  static int PEV_VIEW2;
     41  static int PEV_VIEW3;
     42  static int PEV_VIEW4;
     43
     44 private:
     45  KeyBindings* keyAliases;
    2246};
    2347
Note: See TracChangeset for help on using the changeset viewer.