view TaskManager/Test/test_render/Joystick.h @ 223:ef7034891800 draft

add Vacuume
author gongo@localhost.localdomain
date Tue, 10 Feb 2009 13:11:26 +0900
parents 0b0e0f323742
children b3fb0013e6b2
line wrap: on
line source

#ifndef INCLUDED_JOYSTICK
#define INCLUDED_JOYSTICK

#include "SDL.h"

#ifndef INCLUDED_PAD
#  include "Pad.h"
#endif

class Joystick : public Pad {
public:
    SDL_Joystick *joy;
    Sint16 axis;

    Joystick(SDL_Joystick *j);
    ~Joystick(void);

    void check(void);
};

#endif