From e955b0ad09389017200b9df76fc924da7c05f1f0 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Wed, 28 Sep 2022 19:55:49 -0600 Subject: [PATCH] Agregando una segunda forma como comentario --- keymap.c | 24 ++++++++++++++++++++++++ version.txt | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/keymap.c b/keymap.c index 0bfdbb9..481fb00 100644 --- a/keymap.c +++ b/keymap.c @@ -302,3 +302,27 @@ void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { } } } + +/* void rgb_matrix_indicators_user(void) { + #ifdef RGB_MATRIX_ENABLE + switch (biton32(layer_state)) { + case 1: + rgb_matrix_set_color_all(RGB_GREEN); + break; + case 2: + rgb_matrix_set_color_all(RGB_RED); + break; + case 3: + rgb_matrix_set_color_all(RGB_BLUE); + break; + default: + if (isWindows == false){ + rgb_matrix_set_color(26, RGB_RED); + } + if (host_keyboard_leds() & (1<