Changeset 6998 in orxonox.OLD for trunk/src/lib/event
- Timestamp:
- Feb 3, 2006, 12:29:57 AM (19 years ago)
- Location:
- trunk/src/lib/event
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/event/key_mapper.cc
r6997 r6998 37 37 int KeyMapper::PEV_LEFT = EV_UNKNOWN; 38 38 int KeyMapper::PEV_RIGHT = EV_UNKNOWN; 39 int KeyMapper::PEV_UP = EV_UNKNOWN; 40 int KeyMapper::PEV_DOWN = EV_UNKNOWN; 39 41 int KeyMapper::PEV_ROLL_LEFT = EV_UNKNOWN; 40 42 int KeyMapper::PEV_ROLL_RIGHT = EV_UNKNOWN; … … 46 48 int KeyMapper::PEV_PREVIOUS_WEAPON = EV_UNKNOWN; 47 49 int KeyMapper::PEV_NEXT_WEAPON = EV_UNKNOWN; 50 51 int KeyMapper::PEV_CHANGE_SHIP = EV_UNKNOWN; 48 52 49 53 int KeyMapper::PEV_VIEW0 = EV_UNKNOWN; … … 67 71 */ 68 72 orxKeyMapping 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}, 71 77 {&KeyMapper::PEV_LEFT, CONFIG_NAME_PLAYER_LEFT}, 72 78 {&KeyMapper::PEV_RIGHT, CONFIG_NAME_PLAYER_RIGHT}, … … 81 87 {&KeyMapper::PEV_NEXT_WEAPON, CONFIG_NAME_PLAYER_NEXT_WEAPON}, 82 88 {&KeyMapper::PEV_PREVIOUS_WEAPON, CONFIG_NAME_PLAYER_PREV_WEAPON}, 89 90 {&KeyMapper::PEV_CHANGE_SHIP, CONFIG_NAME_PLAYER_CHANGE_SHIP}, 83 91 84 92 -
trunk/src/lib/event/key_mapper.h
r6997 r6998 43 43 static int PEV_LEFT; //!< left button 44 44 static int PEV_RIGHT; //!< right button 45 static int PEV_UP; //!< up button 46 static int PEV_DOWN; //!< down button 45 47 46 48 static int PEV_ROLL_LEFT; //!< rolls left … … 54 56 static int PEV_PREVIOUS_WEAPON; //!< prev weapon button 55 57 static int PEV_NEXT_WEAPON; //!< next weapon button 58 59 static int PEV_CHANGE_SHIP; //!< The button to change the Ship. 56 60 57 61 static int PEV_VIEW0; //!< view 0 button
Note: See TracChangeset
for help on using the changeset viewer.