From 64f0e79477c1b8d4fd256441c213b12c1d320b1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=95=E3=82=A3=E3=83=AB=E3=82=BF=E3=83=BC=E3=83=9A?= =?UTF-8?q?=E3=83=BC=E3=83=91=E3=83=BC?= <76888457+filterpaper@users.noreply.github.com> Date: Wed, 12 Jul 2023 07:42:56 +0800 Subject: [PATCH 1/2] Document the right location for indicator functions Improve description of RGB matrix indicator functions by stating the explicit location for both `kb` and `user` versions. --- docs/feature_rgb_matrix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/feature_rgb_matrix.md b/docs/feature_rgb_matrix.md index 75f07b5e64cf..822bc8f73485 100644 --- a/docs/feature_rgb_matrix.md +++ b/docs/feature_rgb_matrix.md @@ -964,7 +964,7 @@ The EEPROM for it is currently shared with the LED Matrix system (it's generally ### Indicators :id=indicators -If you want to set custom indicators, such as an LED for Caps Lock, or layer indication, you can use the `rgb_matrix_indicators_kb` or `rgb_matrix_indicators_user` function for that: +If you want to set custom indicators, such as an LED for Caps Lock, or layer indication, then you can use the `rgb_matrix_indicators_kb` function on the keyboard level source file, or `rgb_matrix_indicators_user` function in the user `keymap.c`. ```c bool rgb_matrix_indicators_kb(void) { if (!rgb_matrix_indicators_user()) { From 1d05c0932479c64e95a71c09ff3ed06ba1013095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=95=E3=82=A3=E3=83=AB=E3=82=BF=E3=83=BC=E3=83=9A?= =?UTF-8?q?=E3=83=BC=E3=83=91=E3=83=BC?= <76888457+filterpaper@users.noreply.github.com> Date: Wed, 12 Jul 2023 11:56:49 +0800 Subject: [PATCH 2/2] Add the same description for LED matrix indicator --- docs/feature_led_matrix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/feature_led_matrix.md b/docs/feature_led_matrix.md index bc86099f1ffe..86dff89eca94 100644 --- a/docs/feature_led_matrix.md +++ b/docs/feature_led_matrix.md @@ -433,7 +433,7 @@ The EEPROM for it is currently shared with the RGB Matrix system (it's generally ### Indicators :id=indicators -If you want to set custom indicators, such as an LED for Caps Lock, or layer indication, you can use the `led_matrix_indicators_kb` or `led_matrix_indicators_user` function for that: +If you want to set custom indicators, such as an LED for Caps Lock, or layer indication, then you can use the `led_matrix_indicators_kb` function on the keyboard level source file, or `led_matrix_indicators_user` function in the user `keymap.c`. ```c bool led_matrix_indicators_kb(void) { if (!led_matrix_indicators_user()) {