summaryrefslogtreecommitdiff
path: root/keyboards/swiftrax/retropad
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/swiftrax/retropad
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/swiftrax/retropad')
-rw-r--r--keyboards/swiftrax/retropad/config.h1
-rw-r--r--keyboards/swiftrax/retropad/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/swiftrax/retropad/config.h b/keyboards/swiftrax/retropad/config.h
index b737022959..9601386d13 100644
--- a/keyboards/swiftrax/retropad/config.h
+++ b/keyboards/swiftrax/retropad/config.h
@@ -27,7 +27,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 6
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/swiftrax/retropad/info.json b/keyboards/swiftrax/retropad/info.json
index 57ce8bd79e..ad243e8208 100644
--- a/keyboards/swiftrax/retropad/info.json
+++ b/keyboards/swiftrax/retropad/info.json
@@ -21,6 +21,9 @@
"bootmagic": {
"matrix": [1, 0]
},
+ "rgblight": {
+ "led_count": 6
+ },
"ws2812": {
"pin": "B7"
},