summaryrefslogtreecommitdiff
path: root/keyboards/sneakbox
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/sneakbox
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/sneakbox')
-rw-r--r--keyboards/sneakbox/aliceclonergb/config.h1
-rw-r--r--keyboards/sneakbox/aliceclonergb/info.json3
-rw-r--r--keyboards/sneakbox/ava/config.h1
-rw-r--r--keyboards/sneakbox/ava/info.json3
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/sneakbox/aliceclonergb/config.h b/keyboards/sneakbox/aliceclonergb/config.h
index ceccc0915b..c671886e79 100644
--- a/keyboards/sneakbox/aliceclonergb/config.h
+++ b/keyboards/sneakbox/aliceclonergb/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 16
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/sneakbox/aliceclonergb/info.json b/keyboards/sneakbox/aliceclonergb/info.json
index e16645e735..b5398e46dc 100644
--- a/keyboards/sneakbox/aliceclonergb/info.json
+++ b/keyboards/sneakbox/aliceclonergb/info.json
@@ -26,6 +26,9 @@
"bootmagic": {
"matrix": [2, 0]
},
+ "rgblight": {
+ "led_count": 16
+ },
"ws2812": {
"pin": "D5"
},
diff --git a/keyboards/sneakbox/ava/config.h b/keyboards/sneakbox/ava/config.h
index a97d34f7f2..78ebef5b30 100644
--- a/keyboards/sneakbox/ava/config.h
+++ b/keyboards/sneakbox/ava/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 14
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8 \ No newline at end of file
diff --git a/keyboards/sneakbox/ava/info.json b/keyboards/sneakbox/ava/info.json
index 693794e031..c25da340e6 100644
--- a/keyboards/sneakbox/ava/info.json
+++ b/keyboards/sneakbox/ava/info.json
@@ -22,6 +22,9 @@
"caps_lock": "D6",
"num_lock": "D4"
},
+ "rgblight": {
+ "led_count": 14
+ },
"ws2812": {
"pin": "F7"
},