Skip to content

Commit

Permalink
Fixup keebio/sinc/rev3 (#18866)
Browse files Browse the repository at this point in the history
  • Loading branch information
waffle87 authored Oct 27, 2022
1 parent 7b888fb commit a96a9fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
6 changes: 2 additions & 4 deletions keyboards/keebio/sinc/rev3/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
17 changes: 5 additions & 12 deletions keyboards/keebio/sinc/rev3/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"console": true,
"rgblight": false,
"backlight": false,
"rgb_matrix": true,
"rgb_matrix": true
},
"split": {
"enabled": true,
Expand All @@ -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"],
Expand All @@ -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 },
Expand Down Expand Up @@ -178,5 +171,5 @@
{ "flags": 4, "matrix": [10, 7], "x": 224, "y": 64 },
{ "flags": 2, "x": 224, "y": 55 }
]
},
}
}

0 comments on commit a96a9fd

Please sign in to comment.