-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheatsheet.tex
402 lines (372 loc) · 10.9 KB
/
cheatsheet.tex
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
\documentclass{article}
%\documentclass{article}
\usepackage{geometry}
\geometry{
letterpaper,
left=0mm,
right=5mm,
top=15mm,
bottom=1mm,
margin=4mm,
}
\usepackage{colortbl} % For coloured tables
\usepackage{hhline} % Border under tables
\usepackage{multicol} % Allows multicols in tables
\usepackage{tabularx} % Intelligent column widths
\usepackage{xcolor} % For hex colours
% Document Info
\author{petong}
\pdfinfo{
/Title Anduril 2 Cheat Sheet
/Author (petong)
/Subject Anduril 2 flashlight Cheat Sheet
}
% Commands
\newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour
\newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols
\newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns
\newcommand{\tn}{\tabularnewline} % Required as custom column type in use
% Font and Colours
\definecolor{HeadBackground}{HTML}{333333}
\definecolor{FootBackground}{HTML}{666666}
\definecolor{TextColor}{HTML}{333333}
\definecolor{DarkBackground}{HTML}{6967A3}
\definecolor{LightBackground}{HTML}{F5F5F9}
\renewcommand{\familydefault}{\sfdefault}
\color{TextColor}
% column configuration
%\setlength{\tabcolsep}{0.1 mm} % Space between columns
% \setlength{\oddsidemargin}{-0.4in}
% \setlength{\evensidemargin}{-0.4in}
%\setlength{\textwidth}{7.3in}
% testing addtolength
%\addtolength{\oddsidemargin}{-.4in}
%\addtolength{\evensidemargin}{-.8in}
%\addtolength{\textwidth}{-0.75in}
%\addtolength{\topmargin}{-.875in}
%\addtolength{\textheight}{1.75in}
%
\begin{document}
\begin{center}
{\huge\sffamily\bfseries Anduril 2 cheat sheet} \\
\end{center}
\begin{multicols*}{3}
% From Off Advanced Mode
\begin{tabularx}{3.80 cm}{p{0.50 cm} x{4.5 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{2}{x{5.41 cm}}{\bf\textcolor{white}{From Off Advanced Mode}} \tn
% Row 0
\SetRowColor{LightBackground}
1C & On (ramp mode, memorized level) \tn
% Row 1
\SetRowColor{white}
1H & On (ramp mode, floor level) \tn
% Row 2
\SetRowColor{LightBackground}
2C & On (ramp mode, ceiling level) \tn
% Row 3
\SetRowColor{white}
2H & On (momentary turbo) \tn
% Row 4
\SetRowColor{LightBackground}
3C & Battcheck mode \tn
% Row 5
\SetRowColor{white}
3H & Strobe mode (whichever was used last) \tn
% Row 6
\SetRowColor{LightBackground}
4C & Lockout mode \tn
% Row 7
\SetRowColor{white}
5C & Momentary mode \tn
% Row 8
\SetRowColor{LightBackground}
7C & Aux LEDs: Next pattern \tn
% Row 9
\SetRowColor{white}
7H & Aux LEDs: Next color \tn
% Row 10
\SetRowColor{LightBackground}
9H & Misc config menu (varies per light) \tn
% Row 11
\SetRowColor{white}
10C & Simple UI \tn
% Row 12
\SetRowColor{LightBackground}
10H & Simple UI Ramp Config Menu \tn
% Row 13
\SetRowColor{white}
13H & Factory reset (on some lights) \tn
% Row 14
\SetRowColor{LightBackground}
15C & Version check \tn
% Row 15
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\end{tabularx}
\par\addvspace{2.25 em}
% Simple UI Ramp Config
% \begin{tabularx}{3.80 cm}{p{0.50 cm} x{3.5 cm} }
\begin{tabularx}{4.0 cm}{p{0.10 cm} x{1.75 cm} x{2.70 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{3}{x{5.41 cm}}{\bf\textcolor{white}{Simple UI Ramp 10H from Off}} \tn
% Row 0
\SetRowColor{LightBackground}
1 & Floor & default: 20/150 \tn
% Row 1
\SetRowColor{white}
2 & Ceiling & default: 120/150 \tn
% Row 2
\SetRowColor{LightBackground}
3 & Steps & default: 5 \tn
% Row 3
\SetRowColor{white}
4 & Turbo Style & {default: 0 \\ no turbo} \tn
% Row 4
\hhline{>{\arrayrulecolor{DarkBackground}}---}
\end{tabularx}
\par\addvspace{1.3em}
% Battery Check Mode
\begin{tabularx}{3.80 cm}{p{0.50 cm} x{4.5 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{2}{x{5.41 cm}}{\bf\textcolor{white}{Battery Check (3C) from Off}} \tn
% Row 0
\SetRowColor{LightBackground}
1C & Off \tn
% Row 1
\SetRowColor{white}
2C & {Next mode \\ Temp check, Beacon, SOS} \tn
% Row 2
\SetRowColor{LightBackground}
7H & Voltage Config Menu \tn
% Row 3
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\end{tabularx}
\par\addvspace{1.3 em}
\begin{tabularx}{4.0 cm}{p{0.10 cm} x{2.10 cm} x{2.35 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{3}{x{5.41 cm}}{\bf\textcolor{white}{Misc Config 9H from Off}} \tn
% Row 0
\SetRowColor{LightBackground}
1 & Tint ramp & {0 = smooth \\ 1 = toggle} \tn
% Row 1
\SetRowColor{white}
2 & Jump Start & {1 to 150 \\ usually between 20 and 50} \tn
% Row 2
\hhline{>{\arrayrulecolor{DarkBackground}}---}
\end{tabularx}
\par\addvspace{1.3em}
% \begin{tabularx}{4.0 cm}{p{1.55 cm} x{1 cm} x{1 cm} }
\begin{tabularx}{4.0 cm}{p{1.60 cm} x{0.50 cm} x{2.45 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{3}{x{5.41 cm}}{\bf\textcolor{white}{Blinky Mode 3C from Off}} \tn
\SetRowColor{LightBackground}
Batt & 1C &Off \tn
\SetRowColor{white}
Batt & 2C & Next \tn
\SetRowColor{LightBackground}
Batt &7H&Voltage config \tn
\SetRowColor{white}
Temp & 1C &Off \tn
\SetRowColor{LightBackground}
Temp & 2C & Next \tn
\SetRowColor{white}
Temp &7H&Thermal config \tn
\SetRowColor{LightBackground}
Beacon &1C&Off \tn
\SetRowColor{white}
Beacon &1H &Timing \tn
\SetRowColor{LightBackground}
\mymulticolumn{3}{x{5.41 cm}}{Temp check -\textgreater{} Beacon -\textgreater{} SOS} \tn
\hhline{>{\arrayrulecolor{DarkBackground}}---}
\end{tabularx}
\par\addvspace{1.3em}
% \begin{tabularx}{4 cm}{|c|c|c|}
% \SetRowColor{DarkBackground}
% \mymulticolumn{3}{x{3.41 cm}}{\bf\textcolor{white}{Misc Config 9H from Off}} \tn
% % Row 0
% \SetRowColor{LightBackground}
% 1 & 2 & 3
% \end{tabularx}
%%\begin{tabularx}{|c|c|c|}
%\begin{tabularx}{4.0 cm}{p{0.10 cm} x{1.10 cm} x{2.35 cm} }
%\SetRowColor{DarkBackground}
%\hline
%%\mymulticolumn{5}{c}{\bf\textcolor{white}{Misc Config 9H from Off}} \tn
%%\multicolumn{5}{c}{\textcolor{white}{Misc Config from Off}} \\ \hline
%\mymulticolumn{3}{x{4.41 cm}}{\bf\textcolor{white}{Misc Config 9H from Off}} \tn
%1 &2 &3 \\ \hline
%\end{tabularx}
\vfill\null
\columnbreak
% Column 2
% Ramp Mode On
\begin{tabularx}{3.80 cm}{p{0.50 cm} x{4.5 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{2}{x{5.41 cm}}{\bf\textcolor{white}{Ramp Mode (On)}} \tn
% Row 0
\SetRowColor{LightBackground}
1C & On \tn
% Row 1
\SetRowColor{white}
1H & Ramp (up, with reversing) \tn
% Row 2
\SetRowColor{LightBackground}
2H & Ramp (down) \tn
% Row 3
\SetRowColor{white}
2C & Go to/from ceiling or turbo \tn
% Row 4
\SetRowColor{LightBackground}
3C & Change ramp style (smooth / stepped) \tn
% Row 5
\SetRowColor{white}
3H & Tint ramping (on some lights) / Momentary turbo (on lights without tint ramping) \tn
% Row 6
\SetRowColor{LightBackground}
4C & Lockout mode \tn
% Row 7
\SetRowColor{white}
5C & Momentary mode \tn
% Row 8
\SetRowColor{LightBackground}
5H & Sunset Timer and Add 5 Mins \tn
% Row 9
\SetRowColor{white}
7H & {Ramp config menu \\ 1: floor \\ 2: ceiling \\ 3: speed/steps} \tn
% Row 10
\SetRowColor{LightBackground}
10C & Turn on manual memory and save current brightnes \tn
% Row 11
\SetRowColor{white}
10H & Ramp Extras config menu \tn
% Row 12
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\end{tabularx}
\par\addvspace{1 em}
% Ramp config
\begin{tabularx}{4.0 cm}{p{0.10 cm} x{1.55 cm} x{2.90 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{3}{x{5.41 cm}}{\bf\textcolor{white}{Ramp Config Menu (Smooth) \\ 7H from On}} \tn
% Row 0
\SetRowColor{LightBackground}
1 & Floor & default: 1/150 \tn
% Row 1
\SetRowColor{white}
2 & Ceiling & default: 120/150 \tn
% Row 2
\SetRowColor{LightBackground}
3 & Ramp Speed & {default: 1 \\ fastest speed} \tn
% Row 3
\hhline{>{\arrayrulecolor{DarkBackground}}---}
\end{tabularx}
\par\addvspace{1.3em}
% Ramp Config Stepped
\begin{tabularx}{4.0 cm}{p{0.10 cm} x{1.80 cm} x{2.65 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{3}{x{5.41 cm}}{\bf\textcolor{white}{Ramp Config (Stepped) 7H from On}} \tn
% Row 0
\SetRowColor{LightBackground}
1 & Floor & default: 20/150 \tn
% Row 1
\SetRowColor{white}
2 & Ceiling & default: 120/150 \tn
% Row 2
\SetRowColor{LightBackground}
3 & \# of steps & default: 7 \tn
% Row 3
\hhline{>{\arrayrulecolor{DarkBackground}}---}
\end{tabularx}
\par\addvspace{1.3em}
% Ramp Extras from On
\begin{tabularx}{3.80 cm}{p{0.10 cm} x{4.90 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{2}{x{5.41 cm}}{\bf\textcolor{white}{Ramp Extras 10H from On}} \tn
% Row 0
\SetRowColor{LightBackground}
1 & Enable Automatic Mem \tn
% Row 1
\SetRowColor{white}
2 & Set Manual Mem Timeout \tn
% Row 2
\SetRowColor{LightBackground}
3 & { Ramp after Moon or Not \\ 0: Ramp after moon \\ 1: Don't ramp after moon } \tn
% Row 3
\SetRowColor{white}
4 & {Advanced UI turbo style \\ 0: No Turbo \\ 1: 2C goes to full power \\2: 2C goes to ceiling, then turbo } \tn
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\end{tabularx}
\par\addvspace{1.3em}
\vfill\null
\columnbreak
% lockout
\begin{tabularx}{3.80 cm}{p{1 cm} x{4 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{2}{x{5.41 cm}}{\bf\textcolor{white}{Lockout}} \tn
% Row 0
\SetRowColor{LightBackground}
1C/1H & Momentary moon (lowest floor) \tn
% Row 1
\SetRowColor{white}
2C/2H & Momentary moon (highest floor, or manual mem level) \tn
% Row 2
\SetRowColor{LightBackground}
3C & Unlock (go to "Off" mode) \tn
% Row 3
\SetRowColor{white}
4C & On (ramp mode, memorized level) \tn
% Row 4
\SetRowColor{LightBackground}
4H & On (ramp mode, floor level) \tn
% Row 5
\SetRowColor{white}
5C & On (ramp mode, ceiling level) \tn
% Row 6
\SetRowColor{LightBackground}
7C & Aux LEDs: Next pattern \tn
% Row 7
\SetRowColor{white}
7H & Aux LEDs: Next color \tn
% Row 8
\SetRowColor{LightBackground}
10H & {Auto-lock config menu: \\ 1 click == 1 min} \tn
% Row 9
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\end{tabularx}
\par\addvspace{4.65 em}
% Strobe Mode
\begin{tabularx}{3.80 cm}{p{0.50 cm} x{4.5 cm} }
\SetRowColor{DarkBackground}
\mymulticolumn{2}{x{5.41 cm}}{\bf\textcolor{white}{Strobe Mode 3H from Off}} \tn
% Row 0
\SetRowColor{LightBackground}
1C & Turn Off \tn
% Row 1
\SetRowColor{white}
2C & Next Mode\tn
% Row 2
\SetRowColor{LightBackground}
1H & Increase Brightness/Strobe \tn
% Row 3
\SetRowColor{white}
2H & Decrease Brightness/Strobe \tn
% Row 4
\SetRowColor{LightBackground}
5C & Momentary Mode \tn
% Row 5
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\SetRowColor{LightBackground}
\mymulticolumn{2}{x{5.41 cm}}{Candle -\textgreater{} Bike -\textgreater{} Party -\textgreater{} Tactical -\textgreater{} Lightning} \tn
\hhline{>{\arrayrulecolor{DarkBackground}}--}
\end{tabularx}
\par\addvspace{1.3em}
% Aux Colors
\begin{tabularx}{5.41 cm}{X}
\SetRowColor{DarkBackground}
\mymulticolumn{1}{x{5.41 cm}}{\bf\textcolor{white}{Aux Colors \\ 7H from Off or Lockout}} \tn
\SetRowColor{LightBackground}
\mymulticolumn{1}{x{5.41 cm}}{- Red \newline - Yellow (Red+Green) \newline - Green \newline - Cyan (Green+Blue) \newline - Blue \newline - Purple (Blue+Red) \newline - White (Red+Green+Blue) \newline - Disco \newline - Rainbow \newline - Voltage} \tn
\hhline{>{\arrayrulecolor{DarkBackground}}-}
\end{tabularx}
\par\addvspace{1.3em}
\end{multicols*}
\end{document}