aboutsummaryrefslogtreecommitdiff
path: root/hw/hank/anduril.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-11-03 06:39:50 -0600
committerSelene ToyKeeper2023-11-03 06:39:50 -0600
commit8d022eba3b741bd2a1253df09c01d75e340b492a (patch)
tree84eb8c728de7fcdf1843fd8b6cfbf89d9233d176 /hw/hank/anduril.h
parentgot things to compile again, renamed #includes (diff)
downloadanduril-8d022eba3b741bd2a1253df09c01d75e340b492a.tar.gz
anduril-8d022eba3b741bd2a1253df09c01d75e340b492a.tar.bz2
anduril-8d022eba3b741bd2a1253df09c01d75e340b492a.zip
renamed cfg.h -> anduril.h so each UI can have its own cfg (part 1)
(still need to update file contents afterward, but doing it in a separate commit so git can detect renames easier)
Diffstat (limited to 'hw/hank/anduril.h')
-rw-r--r--hw/hank/anduril.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/hw/hank/anduril.h b/hw/hank/anduril.h
new file mode 100644
index 0000000..86ac605
--- /dev/null
+++ b/hw/hank/anduril.h
@@ -0,0 +1,30 @@
+// Intl-Outdoor (Hank)'s config options for Anduril
+// Copyright (C) 2021-2023 Selene ToyKeeper
+// SPDX-License-Identifier: GPL-3.0-or-later
+#pragma once
+
+// config preferences for Hank Wang of Intl-Outdoor (Emisar, Noctigon)
+
+// RGB aux LEDs should use rainbow cycling mode
+// to impress new customers
+// (people usually change it to voltage mode later though)
+#ifdef RGB_LED_OFF_DEFAULT
+#undef RGB_LED_OFF_DEFAULT
+#endif
+#define RGB_LED_OFF_DEFAULT 0x18 // low, rainbow
+
+// half a second per color in rainbow mode
+//#define RGB_RAINBOW_SPEED 0x03
+
+// Allow 3C (or 6C) in Simple UI (toggle smooth or stepped ramping)
+#define USE_SIMPLE_UI_RAMPING_TOGGLE
+
+// allow Aux Config and Strobe Modes in Simple UI
+#define USE_EXTENDED_SIMPLE_UI
+
+// double click while on goes to full-power turbo, not ramp ceiling
+#define DEFAULT_2C_STYLE 1
+
+// for consistency with KR4 (not otherwise necessary though)
+#define USE_SOFT_FACTORY_RESET
+