diff options
author | Ryan <fauxpark@gmail.com> | 2023-06-18 14:39:07 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-18 14:39:07 +1000 |
commit | b1783db4eacacaf8181cfbce13146db1941486ba (patch) | |
tree | d464d835a882fa7b2c205eb0b2d73f7ddf0b7145 /keyboards/kagizaraya | |
parent | 7178645be79510eb623098bccbf1724ff9970edc (diff) |
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/kagizaraya')
-rw-r--r-- | keyboards/kagizaraya/halberd/config.h | 1 | ||||
-rw-r--r-- | keyboards/kagizaraya/halberd/info.json | 3 | ||||
-rw-r--r-- | keyboards/kagizaraya/scythe/config.h | 1 | ||||
-rw-r--r-- | keyboards/kagizaraya/scythe/info.json | 1 |
4 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/kagizaraya/halberd/config.h b/keyboards/kagizaraya/halberd/config.h index 9b42731f84..d81b6695f0 100644 --- a/keyboards/kagizaraya/halberd/config.h +++ b/keyboards/kagizaraya/halberd/config.h @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#define RGBLED_NUM 40 #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 diff --git a/keyboards/kagizaraya/halberd/info.json b/keyboards/kagizaraya/halberd/info.json index 790db40f6d..6e1ab85cbb 100644 --- a/keyboards/kagizaraya/halberd/info.json +++ b/keyboards/kagizaraya/halberd/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "rgblight": { + "led_count": 40 + }, "ws2812": { "pin": "F0" }, diff --git a/keyboards/kagizaraya/scythe/config.h b/keyboards/kagizaraya/scythe/config.h index cafa5575bb..7d3afe6307 100644 --- a/keyboards/kagizaraya/scythe/config.h +++ b/keyboards/kagizaraya/scythe/config.h @@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#define RGBLED_NUM 9 #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 diff --git a/keyboards/kagizaraya/scythe/info.json b/keyboards/kagizaraya/scythe/info.json index 0aaeb704ac..545deac396 100644 --- a/keyboards/kagizaraya/scythe/info.json +++ b/keyboards/kagizaraya/scythe/info.json @@ -20,6 +20,7 @@ "soft_serial_pin": "D0" }, "rgblight": { + "led_count": 9 "split": true }, "ws2812": { |