]> git.tdb.fi Git - libs/gui.git/blob - source/input/generic/gamecontroller.cpp
Update .gitignore to include build products on Windows
[libs/gui.git] / source / input / generic / gamecontroller.cpp
1 #include "gamecontroller.h"
2 #include <stdexcept>
3
4 using namespace std;
5
6 namespace Msp {
7 namespace Input {
8
9 GameController::GameController(unsigned):
10         Device(GAME_CONTROLLER)
11 {
12         throw device_not_available("GameController");
13 }
14
15 GameController::~GameController()
16 {
17 }
18
19 unsigned GameController::detect()
20 {
21         detect_done = true;
22         return 0;
23 }
24
25 void GameController::use_event_dispatcher(IO::EventDispatcher *)
26 {
27 }
28
29 void GameController::tick()
30 {
31 }
32
33 void GameController::tick(const Time::TimeDelta &)
34 {
35 }
36
37 } // namespace Input
38 } // namespace Msp