view Renderer/Engine/Joystick.h @ 738:819966538b8a draft

light
author yutaka@localhost.localdomain
date Thu, 31 Dec 2009 04:07:18 +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