Changeset 4833 in orxonox.OLD for orxonox/trunk/src/lib/event
- Timestamp:
- Jul 11, 2005, 5:46:05 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/event/key_mapper.cc
r4759 r4833 56 56 57 57 //! this is the mapping array from names to ids: enter all orxonox.conf keys here 58 orxKeyMapping map[] = { {&KeyMapper::PEV_UP, "Up"}, 59 {&KeyMapper::PEV_DOWN, "Down"}, 60 {&KeyMapper::PEV_LEFT, "Left"}, 61 {&KeyMapper::PEV_RIGHT, "Right"}, 62 {&KeyMapper::PEV_STRAFE_LEFT, "StrafeLeft"}, 63 {&KeyMapper::PEV_STRAFE_RIGHT, "StrafeRight"}, 64 65 {&KeyMapper::PEV_FIRE1, "Fire"}, 66 {&KeyMapper::PEV_FIRE1, "Fire1"}, 67 {&KeyMapper::PEV_FIRE2, "Fire2"}, 68 {&KeyMapper::PEV_NEXT_WEAPON, "Next"}, 69 {&KeyMapper::PEV_PREVIOUS_WEAPON, "Prev"}, 70 71 72 {&KeyMapper::PEV_VIEW0, "view0"}, 73 {&KeyMapper::PEV_VIEW1, "view1"}, 74 {&KeyMapper::PEV_VIEW2, "view2"}, 75 {&KeyMapper::PEV_VIEW3, "view3"}, 76 {&KeyMapper::PEV_VIEW4, "view4"}, 77 {&KeyMapper::PEV_VIEW5, "view5"}, 78 79 {&KeyMapper::PEV_NEXT_WORLD, "Next-World"}, 80 {&KeyMapper::PEV_PREVIOUS_WORLD, "Prev-World"}, 81 82 {&KeyMapper::PEV_PAUSE, "Pause"}, 83 {&KeyMapper::PEV_QUIT, "Quit"}, 84 {NULL, NULL}}; 58 /** @todo use globals.h for this.... everything is done there for those Options, 59 * and you do not have to care about The namings 60 */ 61 orxKeyMapping map[] = { 62 {&KeyMapper::PEV_UP, "Up"}, 63 {&KeyMapper::PEV_DOWN, "Down"}, 64 {&KeyMapper::PEV_LEFT, "Left"}, 65 {&KeyMapper::PEV_RIGHT, "Right"}, 66 {&KeyMapper::PEV_STRAFE_LEFT, "StrafeLeft"}, 67 {&KeyMapper::PEV_STRAFE_RIGHT, "StrafeRight"}, 68 69 {&KeyMapper::PEV_FIRE1, "Fire"}, 70 {&KeyMapper::PEV_FIRE1, "Fire1"}, 71 {&KeyMapper::PEV_FIRE2, "Fire2"}, 72 {&KeyMapper::PEV_NEXT_WEAPON, "Next"}, 73 {&KeyMapper::PEV_PREVIOUS_WEAPON, "Prev"}, 74 75 76 {&KeyMapper::PEV_VIEW0, "view0"}, 77 {&KeyMapper::PEV_VIEW1, "view1"}, 78 {&KeyMapper::PEV_VIEW2, "view2"}, 79 {&KeyMapper::PEV_VIEW3, "view3"}, 80 {&KeyMapper::PEV_VIEW4, "view4"}, 81 {&KeyMapper::PEV_VIEW5, "view5"}, 82 83 {&KeyMapper::PEV_NEXT_WORLD, "Next-World"}, 84 {&KeyMapper::PEV_PREVIOUS_WORLD, "Prev-World"}, 85 86 {&KeyMapper::PEV_PAUSE, "Pause"}, 87 {&KeyMapper::PEV_QUIT, "Quit"}, 88 {NULL, NULL} 89 }; 85 90 86 91
Note: See TracChangeset
for help on using the changeset viewer.