aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-10-20 21:27:46 +0100
committerGitHub <noreply@github.com>2021-10-20 21:27:46 +0100
commit1816006121de991581d50d0bc6b5a653e2b3ccd2 (patch)
tree3de083612fba22f40b6f899e35e085b797fc51d0 /layouts
parentd4be4b67a251ecc046d857c5cd00cfb37c394ab7 (diff)
downloadqmk_firmware-1816006121de991581d50d0bc6b5a653e2b3ccd2.tar.gz
qmk_firmware-1816006121de991581d50d0bc6b5a653e2b3ccd2.zip
Tidy up LCD_ENABLE/visualizer references (#14855)
* Tidy up LCD_ENABLE/visualizer references * Fix up my (333fred) ergodox keymap with new LCD driver Co-authored-by: Fredric Silberberg <fred@silberberg.xyz>
Diffstat (limited to 'layouts')
-rw-r--r--layouts/community/ergodox/333fred/keymap.c40
-rw-r--r--layouts/community/ergodox/333fred/rules.mk3
-rw-r--r--layouts/community/ergodox/333fred/visualizer.c39
-rw-r--r--layouts/community/ergodox/adnw_p_u_q/visualizer.c34
-rw-r--r--layouts/community/ergodox/belak/keymap.c35
-rw-r--r--layouts/community/ergodox/belak/visualizer.c49
-rw-r--r--layouts/community/ergodox/choromanski/visualizer.c62
-rw-r--r--layouts/community/ergodox/drashna/visualizer.c_old77
-rw-r--r--layouts/community/ergodox/osx_neo2/visualizer.c47
9 files changed, 55 insertions, 331 deletions
diff --git a/layouts/community/ergodox/333fred/keymap.c b/layouts/community/ergodox/333fred/keymap.c
index b9aefd929..5dee9a1e3 100644
--- a/layouts/community/ergodox/333fred/keymap.c
+++ b/layouts/community/ergodox/333fred/keymap.c
@@ -272,3 +272,43 @@ void matrix_scan_user(void) {
272 ergodox_led_all_on(); 272 ergodox_led_all_on();
273} 273}
274 274
275#ifdef ST7565_ENABLE
276
277void st7565_task_user(void) {
278 // The colors will need to be ported over to the quantum painter API when
279 // https://github.com/qmk/qmk_firmware/pull/10174 is merged.
280
281 st7565_clear();
282 switch (get_highest_layer(layer_state)) {
283 case BASE:
284 //state->target_lcd_color = LCD_COLOR(84, saturation, 0xFF);
285 st7565_write_P(PSTR("Default\n"), false);
286 break;
287 case CODEFLOW:
288 //state->target_lcd_color = LCD_COLOR(216, 90, 0xFF);
289 st7565_write_P(PSTR("Code\n"), false);
290 break;
291 case SYMB:
292 //state->target_lcd_color = LCD_COLOR(168, saturation, 0xFF);
293 st7565_write_P(PSTR("Symbol\n"), false);
294 break;
295 case MDIA:
296 //state->target_lcd_color = LCD_COLOR(0, saturation, 0xFF);
297 st7565_write_P(PSTR("Media\n"), false);
298 break;
299 case VIM:
300 //state->target_lcd_color = LCD_COLOR(140, 100, 60);
301 st7565_write_P(PSTR("Movement\n"), false);
302 break;
303 case GAME:
304 //state->target_lcd_color = LCD_COLOR(0, 255, 60);
305 st7565_write_P(PSTR("Game\n"), false);
306 break;
307 case GAME_ARROW:
308 //state->target_lcd_color = LCD_COLOR(0, 255, 60);
309 st7565_write_P(PSTR("Game Arrow\n"), false);
310 break;
311 }
312}
313
314#endif
diff --git a/layouts/community/ergodox/333fred/rules.mk b/layouts/community/ergodox/333fred/rules.mk
index f6c71feb4..9a3e2b97e 100644
--- a/layouts/community/ergodox/333fred/rules.mk
+++ b/layouts/community/ergodox/333fred/rules.mk
@@ -1,5 +1,2 @@
1LCD_BACKLIGHT_ENABLE = yes
2LCD_ENABLE = yes
3BACKLIGHT_ENABLE = yes
4KEY_LOCK_ENABLE = yes 1KEY_LOCK_ENABLE = yes
5CONSOLE_ENABLE = no 2CONSOLE_ENABLE = no
diff --git a/layouts/community/ergodox/333fred/visualizer.c b/layouts/community/ergodox/333fred/visualizer.c
deleted file mode 100644
index d13b3cd79..000000000
--- a/layouts/community/ergodox/333fred/visualizer.c
+++ /dev/null
@@ -1,39 +0,0 @@
1/*
2Note: this is a modified copy of ../default/visualizer.c, originally licensed GPL.
3*/
4
5#include "simple_visualizer.h"
6
7// This function should be implemented by the keymap visualizer
8// Don't change anything else than state->target_lcd_color and state->layer_text as that's the only thing
9// that the simple_visualizer assumes that you are updating
10// Also make sure that the buffer passed to state->layer_text remains valid until the previous animation is
11// stopped. This can be done by either double buffering it or by using constant strings
12static void get_visualizer_layer_and_color(visualizer_state_t* state) {
13 uint8_t saturation = 60;
14 if (state->status.leds & (1u << USB_LED_CAPS_LOCK)) {
15 saturation = 255;
16 }
17 if (state->status.layer & 0x80) {
18 state->target_lcd_color = LCD_COLOR(0, 255, 60);
19 state->layer_text = "Game Arrow";
20 } else if (state->status.layer & 0x40) {
21 state->target_lcd_color = LCD_COLOR(0, 255, 60);
22 state->layer_text = "Game";
23 } else if (state->status.layer & 0x20) {
24 state->target_lcd_color = LCD_COLOR(140, 100, 60);
25 state->layer_text = "Movement";
26 } else if (state->status.layer & 0x10) {
27 state->target_lcd_color = LCD_COLOR(0, saturation, 0xFF);
28 state->layer_text = "Media";
29 } else if (state->status.layer & 0x8) {
30 state->target_lcd_color = LCD_COLOR(168, saturation, 0xFF);
31 state->layer_text = "Symbol";
32 } else if (state->status.layer & 0x2 || state->status.layer & 0x4) {
33 state->target_lcd_color = LCD_COLOR(216, 90, 0xFF);
34 state->layer_text = "Code";
35 } else {
36 state->target_lcd_color = LCD_COLOR(84, saturation, 0xFF);
37 state->layer_text = "Default";
38 }
39}
diff --git a/layouts/community/ergodox/adnw_p_u_q/visualizer.c b/layouts/community/ergodox/adnw_p_u_q/visualizer.c
deleted file mode 100644
index 9a4d48538..000000000
--- a/layouts/community/ergodox/adnw_p_u_q/visualizer.c
+++ /dev/null
@@ -1,34 +0,0 @@
1/*
2Note: this is a modified copy of ../default/visualizer.c, originally licensed GPL.
3*/
4
5#include "simple_visualizer.h"
6
7// This function should be implemented by the keymap visualizer
8// Don't change anything else than state->target_lcd_color and state->layer_text as that's the only thing
9// that the simple_visualizer assumes that you are updating
10// Also make sure that the buffer passed to state->layer_text remains valid until the previous animation is
11// stopped. This can be done by either double buffering it or by using constant strings
12static void get_visualizer_layer_and_color(visualizer_state_t* state) {
13
14 if (state->status.layer & 0x20) {
15 state->target_lcd_color = LCD_COLOR(127, 0xFF, 0xFF);
16 state->layer_text = "Mouse";
17 } else if (state->status.layer & 0x10) {
18 state->target_lcd_color = LCD_COLOR(85, 0xFF, 0xFF);
19 state->layer_text = "Symbol";
20 } else if (state->status.layer & 0x8) {
21 state->target_lcd_color = LCD_COLOR(64, 0xFF, 0xFF);
22 state->layer_text = "Brackets";
23 } else if (state->status.layer & 0x4) {
24 state->target_lcd_color = LCD_COLOR(42, 0xFF, 0xFF);
25 state->layer_text = "Diak";
26 } else if (state->status.layer & 0x2) {
27 state->target_lcd_color = LCD_COLOR(21, 0xFF, 0xFF);
28 state->layer_text = "Terminal";
29 } else {
30 state->target_lcd_color = LCD_COLOR(192, 0xFF, 0xFF);
31 state->layer_text = "Vim";
32 }
33}
34
diff --git a/layouts/community/ergodox/belak/keymap.c b/layouts/community/ergodox/belak/keymap.c
index bca0dec91..de0fe1b1a 100644
--- a/layouts/community/ergodox/belak/keymap.c
+++ b/layouts/community/ergodox/belak/keymap.c
@@ -33,11 +33,6 @@ enum belak_keycodes {
33 E_TSET, 33 E_TSET,
34}; 34};
35 35
36inline void tap(uint16_t keycode) {
37 register_code(keycode);
38 unregister_code(keycode);
39};
40
41// TODO: Add LED support to the tap dance by using the advanced macro 36// TODO: Add LED support to the tap dance by using the advanced macro
42#define LTOGGLE TD(TD_LAYER_TOGGLE) 37#define LTOGGLE TD(TD_LAYER_TOGGLE)
43 38
@@ -273,17 +268,17 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
273 case E_SHRUG: // ¯\_(ツ)_/¯ 268 case E_SHRUG: // ¯\_(ツ)_/¯
274 if (record->event.pressed) { 269 if (record->event.pressed) {
275 process_unicode((0x00AF|QK_UNICODE), record); // Hand 270 process_unicode((0x00AF|QK_UNICODE), record); // Hand
276 tap(KC_BSLS); // Arm 271 tap_code16(KC_BSLS); // Arm
277 register_code(KC_RSFT); 272 register_code(KC_RSFT);
278 tap(KC_UNDS); // Arm 273 tap_code16(KC_UNDS); // Arm
279 tap(KC_LPRN); // Head 274 tap_code16(KC_LPRN); // Head
280 unregister_code(KC_RSFT); 275 unregister_code(KC_RSFT);
281 process_unicode((0x30C4|QK_UNICODE), record); // Face 276 process_unicode((0x30C4|QK_UNICODE), record); // Face
282 register_code(KC_RSFT); 277 register_code(KC_RSFT);
283 tap(KC_RPRN); // Head 278 tap_code16(KC_RPRN); // Head
284 tap(KC_UNDS); // Arm 279 tap_code16(KC_UNDS); // Arm
285 unregister_code(KC_RSFT); 280 unregister_code(KC_RSFT);
286 tap(KC_SLSH); // Arm 281 tap_code16(KC_SLSH); // Arm
287 process_unicode((0x00AF|QK_UNICODE), record); // Hand 282 process_unicode((0x00AF|QK_UNICODE), record); // Hand
288 } 283 }
289 return false; 284 return false;
@@ -291,19 +286,19 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
291 case E_TFLIP: // (╯°□°)╯ ︵ ┻━┻ 286 case E_TFLIP: // (╯°□°)╯ ︵ ┻━┻
292 if (record->event.pressed) { 287 if (record->event.pressed) {
293 register_code(KC_RSFT); 288 register_code(KC_RSFT);
294 tap(KC_9); 289 tap_code16(KC_9);
295 unregister_code(KC_RSFT); 290 unregister_code(KC_RSFT);
296 process_unicode((0x256F|QK_UNICODE), record); // Arm 291 process_unicode((0x256F|QK_UNICODE), record); // Arm
297 process_unicode((0x00B0|QK_UNICODE), record); // Eye 292 process_unicode((0x00B0|QK_UNICODE), record); // Eye
298 process_unicode((0x25A1|QK_UNICODE), record); // Mouth 293 process_unicode((0x25A1|QK_UNICODE), record); // Mouth
299 process_unicode((0x00B0|QK_UNICODE), record); // Eye 294 process_unicode((0x00B0|QK_UNICODE), record); // Eye
300 register_code(KC_RSFT); 295 register_code(KC_RSFT);
301 tap(KC_0); 296 tap_code16(KC_0);
302 unregister_code(KC_RSFT); 297 unregister_code(KC_RSFT);
303 process_unicode((0x256F|QK_UNICODE), record); // Arm 298 process_unicode((0x256F|QK_UNICODE), record); // Arm
304 tap(KC_SPC); 299 tap_code16(KC_SPC);
305 process_unicode((0x0361|QK_UNICODE), record); // Flippy 300 process_unicode((0x0361|QK_UNICODE), record); // Flippy
306 tap(KC_SPC); 301 tap_code16(KC_SPC);
307 process_unicode((0x253B|QK_UNICODE), record); // Table 302 process_unicode((0x253B|QK_UNICODE), record); // Table
308 process_unicode((0x2501|QK_UNICODE), record); // Table 303 process_unicode((0x2501|QK_UNICODE), record); // Table
309 process_unicode((0x253B|QK_UNICODE), record); // Table 304 process_unicode((0x253B|QK_UNICODE), record); // Table
@@ -316,18 +311,18 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
316 process_unicode((0x2500|QK_UNICODE), record); // Table 311 process_unicode((0x2500|QK_UNICODE), record); // Table
317 process_unicode((0x2500|QK_UNICODE), record); // Table 312 process_unicode((0x2500|QK_UNICODE), record); // Table
318 process_unicode((0x252C|QK_UNICODE), record); // Table 313 process_unicode((0x252C|QK_UNICODE), record); // Table
319 tap(KC_SPC); 314 tap_code16(KC_SPC);
320 process_unicode((0x30CE|QK_UNICODE), record); // Arm 315 process_unicode((0x30CE|QK_UNICODE), record); // Arm
321 register_code(KC_RSFT); 316 register_code(KC_RSFT);
322 tap(KC_9); 317 tap_code16(KC_9);
323 unregister_code(KC_RSFT); 318 unregister_code(KC_RSFT);
324 tap(KC_SPC); 319 tap_code16(KC_SPC);
325 process_unicode((0x309C|QK_UNICODE), record); // Eye 320 process_unicode((0x309C|QK_UNICODE), record); // Eye
326 tap(KC_MINS); 321 tap_code16(KC_MINS);
327 process_unicode((0x309C|QK_UNICODE), record); // Eye 322 process_unicode((0x309C|QK_UNICODE), record); // Eye
328 process_unicode((0x30CE|QK_UNICODE), record); // Arm 323 process_unicode((0x30CE|QK_UNICODE), record); // Arm
329 register_code(KC_RSFT); 324 register_code(KC_RSFT);
330 tap(KC_0); 325 tap_code16(KC_0);
331 unregister_code(KC_RSFT); 326 unregister_code(KC_RSFT);
332 } 327 }
333 return false; 328 return false;
diff --git a/layouts/community/ergodox/belak/visualizer.c b/layouts/community/ergodox/belak/visualizer.c
deleted file mode 100644
index b92890a66..000000000
--- a/layouts/community/ergodox/belak/visualizer.c
+++ /dev/null
@@ -1,49 +0,0 @@
1/*
2Copyright 2017 Fred Sundvik
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18// Currently we are assuming that both the backlight and LCD are enabled
19// But it's entirely possible to write a custom visualizer that use only
20// one of them
21#ifndef LCD_BACKLIGHT_ENABLE
22#error This visualizer needs that LCD backlight is enabled
23#endif
24
25#ifndef LCD_ENABLE
26#error This visualizer needs that LCD is enabled
27#endif
28
29#include "simple_visualizer.h"
30
31static void get_visualizer_layer_and_color(visualizer_state_t* state) {
32 uint8_t saturation = 60;
33 if (state->status.leds & (1u << USB_LED_CAPS_LOCK)) {
34 saturation = 255;
35 }
36
37 if (state->status.layer & 0x4) {
38 state->target_lcd_color = LCD_COLOR(0, saturation, 0xFF);
39 state->layer_text = "Media";
40 }
41 else if (state->status.layer & 0x2) {
42 state->target_lcd_color = LCD_COLOR(168, saturation, 0xFF);
43 state->layer_text = "Symbols";
44 }
45 else {
46 state->target_lcd_color = LCD_COLOR(84, saturation, 0xFF);
47 state->layer_text = "Base";
48 }
49}
diff --git a/layouts/community/ergodox/choromanski/visualizer.c b/layouts/community/ergodox/choromanski/visualizer.c
deleted file mode 100644
index e207c6682..000000000
--- a/layouts/community/ergodox/choromanski/visualizer.c
+++ /dev/null
@@ -1,62 +0,0 @@
1/*
2Copyright 2017 Fred Sundvik
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include "simple_visualizer.h"
19
20// This function should be implemented by the keymap visualizer
21// Don't change anything else than state->target_lcd_color and state->layer_text as that's the only thing
22// that the simple_visualizer assumes that you are updating
23// Also make sure that the buffer passed to state->layer_text remains valid until the previous animation is
24// stopped. This can be done by either double buffering it or by using constant strings
25static void get_visualizer_layer_and_color(visualizer_state_t* state) {
26
27 if (state->status.layer & 0x20) {
28 //GREEN
29 state->target_lcd_color = LCD_COLOR(85, 255, 128);
30 state->layer_text = "Gaming";
31 }
32 else if (state->status.layer & 0x10) {
33 //ORANGE
34 state->target_lcd_color = LCD_COLOR(28, 255, 230);
35 state->layer_text = "Numpad & Mouse";
36 }
37 else if (state->status.layer & 0x8) {
38 //YELLOW
39 state->target_lcd_color = LCD_COLOR(38, 255, 230);
40 state->layer_text = "Symbols";
41 }
42 else if (state->status.layer & 0x4) {
43 //RED
44 state->target_lcd_color = LCD_COLOR(0, 255, 95);
45 if (state->status.layer & 0x2){
46 state->layer_text = "Qwerty - Fn";
47 }else{
48 state->layer_text = "Colemak - Fn";
49 }
50 }
51 else if (state->status.layer & 0x2) {
52 //BLUE
53 state->target_lcd_color = LCD_COLOR(149, 255, 192);
54 state->layer_text = "Qwerty";
55 }
56 else {
57 //PURPLE
58 state->target_lcd_color = LCD_COLOR(200, 255, 192);
59 state->layer_text = "Colemak";
60 }
61}
62
diff --git a/layouts/community/ergodox/drashna/visualizer.c_old b/layouts/community/ergodox/drashna/visualizer.c_old
deleted file mode 100644
index 6b1c3ff49..000000000
--- a/layouts/community/ergodox/drashna/visualizer.c_old
+++ /dev/null
@@ -1,77 +0,0 @@
1/*
2Copyright 2017 Fred Sundvik
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#include "./simple_visualizer.h"
19#include "util.h"
20#include "drashna.h"
21#include "rgblight_list.h"
22
23#define LCD_COLOR_wrapper(...) LCD_COLOR(__VA_ARGS__)
24// This function should be implemented by the keymap visualizer
25// Don't change anything else than state->target_lcd_color and state->layer_text as that's the only thing
26// that the simple_visualizer assumes that you are updating
27// Also make sure that the buffer passed to state->layer_text remains valid until the previous animation is
28// stopped. This can be done by either double buffering it or by using constant strings
29static void get_visualizer_layer_and_color(visualizer_state_t* state) {
30
31 switch(get_highest_layer(state->status.layer|default_layer_state)) {
32 case _LOWER:
33 state->layer_text = "Lower";
34 state->target_lcd_color = LCD_COLOR_wrapper(HSV_GREEN);
35 break;
36 case _RAISE:
37 state->layer_text = "Raise";
38 state->target_lcd_color = LCD_COLOR_wrapper(HSV_YELLOW);
39 break;
40 case _ADJUST:
41 state->layer_text = "Adjust";
42 state->target_lcd_color = LCD_COLOR_wrapper(HSV_RED);
43 break;
44 case _MACROS:
45 state->layer_text = "Macros";
46 state->target_lcd_color = LCD_COLOR_wrapper(HSV_ORANGE);
47 break;
48 case _MEDIA:
49 state->layer_text = "Media";
50 state->target_lcd_color = LCD_COLOR_wrapper(HSV_CHARTREUSE);
51 break;
52 case _GAMEPAD:
53 state->layer_text = "Game";
54 state->target_lcd_color = LCD_COLOR_wrapper(HSV_ORANGE);
55 break;
56 case _QWERTY:
57 state->layer_text = "QWERTY";
58 state->target_lcd_color = LCD_COLOR_wrapper(HSV_CYAN);
59 break;
60 case _WORKMAN:
61 state->layer_text = "Workman";
62 state->target_lcd_color = LCD_COLOR_wrapper(HSV_GOLDENROD);
63 break;
64 case _DVORAK:
65 state->layer_text = "Dvorak";
66 state->target_lcd_color = LCD_COLOR_wrapper(HSV_SPRINGGREEN);
67 break;
68 case _COLEMAK:
69 state->layer_text = "Colemak";
70 state->target_lcd_color = LCD_COLOR_wrapper(HSV_MAGENTA);
71 break; break;
72 default:
73 state->layer_text = "NONE";
74 state->target_lcd_color = LCD_COLOR_wrapper(HSV_RED);
75 break;
76 }
77}
diff --git a/layouts/community/ergodox/osx_neo2/visualizer.c b/layouts/community/ergodox/osx_neo2/visualizer.c
deleted file mode 100644
index 653201bb8..000000000
--- a/layouts/community/ergodox/osx_neo2/visualizer.c
+++ /dev/null
@@ -1,47 +0,0 @@
1#include "layers.h"
2#include "simple_visualizer.h"
3#include "util.h"
4
5static void get_visualizer_layer_and_color(visualizer_state_t *state) {
6 uint8_t layer = biton32(state->status.layer);
7
8 // Go from highest to lowest layer to get the right text/color combination.
9 switch (layer) {
10 // #AEB2F4 / hsv(65.71%, 28.69%, 95.69%)
11 case FKEYS:
12 // #F4AEDC / hsv(89.05%, 28.69%, 95.69%)
13 state->layer_text = "FUNCTION KEYS";
14 state->target_lcd_color = LCD_COLOR(228, 73, 245);
15 break;
16 case US_1:
17 // #F4B993 / hsv(6.53%, 39.75%, 95.69%)
18 state->layer_text = "QWERTY";
19 state->target_lcd_color = LCD_COLOR(17, 102, 245);
20 break;
21 case NEO_6:
22 // #F4E393 / hsv(13.75%, 39.75%, 95.69%)
23 state->layer_text = "NEO: 6";
24 state->target_lcd_color = LCD_COLOR(35, 102, 245);
25 break;
26 case NEO_5:
27 // #C6F493 / hsv(24.57%, 39.75%, 95.69%)
28 state->layer_text = "NEO: 5";
29 state->target_lcd_color = LCD_COLOR(63, 102, 245);
30 break;
31 case NEO_4:
32 // #8EEBC9 / hsv(43.91%, 39.57%, 92.16%)
33 state->layer_text = "NEO: 4";
34 state->target_lcd_color = LCD_COLOR(112, 101, 189);
35 break;
36 case NEO_3:
37 // #93D2F4 / hsv(55.84%, 39.75%, 95.69%)
38 state->layer_text = "NEO: 3";
39 state->target_lcd_color = LCD_COLOR(143, 102, 245);
40 break;
41 default:
42 // #EEEEEE / hsv(0%, 0%, 93%)
43 state->layer_text = "NEO: 1";
44 state->target_lcd_color = LCD_COLOR(0, 0, 255);
45 break;
46 }
47}