From c0cbdcf421be7701210d2e02c48aab963cc9fe2f Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Mon, 5 Aug 2024 14:18:10 +0200 Subject: [PATCH] colors --- .../skeletyl/keymaps/quotengrote/keymap.c | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c index 1c78020b45..9a7bb2a81b 100644 --- a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c +++ b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c @@ -17,9 +17,11 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { // layer rgb for (uint8_t i = led_min; i < led_max; i++) { switch(get_highest_layer(layer_state|default_layer_state)) { + //base case 0: rgblight_sethsv(4, 75, 150); // warmwhite (werte = hue, saturation, value) break; + // num case 1: // {siehe ../../skeletyl.c) // color thumbs @@ -27,20 +29,12 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { rgb_matrix_set_color(34, 255, 165, 0); // orange rgb_matrix_set_color(33, 255, 165, 0); // orange break; + // sym case 2: // color thumbs rgb_matrix_set_color(15, 0, 90, 255); // blue rgb_matrix_set_color(16, 0, 90, 255); // blue rgb_matrix_set_color(17, 0, 90, 255); // blue - break; - case 3: - // color thumbs - rgb_matrix_set_color(35, 4, 147, 4); // green - rgb_matrix_set_color(34, 4, 147, 4); // green - rgb_matrix_set_color(33, 4, 147, 4); // green - rgb_matrix_set_color(15, 4, 147, 4); // green - rgb_matrix_set_color(16, 4, 147, 4); // green - rgb_matrix_set_color(17, 4, 147, 4); // green // color pairs // ยด` rgb_matrix_set_color(5, 20, 214, 22); // 50 shades of green @@ -61,6 +55,17 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { rgb_matrix_set_color(14, 235, 56, 19); // 50 shades of red rgb_matrix_set_color(32, 235, 56, 19); // 50 shades of red break; + // mov + case 3: + // color thumbs + rgb_matrix_set_color(35, 4, 147, 4); // green + rgb_matrix_set_color(34, 4, 147, 4); // green + rgb_matrix_set_color(33, 4, 147, 4); // green + rgb_matrix_set_color(15, 4, 147, 4); // green + rgb_matrix_set_color(16, 4, 147, 4); // green + rgb_matrix_set_color(17, 4, 147, 4); // green + break; + // media case 4: // color thumbs rgb_matrix_set_color(35, 255, 241, 21); // yellow