summaryrefslogtreecommitdiff
path: root/keyboards/unikorn
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/unikorn
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/unikorn')
-rw-r--r--keyboards/unikorn/config.h1
-rw-r--r--keyboards/unikorn/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/unikorn/config.h b/keyboards/unikorn/config.h
index 4c3789155e..d0153fcff0 100644
--- a/keyboards/unikorn/config.h
+++ b/keyboards/unikorn/config.h
@@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#ifdef RGBLIGHT_ENABLE
-#define RGBLED_NUM 17
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/unikorn/info.json b/keyboards/unikorn/info.json
index 02202bef07..5bd23e612e 100644
--- a/keyboards/unikorn/info.json
+++ b/keyboards/unikorn/info.json
@@ -16,6 +16,9 @@
"backlight": {
"pin": "D4"
},
+ "rgblight": {
+ "led_count": 17
+ },
"ws2812": {
"driver": "i2c"
},