]> git.tdb.fi Git - libs/gui.git/blob - source/input/gamecontroller.h
Add a game controller input device
[libs/gui.git] / source / input / gamecontroller.h
1 #ifndef GAMECONTROLLER_H_
2 #define GAMECONTROLLER_H_
3
4 #include "device.h"
5
6 namespace Msp {
7 namespace Input {
8
9 class GameController: public Device
10 {
11 private:
12         struct Private;
13
14         Private *priv;
15
16 public:
17         GameController(unsigned);
18         virtual ~GameController();
19
20         void tick();
21 };
22
23 } // namespace Input
24 } // namespace Msp
25
26 #endif