summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjack <0x6A73@pm.me>2022-10-27 14:04:33 -0600
committerGitHub <noreply@github.com>2022-10-27 16:04:33 -0400
commita96a9fd5f8d1db141bc4d5083b63267aac035adf (patch)
treeb38a72c1f0a4371e5ab3d2ae6e2f5f57f8fdb6d6
parent7b888fb3287b939af5ae12688e2e808a81c91427 (diff)
Fixup keebio/sinc/rev3 (#18866)
-rw-r--r--keyboards/keebio/sinc/rev3/config.h6
-rw-r--r--keyboards/keebio/sinc/rev3/info.json17
2 files changed, 7 insertions, 16 deletions
diff --git a/keyboards/keebio/sinc/rev3/config.h b/keyboards/keebio/sinc/rev3/config.h
index 5d698b7aec..664ad11535 100644
--- a/keyboards/keebio/sinc/rev3/config.h
+++ b/keyboards/keebio/sinc/rev3/config.h
@@ -27,8 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define I2C1_SCL_PIN GP22
#define I2C1_SDA_PIN GP23
-#define RGBLIGHT_DEFAULT_VAL 120
-#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
// RGB Matrix
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
@@ -70,8 +68,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120
#define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
-#define DRIVER_LED_TOTAL RGBLED_NUM
-#define RGB_MATRIX_SPLIT RGBLED_SPLIT
+#define RGB_DI_PIN GP18
+#define RGB_MATRIX_LED_COUNT 113
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
diff --git a/keyboards/keebio/sinc/rev3/info.json b/keyboards/keebio/sinc/rev3/info.json
index 37640dbf9b..0b4e32a6ab 100644
--- a/keyboards/keebio/sinc/rev3/info.json
+++ b/keyboards/keebio/sinc/rev3/info.json
@@ -12,7 +12,7 @@
"console": true,
"rgblight": false,
"backlight": false,
- "rgb_matrix": true,
+ "rgb_matrix": true
},
"split": {
"enabled": true,
@@ -27,8 +27,8 @@
"right":{
"cols": ["GP29", "GP28", "GP27", "GP7", "GP2", "GP3", "GP11", "GP12", "GP13"],
"rows": ["GP16", "GP19", "GP17", "GP9", "GP8", "GP26"]
- },
- },
+ }
+ }
},
"matrix_pins": {
"cols": ["GP29", "GP28", "GP27", "GP7", "GP2", "GP3", "GP11", "GP12", "GP13"],
@@ -40,16 +40,9 @@
{"pin_a": "GP21", "pin_b": "GP20" }
]
},
- "rgblight": {
- "pin": "GP18",
- "led_count": 113,
- "max_brightness": 120,
- "sleep": true,
- "split": true,
- "split_count": [56, 57]
- },
"rgb_matrix": {
"driver": "WS2812",
+ "split_count": [56, 57],
"layout": [
{ "flags": 4, "matrix": [5, 2], "x": 30, "y": 0 },
{ "flags": 2, "x": 42, "y": 6 },
@@ -178,5 +171,5 @@
{ "flags": 4, "matrix": [10, 7], "x": 224, "y": 64 },
{ "flags": 2, "x": 224, "y": 55 }
]
- },
+ }
}