Revision 167
some changes
proj_macros.h | ||
---|---|---|
3 | 3 |
|
4 | 4 |
// WASD Movement Keys |
5 | 5 |
#define W_MAKE_CODE 0x11 /** @brief W Make Code */ |
6 |
#define W_BREAK_CODE 0x91 /** @brief W Make Code */
|
|
6 |
#define W_BREAK_CODE 0x91 /** @brief W Break Code */
|
|
7 | 7 |
#define A_MAKE_CODE 0x1E /** @brief A Make Code */ |
8 |
#define A_BREAK_CODE 0x9E /** @brief A Make Code */
|
|
8 |
#define A_BREAK_CODE 0x9E /** @brief A Break Code */
|
|
9 | 9 |
#define S_MAKE_CODE 0x1F /** @brief S Make Code */ |
10 |
#define S_BREAK_CODE 0x9F /** @brief S Make Code */
|
|
10 |
#define S_BREAK_CODE 0x9F /** @brief S Break Code */
|
|
11 | 11 |
#define D_MAKE_CODE 0x20 /** @brief D Make Code */ |
12 |
#define D_BREAK_CODE 0xA0 /** @brief D Make Code */
|
|
12 |
#define D_BREAK_CODE 0xA0 /** @brief D Break Code */
|
|
13 | 13 |
|
14 |
// Movement Directions |
|
15 |
#define UP -1 /** @brief Moving to the top side of screen */ |
|
16 |
#define DOWN 1 /** @brief Moving to the bottom side of screen */ |
|
17 |
#define LEFT -1 /** @brief Moving to the left side of screen */ |
|
18 |
#define RIGHT 1 /** @brief Moving to the right side of screen */ |
|
19 |
#define REST 0 /** @brief Not moving */ |
|
20 |
|
|
14 | 21 |
// Extra Keys |
15 | 22 |
#define ESC_MAKE_CODE 0x01 /** @brief ESC Make Code */ |
16 | 23 |
#define ESC_BREAK_CODE 0x81 /** @brief ESC Break Code */ |
Also available in: Unified diff