view Renderer/Engine/Joystick.h @ 565:5193d51294a2 draft

linda API
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 22 Oct 2009 23:45:05 +0900 (2009-10-22)
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