Dactyl_manuform map and updates to my ergodox layout for moving to a

different location.
This commit is contained in:
Fredric Silberberg 2018-10-30 01:09:22 -07:00 committed by Drashna Jaelre
parent cc45f62d75
commit e8f730595c
6 changed files with 269 additions and 202 deletions

View file

@ -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 {