]> git.donarmstrong.com Git - qmk_firmware.git/commit
Add effect range to rgblight.c (#5856)
authorTakeshi ISHII <2170248+mtei@users.noreply.github.com>
Thu, 16 May 2019 04:11:28 +0000 (13:11 +0900)
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>
Thu, 16 May 2019 04:11:28 +0000 (21:11 -0700)
commit670a9b7f83dacf2b0e9fb42756935a77598c6677
treee265e0b8f4dbc2df2e0eff45c474a3ce9423b122
parentacd3e79add2d47ab664b831936e5b6e71d3b8e15
Add effect range to rgblight.c (#5856)

* add rgblight_set_effect_range()

* implement effect range

* Arrange the order of function list in rgblight.h .

* update docs/feature_rgblight.md

* fix RGBLIGHT_RAINBOW_SWIRL_RANGE default value

* add example code about Utility Functions

* add example code about direct operation functions

* When RGBLIGHT_SPLIT is defined, the following function has no meaning and is invalidated.

 * rgblight_setrgb_master(r, g, b)
 * rgblight_setrgb_slave(r, g, b)
 * rgblight_sethsv_master(h, s, v)
 * rgblight_sethsv_slave(h, s, v)

* add temporary test code for rgblight_set_effect_range

* fix rgblight_effect_knight() bug

* Test End. Revert "add temporary test code for rgblight_set_effect_range"

This reverts commit 5680cddd012d68b2db75a532862a7fef250f8973.
docs/feature_rgblight.md
quantum/rgblight.c
quantum/rgblight.h