Mercurial > hg > Members > kono > Cerium
diff Renderer/Engine/Joystick.h @ 507:735f76483bb2
Reorganization..
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 12 Oct 2009 09:39:35 +0900 |
parents | Renderer/test_render/Joystick.h@55ea4465b1a2 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Renderer/Engine/Joystick.h Mon Oct 12 09:39:35 2009 +0900 @@ -0,0 +1,19 @@ +#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