view Renderer/Engine/Joystick.h @ 987:6c3dffa8996f draft akira

merge
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 02 Oct 2010 03:19:33 +0900
parents 3bc98f6d31ff
children
line wrap: on
line source

#ifndef INCLUDED_JOYSTICK
#define INCLUDED_JOYSTICK

#include "SDL.h"

#include "Pad.h"

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

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

    void check(void);
};

#endif