Changeset 4834 in orxonox.OLD for orxonox/trunk/src/lib/event
- Timestamp:
- Jul 11, 2005, 5:47:23 PM (20 years ago)
- Location:
- orxonox/trunk/src/lib/event
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/event/event_handler.h
r4780 r4834 12 12 #include "event_def.h" 13 13 14 // FORWARD DECLARATION 14 15 class EventListener; 15 16 template <class T> class tList; 16 17 17 18 //! The one Event Handler from Orxonox -
orxonox/trunk/src/lib/event/key_mapper.cc
r4833 r4834 57 57 //! this is the mapping array from names to ids: enter all orxonox.conf keys here 58 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 59 * and you do not have to care about The namings, as they might change 60 60 */ 61 61 orxKeyMapping map[] = { 62 {&KeyMapper::PEV_UP, "Up"},63 {&KeyMapper::PEV_DOWN, "Down"},64 {&KeyMapper::PEV_LEFT, "Left"},65 {&KeyMapper::PEV_RIGHT, "Right"},62 {&KeyMapper::PEV_UP, CONFIG_NAME_PLAYER_UP}, 63 {&KeyMapper::PEV_DOWN, CONFIG_NAME_PLAYER_DOWN}, 64 {&KeyMapper::PEV_LEFT, CONFIG_NAME_PLAYER_LEFT}, 65 {&KeyMapper::PEV_RIGHT, CONFIG_NAME_PLAYER_RIGHT}, 66 66 {&KeyMapper::PEV_STRAFE_LEFT, "StrafeLeft"}, 67 67 {&KeyMapper::PEV_STRAFE_RIGHT, "StrafeRight"}, 68 68 69 {&KeyMapper::PEV_FIRE1, "Fire"},69 {&KeyMapper::PEV_FIRE1, CONFIG_NAME_PLAYER_FIRE}, 70 70 {&KeyMapper::PEV_FIRE1, "Fire1"}, 71 71 {&KeyMapper::PEV_FIRE2, "Fire2"}, … … 74 74 75 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"},76 {&KeyMapper::PEV_VIEW0, CONFIG_NAME_VIEW0}, 77 {&KeyMapper::PEV_VIEW1, CONFIG_NAME_VIEW1}, 78 {&KeyMapper::PEV_VIEW2, CONFIG_NAME_VIEW2}, 79 {&KeyMapper::PEV_VIEW3, CONFIG_NAME_VIEW3}, 80 {&KeyMapper::PEV_VIEW4, CONFIG_NAME_VIEW4}, 81 {&KeyMapper::PEV_VIEW5, CONFIG_NAME_VIEW5}, 82 83 {&KeyMapper::PEV_NEXT_WORLD, CONFIG_NAME_NEXT_WORLD}, 84 {&KeyMapper::PEV_PREVIOUS_WORLD, CONFIG_NAME_PREV_WORLD}, 85 86 {&KeyMapper::PEV_PAUSE, CONFIG_NAME_PAUSE}, 87 {&KeyMapper::PEV_QUIT, CONFIG_NAME_QUIT}, 88 88 {NULL, NULL} 89 89 };
Note: See TracChangeset
for help on using the changeset viewer.