summaryrefslogtreecommitdiff
path: root/keyboards/avalanche/v4
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-18 14:39:07 +1000
committerGitHub <noreply@github.com>2023-06-18 14:39:07 +1000
commitb1783db4eacacaf8181cfbce13146db1941486ba (patch)
treed464d835a882fa7b2c205eb0b2d73f7ddf0b7145 /keyboards/avalanche/v4
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/avalanche/v4')
-rw-r--r--keyboards/avalanche/v4/config.h1
-rw-r--r--keyboards/avalanche/v4/info.json1
2 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/avalanche/v4/config.h b/keyboards/avalanche/v4/config.h
index 030111f9bb..a6a00312fa 100644
--- a/keyboards/avalanche/v4/config.h
+++ b/keyboards/avalanche/v4/config.h
@@ -4,7 +4,6 @@
#pragma once
#ifdef RGBLIGHT_ENABLE
-# define RGBLED_NUM 64
# define RGBLIGHT_HUE_STEP 10
# define RGBLIGHT_SAT_STEP 17
# define RGBLIGHT_VAL_STEP 17
diff --git a/keyboards/avalanche/v4/info.json b/keyboards/avalanche/v4/info.json
index 10591c3129..ae31c5e560 100644
--- a/keyboards/avalanche/v4/info.json
+++ b/keyboards/avalanche/v4/info.json
@@ -25,6 +25,7 @@
"pin": "D3"
},
"rgblight": {
+ "led_count": 64,
"max_brightness": 100,
"led_map": [28, 30, 31, 29, 24, 25, 26, 27, 22, 21, 20, 19, 23, 18, 14, 15, 16, 17, 12, 11, 10, 9, 13, 5, 6, 7, 8, 4, 3, 2, 1, 0, 34, 32, 33, 35, 37, 38, 39, 40, 45, 44, 43, 42, 36, 41, 47, 48, 49, 50, 54, 53, 52, 51, 46, 55, 56, 57, 58, 62, 61, 60, 59, 63],
"split_count": [32, 32]