Rev 135 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 135 | Rev 149 | ||
---|---|---|---|
Line 15... | Line 15... | ||
15 | public final static int STATEID_SETTINGSMENU =10; |
15 | public final static int STATEID_SETTINGSMENU =10; |
16 | public final static int STATEID_STICKVIEW =11; |
16 | public final static int STATEID_STICKVIEW =11; |
17 | public final static int STATEID_CAMMODE =12; |
17 | public final static int STATEID_CAMMODE =12; |
18 | public final static int STATEID_READ_PARAMS =13; |
18 | public final static int STATEID_READ_PARAMS =13; |
19 | public final static int STATEID_GPSVIEW =14; |
19 | public final static int STATEID_GPSVIEW =14; |
20 | - | ||
- | 20 | public final static int STATEID_FILEOPEN =15; |
|
- | 21 | public final static int STATEID_GRAPH =16; |
|
- | 22 | public final static int STATEID_CONN_DETAILS =17; |
|
- | 23 | public final static int STATEID_IPINPUT =18; |
|
- | 24 | public final static int STATEID_PROXY =19; |
|
Line 21... | Line 25... | ||
21 | 25 | ||
22 | 26 | ||
23 | public boolean fullscreen=false; |
27 | public boolean fullscreen=false; |
24 | public int act_motor=0; |
28 | public int act_motor=0; |
Line 25... | Line -... | ||
25 | public int act_motor_increase=0; |
- | |
26 | public boolean motor_test_sel_all=false; |
- | |
Line 27... | Line 29... | ||
27 | 29 | public int act_motor_increase=0; |
|
28 | 30 | public boolean motor_test_sel_all=false; |
|
- | 31 | ||
29 | public String[] main_menu_items_no_connection= { "Tool Settings","Change Device" , "Quit " }; |
32 | |
- | 33 | ||
- | 34 | public final static int ACTIONID_SETTINGS = 0; |
|
Line -... | Line 35... | ||
- | 35 | public final static int ACTIONID_DEVICESELECT = 1; |
|
- | 36 | public final static int ACTIONID_DEBUG = 2; |
|
- | 37 | public final static int ACTIONID_CONN_DETAILS = 3; |
|
- | 38 | public final static int ACTIONID_SWITCH_NC = 4; |
|
- | 39 | public final static int ACTIONID_SWITCH_FC = 5; |
|
- | 40 | ||
- | 41 | public final static int ACTIONID_GRAPH = 6; |
|
- | 42 | public final static int ACTIONID_LCD = 7; |
|
- | 43 | public final static int ACTIONID_RAWDEBUG = 8; |
|
- | 44 | public final static int ACTIONID_RCDATA = 9; |
|
- | 45 | public final static int ACTIONID_KEYCONTROL = 10; |
|
- | 46 | public final static int ACTIONID_MOTORTEST = 11; |
|
Line 30... | Line -... | ||
30 | - | ||
Line -... | Line 47... | ||
- | 47 | public final static int ACTIONID_EDIT_PARAMS = 12; |
|
- | 48 | public final static int ACTIONID_CAM = 13; |
|
Line 31... | Line -... | ||
31 | - | ||
32 | public final static int MAINMENU_NO_CONN_SETTINGS =0; |
- | |
33 | public final static int MAINMENU_NO_CONN_DEVICESELECT =1+MAINMENU_NO_CONN_SETTINGS ; |
- | |
34 | public final static int MAINMENU_NO_CONN_QUIT =1+MAINMENU_NO_CONN_DEVICESELECT; |
- | |
35 | - | ||
36 | - | ||
37 | public String[] main_menu_items_mk={"Telemetry","Raw Debug", "view RC-data", "MK-KeyControl", "Motor Test" , "Flight Settings","Tool Settings","Remote Cam","Proxy","Change Device" , "Quit " }; |
- | |
38 | - | ||
39 | - | ||
40 | public final static int MAINMENU_MK_TELEMETRY =0; |
- | |
41 | public final static int MAINMENU_MK_RAWDEBUG =1+MAINMENU_MK_TELEMETRY; |
- | |
Line -... | Line 49... | ||
- | 49 | public final static int ACTIONID_PROXY = 14; |
|
Line -... | Line 50... | ||
- | 50 | public final static int ACTIONID_GPSDATA = 15; |
|
42 | public final static int MAINMENU_MK_STICKS =1+MAINMENU_MK_RAWDEBUG; |
51 | |
Line 43... | Line -... | ||
43 | public final static int MAINMENU_MK_KEYCONTROL =1+MAINMENU_MK_STICKS; |
- | |
44 | public final static int MAINMENU_MK_MOTORTEST =1+MAINMENU_MK_KEYCONTROL; |
- | |
45 | public final static int MAINMENU_MK_PARAMS =1+MAINMENU_MK_MOTORTEST; |
- | |
46 | public final static int MAINMENU_MK_SETTINGSMENU =1+MAINMENU_MK_PARAMS; |
- | |
47 | public final static int MAINMENU_MK_CAMMODE =1+MAINMENU_MK_SETTINGSMENU; |
- | |
48 | public final static int MAINMENU_MK_PROXY =1+MAINMENU_MK_CAMMODE; |
- | |
Line -... | Line 52... | ||
- | 52 | public final static int ACTIONID_QUIT = 100; |
|
Line -... | Line 53... | ||
- | 53 | ||
Line 49... | Line 54... | ||
49 | public final static int MAINMENU_MK_DEVICESELECT =1+MAINMENU_MK_PROXY; |
54 | |
50 | public final static int MAINMENU_MK_QUIT =1+MAINMENU_MK_DEVICESELECT; |
55 | public String[] main_menu_items_no_connection = { "Proxy","Tool Settings" , "Change Device", "Connection Details" , "Debug DUBwise" , "Quit " }; |
51 | 56 | public int[] main_menu_actions_no_connection= { ACTIONID_PROXY, ACTIONID_SETTINGS , ACTIONID_DEVICESELECT , ACTIONID_CONN_DETAILS, ACTIONID_DEBUG , ACTIONID_QUIT}; |
|
52 | 57 | ||
53 | public String[] main_menu_items_navi={"Telemetry","Raw Debug", "view GPS-Data" ,"Tool Settings","Change Device" , "Quit " }; |
58 | |
54 | 59 | public String[] main_menu_items_mk ={"Connection Details" , "switch to NC","Sensor Graph" , "LCD","Raw Debug", "view RC-data", "MK-KeyControl", "Motor Test" , "Flight Settings","Tool Settings","Remote Cam","Proxy","Change Device" , "Debug" , "Quit " }; |
|
Line 73... | Line 78... | ||
73 | public final static int SETTINGSMENU_BACK =6; |
78 | public final static int SETTINGSMENU_BACK =6; |
Line 74... | Line 79... | ||
74 | 79 | ||
75 | public final static int USER_INTENT_NONE=0; |
80 | public final static int USER_INTENT_NONE=0; |
76 | public final static int USER_INTENT_RAWDEBUG=1; |
81 | public final static int USER_INTENT_RAWDEBUG=1; |
- | 82 | public final static int USER_INTENT_PARAMS=2; |
|
77 | public final static int USER_INTENT_PARAMS=2; |
83 | public final static int USER_INTENT_GRAPH=3; |