vtx: fix VTX_SETTINGS_POWER_COUNT and add dummy entries to saPowerNames
[inav.git] / src / main / io / dji_osd_symbols.h
blob83ccad7c82dea5383dc82c0fc9eb3dc2aaf2ff90
1 /* @file max7456_symbols.h
2 * @brief max7456 symbols for the mwosd font set
4 * @author Nathan Tsoi nathan@vertile.com
6 * Copyright (C) 2016 Nathan Tsoi
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>
22 #pragma once
24 //Misc
25 #define DJI_SYM_NONE 0x00
26 #define DJI_SYM_END_OF_FONT 0xFF
27 #define DJI_SYM_BLANK 0x20
28 #define DJI_SYM_HYPHEN 0x2D
29 #define DJI_SYM_BBLOG 0x10
30 #define DJI_SYM_HOMEFLAG 0x11
31 #define DJI_SYM_RPM 0x12
32 #define DJI_SYM_ROLL 0x14
33 #define DJI_SYM_PITCH 0x15
34 #define DJI_SYM_TEMPERATURE 0x7A
35 #define DJI_SYM_MAX 0x24
37 // GPS and navigation
38 #define DJI_SYM_LAT 0x89
39 #define DJI_SYM_LON 0x98
40 #define DJI_SYM_ALTITUDE 0x7F
41 #define DJI_SYM_OVER_HOME 0x05
43 // RSSI
44 #define DJI_SYM_RSSI 0x01
46 // Throttle Position (%)
47 #define DJI_SYM_THR 0x04
49 // Unit Icons (Metric)
50 #define DJI_SYM_M 0x0C
51 #define DJI_SYM_C 0x0E
53 // Unit Icons (Imperial)
54 #define DJI_SYM_F 0x0D
55 #define DJI_SYM_FT 0x0F
57 // Heading Graphics
58 #define DJI_SYM_HEADING_N 0x18
59 #define DJI_SYM_HEADING_S 0x19
60 #define DJI_SYM_HEADING_E 0x1A
61 #define DJI_SYM_HEADING_W 0x1B
62 #define DJI_SYM_HEADING_DIVIDED_LINE 0x1C
63 #define DJI_SYM_HEADING_LINE 0x1D
65 // AH Center screen Graphics
66 #define DJI_SYM_CROSSHAIR_LEFT 0x72
67 #define DJI_SYM_CROSSHAIR_CENTRE 0x73
68 #define DJI_SYM_CROSSHAIR_RIGHT 0x74
69 #define DJI_SYM_AH_RIGHT 0x02
70 #define DJI_SYM_AH_LEFT 0x03
71 #define DJI_SYM_AH_DECORATION 0x13
72 #define DJI_SYM_SMALL_CROSSHAIR 0x7E
74 // Satellite Graphics
75 #define DJI_SYM_SAT_L 0x1E
76 #define DJI_SYM_SAT_R 0x1F
78 // Direction arrows
79 #define DJI_SYM_ARROW_SOUTH 0x60
80 #define DJI_SYM_ARROW_2 0x61
81 #define DJI_SYM_ARROW_3 0x62
82 #define DJI_SYM_ARROW_4 0x63
83 #define DJI_SYM_ARROW_EAST 0x64
84 #define DJI_SYM_ARROW_6 0x65
85 #define DJI_SYM_ARROW_7 0x66
86 #define DJI_SYM_ARROW_8 0x67
87 #define DJI_SYM_ARROW_NORTH 0x68
88 #define DJI_SYM_ARROW_10 0x69
89 #define DJI_SYM_ARROW_11 0x6A
90 #define DJI_SYM_ARROW_12 0x6B
91 #define DJI_SYM_ARROW_WEST 0x6C
92 #define DJI_SYM_ARROW_14 0x6D
93 #define DJI_SYM_ARROW_15 0x6E
94 #define DJI_SYM_ARROW_16 0x6F
96 #define DJI_SYM_ARROW_SMALL_UP 0x75
97 #define DJI_SYM_ARROW_SMALL_DOWN 0x76
98 #define DJI_SYM_ARROW_SMALL_RIGHT 0x77
99 #define DJI_SYM_ARROW_SMALL_LEFT 0x78
101 // AH Bars
102 #define DJI_SYM_AH_BAR9_0 0x80
103 #define DJI_SYM_AH_BAR9_1 0x81
104 #define DJI_SYM_AH_BAR9_2 0x82
105 #define DJI_SYM_AH_BAR9_3 0x83
106 #define DJI_SYM_AH_BAR9_4 0x84
107 #define DJI_SYM_AH_BAR9_5 0x85
108 #define DJI_SYM_AH_BAR9_6 0x86
109 #define DJI_SYM_AH_BAR9_7 0x87
110 #define DJI_SYM_AH_BAR9_8 0x88
112 // Progress bar
113 #define DJI_SYM_PB_START 0x8A
114 #define DJI_SYM_PB_FULL 0x8B
115 #define DJI_SYM_PB_HALF 0x8C
116 #define DJI_SYM_PB_EMPTY 0x8D
117 #define DJI_SYM_PB_END 0x8E
118 #define DJI_SYM_PB_CLOSE 0x8F
120 // Batt evolution
121 #define DJI_SYM_BATT_FULL 0x90
122 #define DJI_SYM_BATT_5 0x91
123 #define DJI_SYM_BATT_4 0x92
124 #define DJI_SYM_BATT_3 0x93
125 #define DJI_SYM_BATT_2 0x94
126 #define DJI_SYM_BATT_1 0x95
127 #define DJI_SYM_BATT_EMPTY 0x96
129 // Batt Icons
130 #define DJI_SYM_MAIN_BATT 0x97
132 // Voltage and amperage
133 #define DJI_SYM_VOLT 0x06
134 #define DJI_SYM_AMP 0x9A
135 #define DJI_SYM_MAH 0x07
136 #define DJI_SYM_WATT 0x57 // 0x57 is 'W'
138 // Time
139 #define DJI_SYM_ON_H 0x70
140 #define DJI_SYM_FLY_H 0x71
141 #define DJI_SYM_ON_M 0x9B
142 #define DJI_SYM_FLY_M 0x9C
144 // Speed
145 #define DJI_SYM_KPH 0x9E
146 #define DJI_SYM_MPH 0x9D
147 #define DJI_SYM_MPS 0x9F
148 #define DJI_SYM_FTPS 0x99
150 // Stick overlays
151 #define DJI_SYM_STICK_OVERLAY_SPRITE_HIGH 0x08
152 #define DJI_SYM_STICK_OVERLAY_SPRITE_MID 0x09
153 #define DJI_SYM_STICK_OVERLAY_SPRITE_LOW 0x0A
154 #define DJI_SYM_STICK_OVERLAY_CENTER 0x0B
155 #define DJI_SYM_STICK_OVERLAY_VERTICAL 0x16
156 #define DJI_SYM_STICK_OVERLAY_HORIZONTAL 0x17
158 // GPS degree/minute/second symbols
159 #define DJI_SYM_GPS_DEGREE DJI_SYM_STICK_OVERLAY_SPRITE_HIGH // kind of looks like the degree symbol
160 #define DJI_SYM_GPS_MINUTE 0x27 // '
161 #define DJI_SYM_GPS_SECOND 0x22 // "