00001 #ifndef INCLUDED_JOYSTICK 00002 #define INCLUDED_JOYSTICK 00003 00004 #include "SDL.h" 00005 00006 #ifndef INCLUDED_PAD 00007 # include "Pad.h" 00008 #endif 00009 00010 class Joystick : public Pad { 00011 public: 00012 SDL_Joystick *joy; 00013 Sint16 axis; 00014 00015 Joystick(SDL_Joystick *j); 00016 ~Joystick(void); 00017 00018 void check(void); 00019 }; 00020 00021 #endif