Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Test/test_render/Joystick.h @ 224:ebfb9e389716
SceneGraph.cpp xmlcreate
author | tkaito@nw0534.st.ie.u-ryukyu.ac.jp |
---|---|
date | Tue, 10 Feb 2009 20:45:51 +0900 |
parents | d61fded0729e |
children | 25c820b6060e |
rev | line source |
---|---|
140 | 1 #ifndef INCLUDED_JOYSTICK |
2 #define INCLUDED_JOYSTICK | |
3 | |
221 | 4 #include "SDL.h" |
5 | |
140 | 6 #ifndef INCLUDED_PAD |
7 # include "Pad.h" | |
8 #endif | |
9 | |
10 class Joystick : public Pad { | |
11 public: | |
12 SDL_Joystick *joy; | |
13 Sint16 axis; | |
14 | |
15 Joystick(SDL_Joystick *j); | |
221 | 16 ~Joystick(void); |
140 | 17 |
18 void check(void); | |
19 }; | |
20 | |
21 #endif |