From b1783db4eacacaf8181cfbce13146db1941486ba Mon Sep 17 00:00:00 2001
From: Ryan
Date: Sun, 18 Jun 2023 14:39:07 +1000
Subject: Move `RGBLED_NUM` to data driven (#21278)
---
keyboards/rationalist/ratio65_hotswap/rev_a/config.h | 2 --
keyboards/rationalist/ratio65_hotswap/rev_a/info.json | 3 +++
keyboards/rationalist/ratio65_solder/rev_a/config.h | 2 --
keyboards/rationalist/ratio65_solder/rev_a/info.json | 3 +++
4 files changed, 6 insertions(+), 4 deletions(-)
(limited to 'keyboards/rationalist')
diff --git a/keyboards/rationalist/ratio65_hotswap/rev_a/config.h b/keyboards/rationalist/ratio65_hotswap/rev_a/config.h
index 17ec1a2bab..b6fd6835f3 100644
--- a/keyboards/rationalist/ratio65_hotswap/rev_a/config.h
+++ b/keyboards/rationalist/ratio65_hotswap/rev_a/config.h
@@ -16,8 +16,6 @@ along with this program. If not, see .
*/
#pragma once
-#define RGBLED_NUM 18
-
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/rationalist/ratio65_hotswap/rev_a/info.json b/keyboards/rationalist/ratio65_hotswap/rev_a/info.json
index c9fb81dad8..ed50bb852c 100644
--- a/keyboards/rationalist/ratio65_hotswap/rev_a/info.json
+++ b/keyboards/rationalist/ratio65_hotswap/rev_a/info.json
@@ -8,6 +8,9 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "rgblight": {
+ "led_count": 18
+ },
"ws2812": {
"pin": "D3"
},
diff --git a/keyboards/rationalist/ratio65_solder/rev_a/config.h b/keyboards/rationalist/ratio65_solder/rev_a/config.h
index c3f781ab7c..7de6a86e4f 100644
--- a/keyboards/rationalist/ratio65_solder/rev_a/config.h
+++ b/keyboards/rationalist/ratio65_solder/rev_a/config.h
@@ -16,8 +16,6 @@ along with this program. If not, see .
*/
#pragma once
-#define RGBLED_NUM 18
-
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/rationalist/ratio65_solder/rev_a/info.json b/keyboards/rationalist/ratio65_solder/rev_a/info.json
index a35fb50972..a789d1b229 100644
--- a/keyboards/rationalist/ratio65_solder/rev_a/info.json
+++ b/keyboards/rationalist/ratio65_solder/rev_a/info.json
@@ -8,6 +8,9 @@
"pid": "0x0002",
"device_version": "0.0.1"
},
+ "rgblight": {
+ "led_count": 18
+ },
"ws2812": {
"pin": "D3"
},
--
cgit v1.2.3