283
|
1 #ifndef INCLUDED_PAD
|
|
2 #define INCLUDED_PAD
|
|
3
|
539
|
4 #include "Button.h"
|
283
|
5
|
|
6 class Pad {
|
|
7 public:
|
|
8 Button count;
|
|
9 Button cross;
|
|
10 Button circle;
|
|
11 Button square;
|
|
12 Button triangle;
|
|
13 Button l1;
|
|
14 Button r1;
|
|
15 Button l2;
|
|
16 Button r2;
|
|
17 Button start;
|
|
18 Button select;
|
|
19 Button l3;
|
|
20 Button r3;
|
|
21 Button up;
|
|
22 Button down;
|
|
23 Button right;
|
|
24 Button left;
|
|
25 Button escape;
|
|
26 Button space;
|
|
27
|
|
28 virtual ~Pad(void) {}
|
|
29 virtual void check(void) = 0;
|
|
30 };
|
|
31
|
|
32 #endif
|
|
33
|
|
34 extern Pad *create_controller(void);
|