diff options
author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2019-05-02 23:59:29 +0900 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-05-02 07:59:29 -0700 |
commit | 3da8d46a07167fc862e90b6bb232812d5cb64651 (patch) | |
tree | 5af2e45ad1349b21afb075441a5032897e3b812d /docs | |
parent | 4db31fb374d365bfa0f5c8a25d089bb2f967352f (diff) | |
download | qmk_firmware-3da8d46a07167fc862e90b6bb232812d5cb64651.tar.gz qmk_firmware-3da8d46a07167fc862e90b6bb232812d5cb64651.zip |
If RGBLIGHT_EFFECT_BREATHE_CENTER is undefined, use fixed breathe table instead of exp() and sin() (#5484)
* If RGBLIGHT_EFFECT_BREATHE_CENTER is undefined, use fixed breathe table instead of exp() and sin()
* Change rgblight breathing table size to be easily selectable.
add RGBLIGHT_BREATHE_TABLE_SIZE macro for customize breathing effect.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/feature_rgblight.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/feature_rgblight.md b/docs/feature_rgblight.md index 8b0a45cb64..4572f45b26 100644 --- a/docs/feature_rgblight.md +++ b/docs/feature_rgblight.md @@ -114,7 +114,7 @@ The following options can be used to tweak the various animations: |`RGBLIGHT_EFFECT_RGB_TEST` |*Not defined*|If defined, enable RGB test animation mode. | |`RGBLIGHT_EFFECT_ALTERNATING` |*Not defined*|If defined, enable alternating animation mode. | |`RGBLIGHT_ANIMATIONS` |*Not defined*|If defined, enables all additional animation modes | -|`RGBLIGHT_EFFECT_BREATHE_CENTER` |`1.85` |Used to calculate the curve for the breathing animation. Valid values are 1.0 to 2.7 | +|`RGBLIGHT_EFFECT_BREATHE_CENTER` |*Not defined*|If defined, used to calculate the curve for the breathing animation. Valid values are 1.0 to 2.7 | |`RGBLIGHT_EFFECT_BREATHE_MAX` |`255` |The maximum brightness for the breathing mode. Valid values are 1 to 255 | |`RGBLIGHT_EFFECT_SNAKE_LENGTH` |`4` |The number of LEDs to light up for the "Snake" animation | |`RGBLIGHT_EFFECT_KNIGHT_LENGTH` |`3` |The number of LEDs to light up for the "Knight" animation | |