view Renderer/Engine/Joystick.h @ 2069:26aa08c9a1de draft default tip

cuda example fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 12 Feb 2017 10:04:55 +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