Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

trunk: more button definitions

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

Legend:

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

    r6997 r6998  
    3737int KeyMapper::PEV_LEFT              = EV_UNKNOWN;
    3838int KeyMapper::PEV_RIGHT             = EV_UNKNOWN;
     39int KeyMapper::PEV_UP                = EV_UNKNOWN;
     40int KeyMapper::PEV_DOWN              = EV_UNKNOWN;
    3941int KeyMapper::PEV_ROLL_LEFT         = EV_UNKNOWN;
    4042int KeyMapper::PEV_ROLL_RIGHT        = EV_UNKNOWN;
     
    4648int KeyMapper::PEV_PREVIOUS_WEAPON   = EV_UNKNOWN;
    4749int KeyMapper::PEV_NEXT_WEAPON       = EV_UNKNOWN;
     50
     51int KeyMapper::PEV_CHANGE_SHIP       = EV_UNKNOWN;
    4852
    4953int KeyMapper::PEV_VIEW0             = EV_UNKNOWN;
     
    6771 */
    6872orxKeyMapping map[] = {
    69   {&KeyMapper::PEV_FORWARD,                   CONFIG_NAME_PLAYER_FORWARD},
    70   {&KeyMapper::PEV_BACKWARD,                 CONFIG_NAME_PLAYER_BACKWARD},
     73  {&KeyMapper::PEV_FORWARD,              CONFIG_NAME_PLAYER_FORWARD},
     74  {&KeyMapper::PEV_BACKWARD,             CONFIG_NAME_PLAYER_BACKWARD},
     75  {&KeyMapper::PEV_UP,                   CONFIG_NAME_PLAYER_UP},
     76  {&KeyMapper::PEV_DOWN,                 CONFIG_NAME_PLAYER_DOWN},
    7177  {&KeyMapper::PEV_LEFT,                 CONFIG_NAME_PLAYER_LEFT},
    7278  {&KeyMapper::PEV_RIGHT,                CONFIG_NAME_PLAYER_RIGHT},
     
    8187  {&KeyMapper::PEV_NEXT_WEAPON,          CONFIG_NAME_PLAYER_NEXT_WEAPON},
    8288  {&KeyMapper::PEV_PREVIOUS_WEAPON,      CONFIG_NAME_PLAYER_PREV_WEAPON},
     89
     90  {&KeyMapper::PEV_CHANGE_SHIP,          CONFIG_NAME_PLAYER_CHANGE_SHIP},
    8391
    8492
  • trunk/src/lib/event/key_mapper.h

    r6997 r6998  
    4343  static int PEV_LEFT;              //!< left button
    4444  static int PEV_RIGHT;             //!< right button
     45  static int PEV_UP;                //!< up button
     46  static int PEV_DOWN;              //!< down button
    4547
    4648  static int PEV_ROLL_LEFT;         //!< rolls left
     
    5456  static int PEV_PREVIOUS_WEAPON;   //!< prev weapon button
    5557  static int PEV_NEXT_WEAPON;       //!< next weapon button
     58
     59  static int PEV_CHANGE_SHIP;       //!< The button to change the Ship.
    5660
    5761  static int PEV_VIEW0;             //!< view 0 button
Note: See TracChangeset for help on using the changeset viewer.