X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Finput%2Fgeneric%2Fgamecontroller.cpp;h=419c6781dd732e490fd48ea1f94073d94f214386;hb=a8a9191481151f049781b670ea8883025a594a5f;hp=b320342c732cc1adc5b071781bdcebf659eb5ca0;hpb=c3b9df7cf0a4ea3b97cacc1802d245fee133ed7a;p=libs%2Fgui.git diff --git a/source/input/generic/gamecontroller.cpp b/source/input/generic/gamecontroller.cpp index b320342..419c678 100644 --- a/source/input/generic/gamecontroller.cpp +++ b/source/input/generic/gamecontroller.cpp @@ -8,16 +8,24 @@ namespace Input { GameController::GameController(unsigned) { - throw runtime_error("not supported"); + throw device_not_available("GameController"); } GameController::~GameController() { } +void GameController::use_event_dispatcher(IO::EventDispatcher *) +{ +} + void GameController::tick() { } +void GameController::tick(const Time::TimeDelta &) +{ +} + } // namespace Input } // namespace Msp