Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 2, 2008, 10:44:57 PM (16 years ago)
Author:
rgrieder
Message:

merged input branch back to trunk. Not yet tested on tardis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/InputBuffer.h

    r1214 r1219  
    3535#include <list>
    3636
    37 #ifdef WIN32
    38 #include <OIS/OISKeyboard.h>
    39 #else
    40 #include <OISKeyboard.h>
    41 #endif
     37#include "ois/OISKeyboard.h"
     38#include "InputHandler.h"
    4239
    4340namespace orxonox
     
    4643    {};
    4744
    48     class _CoreExport InputBuffer : public OIS::KeyListener
     45    class _CoreExport InputBuffer : public KeyHandler
    4946    {
    5047        struct InputBufferListenerTuple
     
    115112            bool keyPressed(const OIS::KeyEvent &e);
    116113            bool keyReleased(const OIS::KeyEvent &e);
     114            bool keyHeld(const OIS::KeyEvent &e) { return true; }
    117115
    118116            OIS::Keyboard* keyboard_;
Note: See TracChangeset for help on using the changeset viewer.