summaryrefslogtreecommitdiff
path: root/keyboards/phantom
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/phantom
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/phantom')
-rw-r--r--keyboards/phantom/config.h1
-rw-r--r--keyboards/phantom/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/phantom/config.h b/keyboards/phantom/config.h
index 6e2931a9d6..23a98fa480 100644
--- a/keyboards/phantom/config.h
+++ b/keyboards/phantom/config.h
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-# define RGBLED_NUM 20
# define RGBLIGHT_HUE_STEP 10
# define RGBLIGHT_SAT_STEP 17
# define RGBLIGHT_VAL_STEP 17
diff --git a/keyboards/phantom/info.json b/keyboards/phantom/info.json
index bf858eaf06..745c97a2c9 100644
--- a/keyboards/phantom/info.json
+++ b/keyboards/phantom/info.json
@@ -17,6 +17,9 @@
"caps_lock": "B6",
"scroll_lock": "B7"
},
+ "rgblight": {
+ "led_count": 20
+ },
"ws2812": {
"pin": "E2"
},