summaryrefslogtreecommitdiff
path: root/layouts/community/ergodox/333fred/visualizer.c
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ergodox/333fred/visualizer.c')
-rw-r--r--layouts/community/ergodox/333fred/visualizer.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/layouts/community/ergodox/333fred/visualizer.c b/layouts/community/ergodox/333fred/visualizer.c
index 2a30562ae7..d13b3cd794 100644
--- a/layouts/community/ergodox/333fred/visualizer.c
+++ b/layouts/community/ergodox/333fred/visualizer.c
@@ -14,16 +14,22 @@ 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 & 0x10) {
+ if (state->status.layer & 0x80) {
+ state->target_lcd_color = LCD_COLOR(0, 255, 60);
+ state->layer_text = "Game Arrow";
+ } else if (state->status.layer & 0x40) {
+ state->target_lcd_color = LCD_COLOR(0, 255, 60);
+ state->layer_text = "Game";
+ } else if (state->status.layer & 0x20) {
state->target_lcd_color = LCD_COLOR(140, 100, 60);
state->layer_text = "Movement";
- } else if (state->status.layer & 0x8) {
+ } else if (state->status.layer & 0x10) {
state->target_lcd_color = LCD_COLOR(0, saturation, 0xFF);
state->layer_text = "Media";
- } else if (state->status.layer & 0x4) {
+ } else if (state->status.layer & 0x8) {
state->target_lcd_color = LCD_COLOR(168, saturation, 0xFF);
state->layer_text = "Symbol";
- } else if (state->status.layer & 0x2) {
+ } else if (state->status.layer & 0x2 || state->status.layer & 0x4) {
state->target_lcd_color = LCD_COLOR(216, 90, 0xFF);
state->layer_text = "Code";
} else {