summaryrefslogtreecommitdiffstats
path: root/keyboards/foxlab/leaf60
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-24 17:37:54 +1000
committerGitHub <noreply@github.com>2023-06-24 17:37:54 +1000
commit4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe (patch)
treecf48a8728411d2ad4a00422edad87a26288a95ec /keyboards/foxlab/leaf60
parent6545eb64a0cc1797893c6782e78a3ecc68de729d (diff)
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/foxlab/leaf60')
-rw-r--r--keyboards/foxlab/leaf60/hotswap/config.h3
-rw-r--r--keyboards/foxlab/leaf60/hotswap/info.json2
-rw-r--r--keyboards/foxlab/leaf60/universal/config.h3
-rw-r--r--keyboards/foxlab/leaf60/universal/info.json2
4 files changed, 4 insertions, 6 deletions
diff --git a/keyboards/foxlab/leaf60/hotswap/config.h b/keyboards/foxlab/leaf60/hotswap/config.h
index 1ff8774437..4b19ee06e7 100644
--- a/keyboards/foxlab/leaf60/hotswap/config.h
+++ b/keyboards/foxlab/leaf60/hotswap/config.h
@@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
- #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
diff --git a/keyboards/foxlab/leaf60/hotswap/info.json b/keyboards/foxlab/leaf60/hotswap/info.json
index 8908ef057b..144311d89a 100644
--- a/keyboards/foxlab/leaf60/hotswap/info.json
+++ b/keyboards/foxlab/leaf60/hotswap/info.json
@@ -23,6 +23,8 @@
"on_state": 0
},
"rgblight": {
+ "saturation_steps": 8,
+ "brightness_steps": 8,
"led_count": 8,
"sleep": true
},
diff --git a/keyboards/foxlab/leaf60/universal/config.h b/keyboards/foxlab/leaf60/universal/config.h
index 1ff8774437..4b19ee06e7 100644
--- a/keyboards/foxlab/leaf60/universal/config.h
+++ b/keyboards/foxlab/leaf60/universal/config.h
@@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
- #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
diff --git a/keyboards/foxlab/leaf60/universal/info.json b/keyboards/foxlab/leaf60/universal/info.json
index 84fa69d0cf..7847228417 100644
--- a/keyboards/foxlab/leaf60/universal/info.json
+++ b/keyboards/foxlab/leaf60/universal/info.json
@@ -22,6 +22,8 @@
"on_state": 0
},
"rgblight": {
+ "saturation_steps": 8,
+ "brightness_steps": 8,
"led_count": 8,
"sleep": true
},