Changeset 4759 in orxonox.OLD for orxonox/trunk/src/lib
- Timestamp:
- Jul 1, 2005, 11:51:28 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/event/key_mapper.cc
r4582 r4759 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"},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 84 {NULL, NULL}}; 85 85
Note: See TracChangeset
for help on using the changeset viewer.