mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-17 00:28:11 -07:00
Update rgb backlight colors
This commit is contained in:
@@ -34,19 +34,24 @@ static RGBBacklightSettings rgb_settings = {
|
||||
.settings_is_loaded = false};
|
||||
|
||||
static const RGBBacklightColor colors[] = {
|
||||
{"Orange", 255, 79, 0},
|
||||
{"Yellow", 255, 170, 0},
|
||||
{"Spring", 167, 255, 0},
|
||||
{"Orange", 255, 165, 0},
|
||||
{"Red", 255, 0, 0},
|
||||
{"Maroon", 128, 0, 0},
|
||||
{"Yellow", 255, 255, 0},
|
||||
{"Olive", 128, 128, 0},
|
||||
{"Lime", 0, 255, 0},
|
||||
{"Green", 0, 128, 0},
|
||||
{"Aqua", 0, 255, 127},
|
||||
{"Cyan", 0, 210, 210},
|
||||
{"Azure", 0, 127, 255},
|
||||
{"Teal", 0, 128, 128},
|
||||
{"Blue", 0, 0, 255},
|
||||
{"Purple", 127, 0, 255},
|
||||
{"Magenta", 210, 0, 210},
|
||||
{"Pink", 255, 0, 127},
|
||||
{"Red", 255, 0, 0},
|
||||
{"White", 140, 140, 140},
|
||||
{"Navy", 0, 0, 128},
|
||||
{"Purple", 128, 0, 128},
|
||||
{"Fuchsia", 255, 0, 255},
|
||||
{"Pink", 255, 192, 203},
|
||||
{"Brown", 165, 42, 42},
|
||||
{"White", 255, 255, 255},
|
||||
};
|
||||
|
||||
uint8_t rgb_backlight_get_color_count(void) {
|
||||
|
||||
+13
-8
@@ -40,19 +40,24 @@ static RGBBacklightSettings rgb_settings = {
|
||||
#define COLOR_COUNT (sizeof(colors) / sizeof(WS2812B_Color))
|
||||
|
||||
const WS2812B_Color colors[] = {
|
||||
{"Orange", 255, 79, 0},
|
||||
{"Yellow", 255, 170, 0},
|
||||
{"Spring", 167, 255, 0},
|
||||
{"Orange", 255, 165, 0},
|
||||
{"Red", 255, 0, 0},
|
||||
{"Maroon", 128, 0, 0},
|
||||
{"Yellow", 255, 255, 0},
|
||||
{"Olive", 128, 128, 0},
|
||||
{"Lime", 0, 255, 0},
|
||||
{"Green", 0, 128, 0},
|
||||
{"Aqua", 0, 255, 127},
|
||||
{"Cyan", 0, 210, 210},
|
||||
{"Azure", 0, 127, 255},
|
||||
{"Teal", 0, 128, 128},
|
||||
{"Blue", 0, 0, 255},
|
||||
{"Purple", 127, 0, 255},
|
||||
{"Magenta", 210, 0, 210},
|
||||
{"Pink", 255, 0, 127},
|
||||
{"Red", 255, 0, 0},
|
||||
{"White", 140, 140, 140},
|
||||
{"Navy", 0, 0, 128},
|
||||
{"Purple", 128, 0, 128},
|
||||
{"Fuchsia", 255, 0, 255},
|
||||
{"Pink", 255, 192, 203},
|
||||
{"Brown", 165, 42, 42},
|
||||
{"White", 255, 255, 255},
|
||||
};
|
||||
|
||||
static void _port_init(void) {
|
||||
|
||||
Reference in New Issue
Block a user