summaryrefslogtreecommitdiff
path: root/keyboards/loki65
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/loki65
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/loki65')
-rw-r--r--keyboards/loki65/config.h1
-rw-r--r--keyboards/loki65/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/loki65/config.h b/keyboards/loki65/config.h
index 750a12d64f..749321732f 100644
--- a/keyboards/loki65/config.h
+++ b/keyboards/loki65/config.h
@@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_DMA_CHANNEL 5
#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
-#define RGBLED_NUM 37
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/loki65/info.json b/keyboards/loki65/info.json
index a1a5e3ef06..5442a3e813 100644
--- a/keyboards/loki65/info.json
+++ b/keyboards/loki65/info.json
@@ -8,6 +8,9 @@
"pid": "0x4C36",
"device_version": "0.0.1"
},
+ "rgblight": {
+ "led_count": 37
+ },
"ws2812": {
"pin": "A9",
"driver": "pwm"