diff options
author | Joshua Diamond <josh@windowoffire.com> | 2020-06-01 05:02:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 11:02:28 +0200 |
commit | e2e287ec5f720839efd8f7cecf447763433cda27 (patch) | |
tree | fba21d51c2a44c3c088872ce940c2d0e48b3fa45 /docs | |
parent | dfcd4f0d25bb3db8798ad8bb06da0fab68e7cf25 (diff) | |
download | qmk_firmware-e2e287ec5f720839efd8f7cecf447763433cda27.tar.gz qmk_firmware-e2e287ec5f720839efd8f7cecf447763433cda27.zip |
Option to allow lighting layers when RGB Lighting is off (#9051)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/config_options.md | 2 | ||||
-rw-r--r-- | docs/feature_rgblight.md | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/config_options.md b/docs/config_options.md index b96079e60..ab26fd46c 100644 --- a/docs/config_options.md +++ b/docs/config_options.md | |||
@@ -197,6 +197,8 @@ If you define these options you will enable the associated feature, which may in | |||
197 | * Note: Increasing the maximum will increase the firmware size and slow sync on split keyboards. | 197 | * Note: Increasing the maximum will increase the firmware size and slow sync on split keyboards. |
198 | * `#define RGBLIGHT_LAYER_BLINK` | 198 | * `#define RGBLIGHT_LAYER_BLINK` |
199 | * Adds ability to [blink](feature_rgblight.md?id=lighting-layer-blink) a lighting layer for a specified number of milliseconds (e.g. to acknowledge an action). | 199 | * Adds ability to [blink](feature_rgblight.md?id=lighting-layer-blink) a lighting layer for a specified number of milliseconds (e.g. to acknowledge an action). |
200 | * `#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF` | ||
201 | * If defined, then [lighting layers](feature_rgblight?id=overriding-rgb-lighting-onoff-status) will be shown even if RGB Light is off. | ||
200 | * `#define RGBLED_NUM 12` | 202 | * `#define RGBLED_NUM 12` |
201 | * number of LEDs | 203 | * number of LEDs |
202 | * `#define RGBLIGHT_SPLIT` | 204 | * `#define RGBLIGHT_SPLIT` |
diff --git a/docs/feature_rgblight.md b/docs/feature_rgblight.md index 7f5c8a36c..5921e9941 100644 --- a/docs/feature_rgblight.md +++ b/docs/feature_rgblight.md | |||
@@ -278,6 +278,10 @@ void post_process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
278 | } | 278 | } |
279 | ``` | 279 | ``` |
280 | 280 | ||
281 | ### Overriding RGB Lighting on/off status | ||
282 | |||
283 | Normally lighting layers are not shown when RGB Lighting is disabled (e.g. with `RGB_TOG` keycode). If you would like lighting layers to work even when the RGB Lighting is otherwise off, add `#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF` to your `config.h`. | ||
284 | |||
281 | ## Functions | 285 | ## Functions |
282 | 286 | ||
283 | 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: | 287 | 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: |