annotate controler.h @ 102:31b24eaf05cc

remove .o
author Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
date Thu, 02 Jun 2011 23:11:44 +0900
parents 0b65ca27f113
children 5d231c9754d1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
b6a1385f19be *** empty log message ***
gongo
parents: 0
diff changeset
1 /*
88
ce9ef7dcf2f0 convert UTF-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 43
diff changeset
2 * チャタリング防止
ce9ef7dcf2f0 convert UTF-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 43
diff changeset
3 * value = 0: 押してない
ce9ef7dcf2f0 convert UTF-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 43
diff changeset
4 * 1: 1回押した
ce9ef7dcf2f0 convert UTF-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 43
diff changeset
5 * 2: 押し続けている
2
b6a1385f19be *** empty log message ***
gongo
parents: 0
diff changeset
6 */
96
0b65ca27f113 compile on Mac OS X 2
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 90
diff changeset
7
0b65ca27f113 compile on Mac OS X 2
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 90
diff changeset
8
0
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
9 typedef struct SGO_PAD {
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
10 short st;
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
11 short se;
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
12 short left;
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
13 short right;
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
14 short up;
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
15 short down;
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
16 short r1;
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
17 short r2;
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
18 short l1;
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
19 short l2;
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
20 short cross;
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
21 short circle;
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
22 short triangle;
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
23 short square;
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
24 } SGO_PAD;
43
a1908b83f8fa *** empty log message ***
gongo
parents: 2
diff changeset
25
96
0b65ca27f113 compile on Mac OS X 2
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 90
diff changeset
26 //extern SGO_PAD pad;
90
8edae89a3877 compile on Mac OS X
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 88
diff changeset
27
96
0b65ca27f113 compile on Mac OS X 2
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 90
diff changeset
28 bool padCheck( void );