X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Finput%2Fgamecontroller.h;h=5aaa6317322e0da37325359677d42147e331f4f8;hb=97ea3f88027c577811bcd9717ad506f254d393f5;hp=9ebacee7becbc495c28b27b30e8118804657e698;hpb=e15959a69551c2027029470e65a17ea5a305545b;p=libs%2Fgui.git diff --git a/source/input/gamecontroller.h b/source/input/gamecontroller.h index 9ebacee..5aaa631 100644 --- a/source/input/gamecontroller.h +++ b/source/input/gamecontroller.h @@ -1,6 +1,8 @@ #ifndef GAMECONTROLLER_H_ #define GAMECONTROLLER_H_ +#include +#include #include "device.h" namespace Msp { @@ -12,12 +14,16 @@ private: struct Private; Private *priv; + IO::EventDispatcher *event_disp; public: GameController(unsigned); virtual ~GameController(); + void use_event_dispatcher(IO::EventDispatcher *); + void tick(); + void tick(const Time::TimeDelta &); }; } // namespace Input