comparison include/Cerium/Button.h @ 0:04e28d8d3c6f

first commit
author Daiki KINJYO <e085722@ie.u-ryukyu.ac.jp>
date Mon, 08 Nov 2010 01:23:25 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:04e28d8d3c6f
1 #ifndef INCLUDED_BUTTON
2 #define INCLUDED_BUTTON
3
4 class Button {
5 public:
6 int push;
7 int hold;
8 int release;
9
10 Button(void) : push(0), hold(0), release(0) {}
11
12 void push_work(void);
13 void release_work(void);
14 int isPush(void);
15 int isHold(void);
16 int isRelease(void);
17 };
18
19 #endif