skeletyl: rgb layer indicator only on thumb keys

This commit is contained in:
Michael Grote 2024-03-22 17:20:54 +01:00
parent 5fac784784
commit aa8bc12348

View file

@ -16,19 +16,38 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
break; break;
case 1: case 1:
// <led-index> {siehe ../../skeletyl.c) <rgb-wert> // <led-index> {siehe ../../skeletyl.c) <rgb-wert>
rgb_matrix_set_color(2, 255, 165, 0); // orange rgb_matrix_set_color(35, 255, 165, 0); // orange
rgb_matrix_set_color(34, 255, 165, 0); // orange
rgb_matrix_set_color(33, 255, 165, 0); // orange
break; break;
case 2: case 2:
rgb_matrix_set_color(2, 0, 90, 255); // blue 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; break;
case 3: case 3:
rgb_matrix_set_color(2, 4, 147, 4); // green 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; break;
case 4: case 4:
rgb_matrix_set_color(2, 255, 241, 21); // yellow rgb_matrix_set_color(35, 255, 241, 21); // yellow
rgb_matrix_set_color(34, 255, 241, 21); // yellow
rgb_matrix_set_color(33, 255, 241, 21); // yellow
rgb_matrix_set_color(15, 255, 241, 21); // yellow
rgb_matrix_set_color(16, 255, 241, 21); // yellow
rgb_matrix_set_color(17, 255, 241, 21); // yellow
break; break;
case 5: case 5:
rgb_matrix_set_color(2, 165, 16, 16); // dark red rgb_matrix_set_color(35, 165, 16, 16); // dark red
rgb_matrix_set_color(34, 165, 16, 16); // dark red
rgb_matrix_set_color(33, 165, 16, 16); // dark red
rgb_matrix_set_color(15, 165, 16, 16); // dark red
rgb_matrix_set_color(16, 165, 16, 16); // dark red
rgb_matrix_set_color(17, 165, 16, 16); // dark red
break; break;
default: default:
rgblight_sethsv(4, 75, 150); // warmwhite (werte = hue, saturation, value) rgblight_sethsv(4, 75, 150); // warmwhite (werte = hue, saturation, value)
@ -38,6 +57,7 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
return false; return false;
} }
// combos; https://github.com/qmk/qmk_firmware/blob/master/docs/feature_combo.md // combos; https://github.com/qmk/qmk_firmware/blob/master/docs/feature_combo.md
enum combos { enum combos {
C_KA, C_KA,