Operating System
stone.h
Go to the documentation of this file.
1 #ifndef __STONE_H_
2 #define __STONE_H_
3 #if defined(UL)
4  #define _X 5
5  #define _Y 5
6  #define LEFT_B 1
7  #define RIGHT_B 40
8  #define UP_B 1
9  #define DOWN_B 12
10 #elif defined(UR)
11  #define _X 70
12  #define _Y 5
13  #define LEFT_B 40
14  #define RIGHT_B 79
15  #define UP_B 1
16  #define DOWN_B 12
17 #elif defined(DL)
18  #define _X 5
19  #define _Y 20
20  #define LEFT_B 1
21  #define RIGHT_B 40
22  #define UP_B 13
23  #define DOWN_B 24
24 #elif defined(DR)
25  #define _X 70
26  #define _Y 20
27  #define LEFT_B 40
28  #define RIGHT_B 79
29  #define UP_B 13
30  #define DOWN_B 24
31 #endif
32 
33 #endif