Skip to content

Commit

Permalink
[docs] Note the need to flash both sides for rgb layers. (qmk#8467)
Browse files Browse the repository at this point in the history
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.

qmk#7768 (comment)
  • Loading branch information
frei0 authored and sowbug committed Apr 2, 2020
1 parent 7f1cd82 commit 88f3a7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/feature_rgblight.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 88f3a7a

Please sign in to comment.