summaryrefslogtreecommitdiff
path: root/keyboards/0xcb
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/0xcb')
-rw-r--r--keyboards/0xcb/splaytoraid/config.h19
-rw-r--r--keyboards/0xcb/splaytoraid/info.json18
-rw-r--r--keyboards/0xcb/splaytoraid/rp2040_ce/config.h25
-rw-r--r--keyboards/0xcb/splaytoraid/rp2040_ce/info.json21
4 files changed, 38 insertions, 45 deletions
diff --git a/keyboards/0xcb/splaytoraid/config.h b/keyboards/0xcb/splaytoraid/config.h
deleted file mode 100644
index 00674eea11..0000000000
--- a/keyboards/0xcb/splaytoraid/config.h
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2023 Conor Burns (@Conor-Burns)
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-
-#pragma once
-
-#define RGB_MATRIX_LED_COUNT 18
-#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
-#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_BREATHING
-#define RGB_MATRIX_DEFAULT_HUE 152
-#define RGB_MATRIX_DEFAULT_SAT 232
-#define RGB_MATRIX_DEFAULT_SPD 50
-
-#define ENABLE_RGB_MATRIX_BREATHING
-#define ENABLE_RGB_MATRIX_SOLID_COLOR
-#define ENABLE_RGB_MATRIX_BAND_SAT
-#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
-#define ENABLE_RGB_MATRIX_CYCLE_ALL
-#define ENABLE_RGB_MATRIX_RAINDROPS
-#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
diff --git a/keyboards/0xcb/splaytoraid/info.json b/keyboards/0xcb/splaytoraid/info.json
index c218d1ff78..f9dece021e 100644
--- a/keyboards/0xcb/splaytoraid/info.json
+++ b/keyboards/0xcb/splaytoraid/info.json
@@ -36,6 +36,21 @@
]
},
"rgb_matrix": {
+ "animations": {
+ "breathing": true,
+ "solid_color": true,
+ "band_sat": true,
+ "band_spiral_val": true,
+ "cycle_all": true,
+ "raindrops": true,
+ "cycle_left_right": true
+ },
+ "default": {
+ "animation": "breathing",
+ "hue": 152,
+ "sat": 232,
+ "speed": 50
+ },
"driver": "ws2812",
"layout": [
{"flags": 4, "matrix": [0, 2], "x": 0, "y": 0},
@@ -56,7 +71,8 @@
{"flags": 4, "matrix": [7, 5], "x": 122, "y": 64},
{"flags": 4, "matrix": [1, 5], "x": 142, "y": 64},
{"flags": 4, "matrix": [0, 3], "x": 163, "y": 64}
- ]
+ ],
+ "max_brightness": 200
},
"ws2812": {
"pin": "D0"
diff --git a/keyboards/0xcb/splaytoraid/rp2040_ce/config.h b/keyboards/0xcb/splaytoraid/rp2040_ce/config.h
deleted file mode 100644
index 65bb22450e..0000000000
--- a/keyboards/0xcb/splaytoraid/rp2040_ce/config.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2023 Conor Burns (@Conor-Burns)
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-
-#pragma once
-
-#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
-#define RGB_MATRIX_KEYPRESSES
-
-#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
-#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
-#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
-#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
-#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
-#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
-#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
-#define ENABLE_RGB_MATRIX_PIXEL_RAIN
-#define ENABLE_RGB_MATRIX_DUAL_BEACON
-#define ENABLE_RGB_MATRIX_HUE_BREATHING
-#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
-#define ENABLE_RGB_MATRIX_DIGITAL_RAIN
-#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
-#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
-#define ENABLE_RGB_MATRIX_SPLASH
-#define ENABLE_RGB_MATRIX_MULTISPLASH
-#define ENABLE_RGB_MATRIX_SOLID_SPLASH
diff --git a/keyboards/0xcb/splaytoraid/rp2040_ce/info.json b/keyboards/0xcb/splaytoraid/rp2040_ce/info.json
index 9f0eb51118..49256b6482 100644
--- a/keyboards/0xcb/splaytoraid/rp2040_ce/info.json
+++ b/keyboards/0xcb/splaytoraid/rp2040_ce/info.json
@@ -1,4 +1,25 @@
{
+ "rgb_matrix": {
+ "animations": {
+ "cycle_up_down": true,
+ "jellybean_raindrops": true,
+ "cycle_out_in": true,
+ "cycle_out_in_dual": true,
+ "pixel_fractal": true,
+ "rainbow_moving_chevron": true,
+ "cycle_pinwheel": true,
+ "pixel_rain": true,
+ "dual_beacon": true,
+ "hue_breathing": true,
+ "typing_heatmap": true,
+ "digital_rain": true,
+ "solid_reactive_simple": true,
+ "solid_reactive": true,
+ "splash": true,
+ "multisplash": true,
+ "solid_splash": true
+ }
+ },
"ws2812": {
"driver": "vendor"
}