view Renderer/test_render/Joystick.h @ 312:57530cb7f7d1

memMain tester
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 08 Jun 2009 23:19:11 +0900
parents 55ea4465b1a2
children
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