summaryrefslogtreecommitdiff
path: root/keyboards/mtbkeys
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/mtbkeys
parent6545eb64a0cc1797893c6782e78a3ecc68de729d (diff)
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/mtbkeys')
-rw-r--r--keyboards/mtbkeys/mtb60/hotswap/config.h3
-rw-r--r--keyboards/mtbkeys/mtb60/hotswap/info.json2
-rw-r--r--keyboards/mtbkeys/mtb60/solder/config.h3
-rw-r--r--keyboards/mtbkeys/mtb60/solder/info.json2
4 files changed, 4 insertions, 6 deletions
diff --git a/keyboards/mtbkeys/mtb60/hotswap/config.h b/keyboards/mtbkeys/mtb60/hotswap/config.h
index f5e5dd16ec..8d57a9ebd6 100644
--- a/keyboards/mtbkeys/mtb60/hotswap/config.h
+++ b/keyboards/mtbkeys/mtb60/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_ALTERNATING
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_CHRISTMAS
diff --git a/keyboards/mtbkeys/mtb60/hotswap/info.json b/keyboards/mtbkeys/mtb60/hotswap/info.json
index d14ef0fca8..c4397f95a6 100644
--- a/keyboards/mtbkeys/mtb60/hotswap/info.json
+++ b/keyboards/mtbkeys/mtb60/hotswap/info.json
@@ -9,6 +9,8 @@
"device_version": "0.0.1"
},
"rgblight": {
+ "saturation_steps": 8,
+ "brightness_steps": 8,
"led_count": 16,
"sleep": true
},
diff --git a/keyboards/mtbkeys/mtb60/solder/config.h b/keyboards/mtbkeys/mtb60/solder/config.h
index f5e5dd16ec..8d57a9ebd6 100644
--- a/keyboards/mtbkeys/mtb60/solder/config.h
+++ b/keyboards/mtbkeys/mtb60/solder/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_ALTERNATING
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_CHRISTMAS
diff --git a/keyboards/mtbkeys/mtb60/solder/info.json b/keyboards/mtbkeys/mtb60/solder/info.json
index 31a7340137..a7a3a9a951 100644
--- a/keyboards/mtbkeys/mtb60/solder/info.json
+++ b/keyboards/mtbkeys/mtb60/solder/info.json
@@ -9,6 +9,8 @@
"device_version": "0.0.1"
},
"rgblight": {
+ "saturation_steps": 8,
+ "brightness_steps": 8,
"led_count": 16,
"sleep": true
},