Fixup keebio/sinc/rev3 (#18866)

This commit is contained in:
jack 2022-10-27 14:04:33 -06:00 committed by GitHub
parent 7b888fb328
commit a96a9fd5f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 16 deletions

View File

@ -27,8 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define I2C1_SCL_PIN GP22 #define I2C1_SCL_PIN GP22
#define I2C1_SDA_PIN GP23 #define I2C1_SDA_PIN GP23
#define RGBLIGHT_DEFAULT_VAL 120
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
// RGB Matrix // RGB Matrix
#define ENABLE_RGB_MATRIX_ALPHAS_MODS #define ENABLE_RGB_MATRIX_ALPHAS_MODS
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN #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_MAXIMUM_BRIGHTNESS 120
#define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS #define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
#define DRIVER_LED_TOTAL RGBLED_NUM #define RGB_DI_PIN GP18
#define RGB_MATRIX_SPLIT RGBLED_SPLIT #define RGB_MATRIX_LED_COUNT 113
#define RGB_DISABLE_WHEN_USB_SUSPENDED #define RGB_DISABLE_WHEN_USB_SUSPENDED
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS #define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES #define RGB_MATRIX_KEYPRESSES

View File

@ -12,7 +12,7 @@
"console": true, "console": true,
"rgblight": false, "rgblight": false,
"backlight": false, "backlight": false,
"rgb_matrix": true, "rgb_matrix": true
}, },
"split": { "split": {
"enabled": true, "enabled": true,
@ -27,8 +27,8 @@
"right":{ "right":{
"cols": ["GP29", "GP28", "GP27", "GP7", "GP2", "GP3", "GP11", "GP12", "GP13"], "cols": ["GP29", "GP28", "GP27", "GP7", "GP2", "GP3", "GP11", "GP12", "GP13"],
"rows": ["GP16", "GP19", "GP17", "GP9", "GP8", "GP26"] "rows": ["GP16", "GP19", "GP17", "GP9", "GP8", "GP26"]
}, }
}, }
}, },
"matrix_pins": { "matrix_pins": {
"cols": ["GP29", "GP28", "GP27", "GP7", "GP2", "GP3", "GP11", "GP12", "GP13"], "cols": ["GP29", "GP28", "GP27", "GP7", "GP2", "GP3", "GP11", "GP12", "GP13"],
@ -40,16 +40,9 @@
{"pin_a": "GP21", "pin_b": "GP20" } {"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": { "rgb_matrix": {
"driver": "WS2812", "driver": "WS2812",
"split_count": [56, 57],
"layout": [ "layout": [
{ "flags": 4, "matrix": [5, 2], "x": 30, "y": 0 }, { "flags": 4, "matrix": [5, 2], "x": 30, "y": 0 },
{ "flags": 2, "x": 42, "y": 6 }, { "flags": 2, "x": 42, "y": 6 },
@ -178,5 +171,5 @@
{ "flags": 4, "matrix": [10, 7], "x": 224, "y": 64 }, { "flags": 4, "matrix": [10, 7], "x": 224, "y": 64 },
{ "flags": 2, "x": 224, "y": 55 } { "flags": 2, "x": 224, "y": 55 }
] ]
}, }
} }