Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

trunk: UP is FORWARD, DOWN is BACKWARD

File:
1 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},
Note: See TracChangeset for help on using the changeset viewer.