Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6997 in orxonox.OLD for trunk/src/lib/event


Ignore:
Timestamp:
Feb 3, 2006, 12:04:51 AM (19 years ago)
Author:
bensch
Message:

trunk: UP is FORWARD, DOWN is BACKWARD

Location:
trunk/src/lib/event
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/event/key_mapper.cc

    r5978 r6997  
    3333
    3434/* initialize all variables to a reasonable value*/
    35 int KeyMapper::PEV_UP                = EV_UNKNOWN;
    36 int KeyMapper::PEV_DOWN              = EV_UNKNOWN;
     35int KeyMapper::PEV_FORWARD           = EV_UNKNOWN;
     36int KeyMapper::PEV_BACKWARD          = EV_UNKNOWN;
    3737int KeyMapper::PEV_LEFT              = EV_UNKNOWN;
    3838int KeyMapper::PEV_RIGHT             = EV_UNKNOWN;
     
    6767 */
    6868orxKeyMapping map[] = {
    69   {&KeyMapper::PEV_UP,                   CONFIG_NAME_PLAYER_UP},
    70   {&KeyMapper::PEV_DOWN,                 CONFIG_NAME_PLAYER_DOWN},
     69  {&KeyMapper::PEV_FORWARD,                   CONFIG_NAME_PLAYER_FORWARD},
     70  {&KeyMapper::PEV_BACKWARD,                 CONFIG_NAME_PLAYER_BACKWARD},
    7171  {&KeyMapper::PEV_LEFT,                 CONFIG_NAME_PLAYER_LEFT},
    7272  {&KeyMapper::PEV_RIGHT,                CONFIG_NAME_PLAYER_RIGHT},
  • trunk/src/lib/event/key_mapper.h

    r5978 r6997  
    3939
    4040 public:
    41   static int PEV_UP;                //!< up button
    42   static int PEV_DOWN;              //!< down buttton
     41  static int PEV_FORWARD;           //!< forward button
     42  static int PEV_BACKWARD;          //!< backward buttton
    4343  static int PEV_LEFT;              //!< left button
    4444  static int PEV_RIGHT;             //!< right button
Note: See TracChangeset for help on using the changeset viewer.