Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4388 in orxonox.OLD for orxonox


Ignore:
Timestamp:
May 29, 2005, 11:52:15 PM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: running first pre-tests with key-mapping

Location:
orxonox/trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/orxonox.cc

    r4286 r4388  
    3939#include "factory.h"
    4040#include "benchmark.h"
     41#include "event_handler.h"
    4142
    4243#include <string.h>
     
    164165  // create localinput
    165166  localinput = new CommandNode(configfilename);
     167
     168  EventHandler::getInstance()->test();
    166169 
    167170  return 0;
  • orxonox/trunk/src/util/event/event_handler.cc

    r4386 r4388  
    1212   main-programmer: Patrick Boenzli
    1313   co-programmer:
    14 
    15    This code is inspired by Christian Meyers CommandNode code (in Orxonox v0.2.3)
    1614*/
    1715
     
    1917
    2018#include "event_handler.h"
     19
    2120#include "event_listener.h"
    2221#include "event.h"
     22#include "key_mapper.h"
    2323
    2424#include "compiler.h"
     
    192192    }
    193193}
     194
     195
     196void EventHandler::test()
     197{
     198  PRINT(0)("\n==========================| EventHandler::test () |===\n"); 
     199  PRINT(0)("Eventhandler init successfuly\n");
     200  KeyMapper km();
     201  PRINT(0)("KeyMapper loaded\n");
     202
     203  PRINT(0)("=======================================================\n");     
     204}
  • orxonox/trunk/src/util/event/event_handler.h

    r4386 r4388  
    1212
    1313class EventListener;
    14 
    15 
    16 
    17 
    18 
    1914
    2015
     
    3530  void process();
    3631
     32  void test();
     33
    3734 private:
    3835  EventHandler(void);
  • orxonox/trunk/src/util/event/key_mapper.cc

    r4386 r4388  
    1111   ### File Specific:
    1212   main-programmer: Patrick Boenzli
    13    co-programmer: ...
     13   co-programmer: Christian Meyer
     14   
     15   This code was inspired by the command_node.cc code from Christian Meyer in revision
     16   4386 and earlier.
    1417*/
    1518
Note: See TracChangeset for help on using the changeset viewer.