Update rgb backlight colors

This commit is contained in:
Willy-JL
2023-03-20 22:19:19 +00:00
parent ba6783ea3a
commit 2a834bedeb
2 changed files with 26 additions and 16 deletions
@@ -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
View File
@@ -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) {