Mercurial > hg > Game > Cerium
annotate Renderer/Engine/Joystick.h @ 987:6c3dffa8996f draft akira
merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 02 Oct 2010 03:19:33 +0900 |
parents | 3bc98f6d31ff |
children |
rev | line source |
---|---|
283 | 1 #ifndef INCLUDED_JOYSTICK |
2 #define INCLUDED_JOYSTICK | |
3 | |
4 #include "SDL.h" | |
5 | |
539 | 6 #include "Pad.h" |
283 | 7 |
8 class Joystick : public Pad { | |
9 public: | |
10 SDL_Joystick *joy; | |
11 Sint16 axis; | |
12 | |
13 Joystick(SDL_Joystick *j); | |
14 ~Joystick(void); | |
15 | |
16 void check(void); | |
17 }; | |
18 | |
19 #endif |