summary refs log tree commit diff
path: root/keyboards/wuque
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/wuque
parent8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff)
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/wuque')
-rw-r--r--keyboards/wuque/creek70/config.h1
-rw-r--r--keyboards/wuque/creek70/info.json3
-rw-r--r--keyboards/wuque/ikki68/config.h1
-rw-r--r--keyboards/wuque/ikki68/info.json3
-rw-r--r--keyboards/wuque/ikki68_aurora/config.h1
-rw-r--r--keyboards/wuque/ikki68_aurora/info.json3
-rw-r--r--keyboards/wuque/promise87/ansi/config.h1
-rw-r--r--keyboards/wuque/promise87/ansi/info.json3
-rw-r--r--keyboards/wuque/promise87/wkl/config.h1
-rw-r--r--keyboards/wuque/promise87/wkl/info.json3
10 files changed, 15 insertions, 5 deletions
diff --git a/keyboards/wuque/creek70/config.h b/keyboards/wuque/creek70/config.h
index 61a472d2fb..d33ee006aa 100644
--- a/keyboards/wuque/creek70/config.h
+++ b/keyboards/wuque/creek70/config.h
@@ -20,7 +20,6 @@
 #    define RGBLIGHT_HUE_STEP 8
 #    define RGBLIGHT_SAT_STEP 8
 #    define RGBLIGHT_VAL_STEP 8
-#    define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */
 #    define RGBLIGHT_SLEEP
 #    define RGBLIGHT_EFFECT_BREATHING
 #    define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/wuque/creek70/info.json b/keyboards/wuque/creek70/info.json
index ea5c4e8ab3..5e54c694ed 100644
--- a/keyboards/wuque/creek70/info.json
+++ b/keyboards/wuque/creek70/info.json
@@ -29,6 +29,9 @@
   "ws2812": {
     "pin": "D0"
   },
+  "rgblight": {
+    "max_brightness": 200
+  },
   "layouts": {
     "LAYOUT": {
       "layout": [
diff --git a/keyboards/wuque/ikki68/config.h b/keyboards/wuque/ikki68/config.h
index 9ca2e18c52..80ecfb420d 100644
--- a/keyboards/wuque/ikki68/config.h
+++ b/keyboards/wuque/ikki68/config.h
@@ -27,7 +27,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
     #define RGBLIGHT_HUE_STEP 8
     #define RGBLIGHT_SAT_STEP 8
     #define RGBLIGHT_VAL_STEP 8
-    #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */
     #define RGBLIGHT_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */
 /*======= RGB function=======*/
 #define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/wuque/ikki68/info.json b/keyboards/wuque/ikki68/info.json
index 5de436ac17..e450f95dbf 100644
--- a/keyboards/wuque/ikki68/info.json
+++ b/keyboards/wuque/ikki68/info.json
@@ -11,6 +11,9 @@
     "ws2812": {
         "pin": "E2"
     },
+    "rgblight": {
+        "max_brightness": 200
+    },
     "matrix_pins": {
         "cols": ["D1", "D0", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "B5", "F0", "F1", "B6", "F4", "F5", "F6", "F7"],
         "rows": ["B0", "B1", "B2", "B3", "E6"]
diff --git a/keyboards/wuque/ikki68_aurora/config.h b/keyboards/wuque/ikki68_aurora/config.h
index 19720b3bb4..c5726c333e 100644
--- a/keyboards/wuque/ikki68_aurora/config.h
+++ b/keyboards/wuque/ikki68_aurora/config.h
@@ -27,7 +27,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
     #define RGBLIGHT_HUE_STEP 8
     #define RGBLIGHT_SAT_STEP 8
     #define RGBLIGHT_VAL_STEP 8
-    #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */
     #define RGBLIGHT_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */
 /*======= RGB function=======*/
 #define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/wuque/ikki68_aurora/info.json b/keyboards/wuque/ikki68_aurora/info.json
index a1d965a569..2e93f0efc7 100644
--- a/keyboards/wuque/ikki68_aurora/info.json
+++ b/keyboards/wuque/ikki68_aurora/info.json
@@ -20,6 +20,9 @@
     "ws2812": {
         "pin": "E2"
     },
+    "rgblight": {
+        "max_brightness": 200
+    },
     "processor": "atmega32u4",
     "bootloader": "atmel-dfu",
     "layouts": {
diff --git a/keyboards/wuque/promise87/ansi/config.h b/keyboards/wuque/promise87/ansi/config.h
index c9e7fa42fb..b0e79e97c7 100644
--- a/keyboards/wuque/promise87/ansi/config.h
+++ b/keyboards/wuque/promise87/ansi/config.h
@@ -20,7 +20,6 @@
     #define RGBLIGHT_HUE_STEP 8
     #define RGBLIGHT_SAT_STEP 8
     #define RGBLIGHT_VAL_STEP 8
-    #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */
     #define RGBLIGHT_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */
 /*======= RGB function=======*/
 #define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/wuque/promise87/ansi/info.json b/keyboards/wuque/promise87/ansi/info.json
index 6bb1b38a42..d49b4aaa79 100644
--- a/keyboards/wuque/promise87/ansi/info.json
+++ b/keyboards/wuque/promise87/ansi/info.json
@@ -20,6 +20,9 @@
   "ws2812": {
     "pin": "D2"
   },
+  "rgblight": {
+    "max_brightness": 200
+  },
   "processor": "atmega32u4",
   "bootloader": "atmel-dfu",
   "layout_aliases": {
diff --git a/keyboards/wuque/promise87/wkl/config.h b/keyboards/wuque/promise87/wkl/config.h
index c9e7fa42fb..b0e79e97c7 100644
--- a/keyboards/wuque/promise87/wkl/config.h
+++ b/keyboards/wuque/promise87/wkl/config.h
@@ -20,7 +20,6 @@
     #define RGBLIGHT_HUE_STEP 8
     #define RGBLIGHT_SAT_STEP 8
     #define RGBLIGHT_VAL_STEP 8
-    #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */
     #define RGBLIGHT_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */
 /*======= RGB function=======*/
 #define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/wuque/promise87/wkl/info.json b/keyboards/wuque/promise87/wkl/info.json
index 5cb4d7a5d0..7e0d7cfdcb 100644
--- a/keyboards/wuque/promise87/wkl/info.json
+++ b/keyboards/wuque/promise87/wkl/info.json
@@ -20,6 +20,9 @@
   "ws2812": {
     "pin": "D2"
   },
+  "rgblight": {
+    "max_brightness": 200
+  },
   "processor": "atmega32u4",
   "bootloader": "atmel-dfu",
   "layout_aliases": {