From 4d31ca48579f032c9736e5334903d5a2b0308459 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 18 Mar 2024 10:59:37 +0100 Subject: [PATCH] skeletyl: rgb layer colors test --- .../skeletyl/keymaps/quotengrote/keymap.c | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c index 4b0b5185ea..69c836358b 100644 --- a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c +++ b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c @@ -9,29 +9,29 @@ void keyboard_post_init_user(void) { } // Layer indicator on all keys bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { - for (uint8_t i = led_min; i < led_max; i++) { - switch(get_highest_layer(layer_state|default_layer_state)) { - case 1: - rgblight_sethsv(4, 75, 150); // warmwhite - break; - case 2: - rgblight_sethsv(39, 100, 50); // orange - break; - case 3: - rgblight_sethsv(219, 96, 41); // blue - break; - case 4: - rgblight_sethsv(120, 45, 59); // green - break; - case 5: - rgblight_sethsv(55, 80, 60); // yellow - break; - default: - rgblight_sethsv(4, 75, 150); // warmwhite - break; - } + for (uint8_t i = led_min; i < led_max; i++) { + switch(get_highest_layer(layer_state|default_layer_state)) { + case 1: + rgblight_sethsv(4, 75, 150); // warmwhite + break; + case 2: + rgb_matrix_sethsv(39, 100, 150); // orange + break; + case 3: + rgb_matrix_sethsv(219, 96, 150); // blue + break; + case 4: + rgb_matrix_sethsv(120, 45, 150); // green + break; + case 5: + rgb_matrix_sethsv(55, 80, 150); // yellow + break; + default: + rgblight_sethsv(4, 75, 150); // warmwhite + break; } - return false; + } + return false; } // combos; https://github.com/qmk/qmk_firmware/blob/master/docs/feature_combo.md