summaryrefslogtreecommitdiff
path: root/keyboards/ergodox/keymaps/333fred/visualizer.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox/keymaps/333fred/visualizer.c')
-rw-r--r--keyboards/ergodox/keymaps/333fred/visualizer.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/keyboards/ergodox/keymaps/333fred/visualizer.c b/keyboards/ergodox/keymaps/333fred/visualizer.c
index 502e53f3d1..eaeea6b898 100644
--- a/keyboards/ergodox/keymaps/333fred/visualizer.c
+++ b/keyboards/ergodox/keymaps/333fred/visualizer.c
@@ -27,15 +27,19 @@ static void get_visualizer_layer_and_color(visualizer_state_t* state) {
if (state->status.leds & (1u << USB_LED_CAPS_LOCK)) {
saturation = 255;
}
- if (state->status.layer & 0x4) {
+ if (state->status.layer & 0x10) {
+ state->target_lcd_color = LCD_COLOR(140, 100, 60);
+ state->layer_text = "Movement";
+ } else if (state->status.layer & 0x8) {
state->target_lcd_color = LCD_COLOR(0, saturation, 0xFF);
- state->layer_text = "Media & Mouse";
- }
- else if (state->status.layer & 0x2) {
+ state->layer_text = "Media";
+ } else if (state->status.layer & 0x4) {
state->target_lcd_color = LCD_COLOR(168, saturation, 0xFF);
state->layer_text = "Symbol";
- }
- else {
+ } else if (state->status.layer & 0x2) {
+ state->target_lcd_color = LCD_COLOR(216, 90, 0xFF);
+ state->layer_text = "Code";
+ } else {
state->target_lcd_color = LCD_COLOR(84, saturation, 0xFF);
state->layer_text = "Default";
}