Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 2, 2008, 9:44:33 PM (16 years ago)
Author:
rgrieder
Message:
  • added some empty class files
  • moved input stuff to core
File:
1 moved

Legend:

Unmodified
Added
Removed
  • code/branches/input/src/orxonox/core/InputHandler.cc

    r969 r971  
    3232 */
    3333
    34 #include "OrxonoxStableHeaders.h"
    35 
    3634#include "core/CoreIncludes.h"
    3735#include "core/Debug.h"
    38 #include "Orxonox.h"
    3936#include "InputEventListener.h"
    4037#include "InputHandler.h"
     
    5350      mouse_(0), keyboard_(0), inputSystem_(0)
    5451  {
    55     //RegisterObject(InputHandler);
    5652  }
    5753
     
    6157  InputHandler::~InputHandler()
    6258  {
     59    this->destroyDevices();
    6360  }
    6461
     
    7269      singletonRef_s = new InputHandler();
    7370    return singletonRef_s;
    74     //static InputHandler theOnlyInstance;
    75     //return &theOnlyInstance;
    7671  }
    7772
     
    10398        // Create inputsystem
    10499        inputSystem_ = OIS::InputManager::createInputSystem(paramList);
    105         //if (getSoftDebugLevel() >= ORX_DEBUG)
    106         //  orxonox::OutputHandler::getOutStream().setOutputLevel(4) << "asdfblah" << std::endl;
    107100        COUT(ORX_DEBUG) << "*** InputHandler: Created OIS input system" << std::endl;
    108101
     
    130123
    131124    COUT(ORX_DEBUG) << "*** InputHandler: Loading key bindings..." << std::endl;
    132     // temporary solution: create event list
    133     //InputEvent[] list = this->createEventList();
    134125    // load the key bindings
    135126    InputEvent empty = {0, false, 0, 0, 0};
Note: See TracChangeset for help on using the changeset viewer.