aboutsummaryrefslogtreecommitdiffstats
path: root/docs/feature_rgblight.md
diff options
context:
space:
mode:
authorFrei <1476684+frei0@users.noreply.github.com>2020-03-17 16:43:04 -0700
committerGitHub <noreply@github.com>2020-03-17 23:43:04 +0000
commit6f55aa993a4498f411c97025049d92019414af68 (patch)
tree7cd0813e5fdc21c13f5ced64009fa9f26c233903 /docs/feature_rgblight.md
parente34764502f7fdd0e1104b18fb4ddf77a352ee2a7 (diff)
downloadfirmware-6f55aa993a4498f411c97025049d92019414af68.tar.gz
firmware-6f55aa993a4498f411c97025049d92019414af68.tar.bz2
firmware-6f55aa993a4498f411c97025049d92019414af68.zip
[docs] Note the need to flash both sides for rgb layers. (#8467)
Update feature_rgblight.md to note that for split dual-mcu boards, both sides must be flash to get the new value of the rgblight_layers. https://github.com/qmk/qmk_firmware/pull/7768#issuecomment-600237611
Diffstat (limited to 'docs/feature_rgblight.md')
-rw-r--r--docs/feature_rgblight.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/feature_rgblight.md b/docs/feature_rgblight.md
index a000241f8..cf54dddfb 100644
--- a/docs/feature_rgblight.md
+++ b/docs/feature_rgblight.md
@@ -228,6 +228,8 @@ bool led_update_user(led_t led_state) {
}
```
+Note: For split keyboards with two controllers, both sides need to be flashed when updating the contents of rgblight_layers.
+
## Functions
If you need to change your RGB lighting in code, for example in a macro to change the color whenever you switch layers, QMK provides a set of functions to assist you. See [`rgblight.h`](https://github.com/qmk/qmk_firmware/blob/master/quantum/rgblight.h) for the full list, but the most commonly used functions include: