Move RGBLIGHT_HUE/SAT/VAL_STEP to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -20,9 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define TAP_CODE_DELAY 10
|
||||
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
"led": "B0"
|
||||
},
|
||||
"rgblight": {
|
||||
"saturation_steps": 8,
|
||||
"brightness_steps": 8,
|
||||
"led_count": 4,
|
||||
"sleep": true
|
||||
},
|
||||
|
||||
@@ -16,10 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGBLIGHT_HUE_STEP 10 // The number of steps to cycle through the hue by
|
||||
#define RGBLIGHT_SAT_STEP 17 // The number of steps to increment the saturation by
|
||||
#define RGBLIGHT_VAL_STEP 17 // The number of steps to increment the brightness by
|
||||
|
||||
#define RGBLIGHT_EFFECT_BREATHING // Enable all additional RGB animation modes
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
"matrix": [1, 0]
|
||||
},
|
||||
"rgblight": {
|
||||
"hue_steps": 10,
|
||||
"led_count": 4,
|
||||
"sleep": true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user