view TaskManager/Test/test_render/Joystick.h @ 264:a59868d37093

merge 151 263
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 03 Jun 2009 23:57:38 +0900
parents 861271089c43
children d61fded0729e
line wrap: on
line source

#ifndef INCLUDED_JOYSTICK
#define INCLUDED_JOYSTICK

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

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

    Joystick(SDL_Joystick *j);

    void check(void);
    void close(void);
};

#endif