annotate Renderer/Engine/Joystick.h @ 987:6c3dffa8996f draft akira

merge
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 02 Oct 2010 03:19:33 +0900
parents 3bc98f6d31ff
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
283
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
1 #ifndef INCLUDED_JOYSTICK
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
2 #define INCLUDED_JOYSTICK
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
3
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
4 #include "SDL.h"
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
5
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 283
diff changeset
6 #include "Pad.h"
283
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
7
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
8 class Joystick : public Pad {
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
9 public:
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
10 SDL_Joystick *joy;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
11 Sint16 axis;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
12
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
13 Joystick(SDL_Joystick *j);
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
14 ~Joystick(void);
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
15
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
16 void check(void);
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
17 };
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
18
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
19 #endif