-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmenu.h
More file actions
executable file
·40 lines (31 loc) · 927 Bytes
/
Copy pathmenu.h
File metadata and controls
executable file
·40 lines (31 loc) · 927 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/******************************************************************************
*
* File: menu.h
* Language: C
* AUTHOR: J. Baxter
* E-Mail: jbaxter@gmail.com
* https://github.com/wsheppard/ecd2012
*
*
* Description:
* Defines / Declartions for menu module.
*
*
*******************************************************************************/
#ifndef MENU_H
#define MENU_H
#define M_MENMODE_STOPPED 0
#define M_MENMODE_CONTROL 1
#define M_MENMODE_RECORD_RT 2
#define M_MENMODE_REPLAY 3
#define M_MENMODE_RECORD_WP 4
#define M_MENMODE_CONTROL_IK 5
#define MANUAL_IK_DELTA 0.1
#define M_CLEAR_LINE "\x1b[k"
#define M_CLEAR_SCREEN "\x1b[2J"
#define M_POS1_1 "\x1b[1;1H"
#define M_POS2_1 "\x1b[2;1H"
/* Function provides necessary queues and arrays to menu */
int menu_init(xQueueHandle,xQueueHandle,xQueueHandle);
int men_check_menu(unsigned state, int key);
#endif