comparison TaskManager/Test/test_render/Joystick.h @ 140:67a5469dfef2 draft

add Controller
author gongo@charles.cr.ie.u-ryukyu.ac.jp
date Fri, 28 Nov 2008 15:24:55 +0900
parents
children 0b0e0f323742
comparison
equal deleted inserted replaced
139:bacb6dde2d17 140:67a5469dfef2
1 #ifndef INCLUDED_JOYSTICK
2 #define INCLUDED_JOYSTICK
3
4 #ifndef INCLUDED_PAD
5 # include "Pad.h"
6 #endif
7
8 class Joystick : public Pad {
9 public:
10 SDL_Joystick *joy;
11 Sint16 axis;
12
13 Joystick(SDL_Joystick *j);
14
15 void check(void);
16 void close(void);
17 };
18
19 #endif