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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
140
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
1 #ifndef INCLUDED_JOYSTICK
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
2 #define INCLUDED_JOYSTICK
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
3
221
d61fded0729e Cameraの設定、Makefile 修正
gongo@gendarme.local
parents: 140
diff changeset
4 #include "SDL.h"
d61fded0729e Cameraの設定、Makefile 修正
gongo@gendarme.local
parents: 140
diff changeset
5
140
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
6 #ifndef INCLUDED_PAD
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
7 # include "Pad.h"
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
8 #endif
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
9
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
10 class Joystick : public Pad {
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
11 public:
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
12 SDL_Joystick *joy;
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
13 Sint16 axis;
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
14
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
15 Joystick(SDL_Joystick *j);
221
d61fded0729e Cameraの設定、Makefile 修正
gongo@gendarme.local
parents: 140
diff changeset
16 ~Joystick(void);
140
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
17
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
18 void check(void);
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
19 };
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
20
861271089c43 add Controller
gongo@charles.cr.ie.u-ryukyu.ac.jp
parents:
diff changeset
21 #endif