summaryrefslogtreecommitdiff
path: root/keyboards/mt
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-05-27 12:27:44 +1000
committerGitHub <noreply@github.com>2023-05-27 12:27:44 +1000
commit363bfdbfda5ea9fa996390920a9e8982535b76c8 (patch)
tree65684518b21240b47f7a64d8f0462e246ede70cc /keyboards/mt
parent8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff)
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/mt')
-rw-r--r--keyboards/mt/mt980/config.h1
-rw-r--r--keyboards/mt/mt980/info.json3
-rw-r--r--keyboards/mt/ncr80/hotswap/config.h1
-rw-r--r--keyboards/mt/ncr80/hotswap/info.json3
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/mt/mt980/config.h b/keyboards/mt/mt980/config.h
index b1268b2b59..eff34dc521 100644
--- a/keyboards/mt/mt980/config.h
+++ b/keyboards/mt/mt980/config.h
@@ -20,4 +20,3 @@
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
-#define RGBLIGHT_LIMIT_VAL 185
diff --git a/keyboards/mt/mt980/info.json b/keyboards/mt/mt980/info.json
index 8c58c84c67..809474914f 100644
--- a/keyboards/mt/mt980/info.json
+++ b/keyboards/mt/mt980/info.json
@@ -25,6 +25,9 @@
"ws2812": {
"pin": "E2"
},
+ "rgblight": {
+ "max_brightness": 185
+ },
"bootmagic": {
"matrix": [5, 0]
},
diff --git a/keyboards/mt/ncr80/hotswap/config.h b/keyboards/mt/ncr80/hotswap/config.h
index 1bc6c9f937..59b05a0f9b 100644
--- a/keyboards/mt/ncr80/hotswap/config.h
+++ b/keyboards/mt/ncr80/hotswap/config.h
@@ -31,4 +31,3 @@
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
-#define RGBLIGHT_LIMIT_VAL 180
diff --git a/keyboards/mt/ncr80/hotswap/info.json b/keyboards/mt/ncr80/hotswap/info.json
index 40607ad3b9..f02a2f7405 100644
--- a/keyboards/mt/ncr80/hotswap/info.json
+++ b/keyboards/mt/ncr80/hotswap/info.json
@@ -22,6 +22,9 @@
"ws2812": {
"pin": "E2"
},
+ "rgblight": {
+ "max_brightness": 180
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {