Add Cepstrum Rev. 1 Keyboard (#20721)

Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
Danny 2023-05-18 06:29:06 -04:00 committed by GitHub
parent 1aa52124ca
commit 7e6ad6d28c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 502 additions and 0 deletions

View file

@ -0,0 +1,122 @@
{
"manufacturer": "Keebio",
"url": "https://keeb.io",
"maintainer": "nooges",
"usb": {
"vid": "0xCB10"
},
"features": {
"bootmagic": true,
"command": false,
"console": true,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"split": {
"enabled": true
},
"build": {
"lto": true
},
"layouts": {
"LAYOUT_65xt": {
"layout": [
{"label":"F1", "x":0, "y":0},
{"label":"F2", "x":1, "y":0},
{"label":"Esc", "x":2.25, "y":0},
{"label":"1", "x":3.25, "y":0},
{"label":"2", "x":4.25, "y":0},
{"label":"3", "x":5.25, "y":0},
{"label":"4", "x":6.25, "y":0},
{"label":"5", "x":7.25, "y":0},
{"label":"6", "x":8.25, "y":0},
{"label":"7", "x":10.25, "y":0},
{"label":"8", "x":11.25, "y":0},
{"label":"9", "x":12.25, "y":0},
{"label":"0", "x":13.25, "y":0},
{"label":"-", "x":14.25, "y":0},
{"label":"=", "x":15.25, "y":0},
{"label":"Bksp", "x":17.25, "y":0, "w": 2},
{"label":"Del", "x":18.25, "y":0},
{"label":"F3", "x":0, "y":1},
{"label":"F4", "x":1, "y":1},
{"label":"Tab", "x":2.25, "y":1, "w":1.5},
{"label":"Q", "x":3.75, "y":1},
{"label":"W", "x":4.75, "y":1},
{"label":"E", "x":5.75, "y":1},
{"label":"R", "x":6.75, "y":1},
{"label":"T", "x":7.75, "y":1},
{"label":"Y", "x":9.75, "y":1},
{"label":"U", "x":10.75, "y":1},
{"label":"I", "x":11.75, "y":1},
{"label":"O", "x":12.75, "y":1},
{"label":"P", "x":13.75, "y":1},
{"label":"{", "x":14.75, "y":1},
{"label":"}", "x":15.75, "y":1},
{"label":"|", "x":16.75, "y":1, "w":1.5},
{"label":"Home", "x":18.25, "y":1},
{"label":"F5", "x":0, "y":2},
{"label":"F6", "x":1, "y":2},
{"label":"Caps Lock", "x":2.25, "y":2, "w":1.75},
{"label":"A", "x":4, "y":2},
{"label":"S", "x":5, "y":2},
{"label":"D", "x":6, "y":2},
{"label":"F", "x":7, "y":2},
{"label":"G", "x":8, "y":2},
{"label":"H", "x":10, "y":2},
{"label":"J", "x":11, "y":2},
{"label":"K", "x":12, "y":2},
{"label":"L", "x":13, "y":2},
{"label":":", "x":14, "y":2},
{"label":"\"", "x":15, "y":2},
{"label":"Enter", "x":16, "y":2, "w":2.25},
{"label":"PgUp", "x":18.25, "y":2},
{"label":"F7", "x":0, "y":3},
{"label":"F8", "x":1, "y":3},
{"label":"Shift", "x":2.25, "y":3, "w":2.25},
{"label":"Z", "x":4.5, "y":3},
{"label":"X", "x":5.5, "y":3},
{"label":"C", "x":6.5, "y":3},
{"label":"V", "x":7.5, "y":3},
{"label":"B", "x":8.5, "y":3},
{"label":"N", "x":10.5, "y":3},
{"label":"M", "x":11.5, "y":3},
{"label":",", "x":12.5, "y":3},
{"label":".", "x":13.5, "y":3},
{"label":"/", "x":14.5, "y":3},
{"label":"Shift", "x":15.5, "y":3, "w":1.75},
{"label":"Up", "x":17.25, "y":3},
{"label":"PgDn", "x":18.25, "y":3},
{"label":"F9", "x":0, "y":4},
{"label":"F10", "x":1, "y":4},
{"label":"Ctrl", "x":2.25, "y":4, "w":1.25},
{"label":"Win", "x":3.5, "y":4, "w":1.25},
{"label":"Alt", "x":4.75, "y":4, "w":1.25},
{"label":"Fn", "x":6, "y":4, "w":1.25},
{"label":"Space", "x":7.25, "y":4},
{"label":"Space", "x":11.75, "y":4, "w":1.5},
{"label":"Alt", "x":13.25, "y":4},
{"label":"Fn", "x":14.25, "y":4},
{"label":"Ctrl", "x":15.25, "y":4},
{"label":"Left", "x":16.25, "y":4},
{"label":"Down", "x":17.25, "y":4},
{"label":"Right", "x":18.25, "y":4}
]
}
}
}

View file

@ -0,0 +1,21 @@
// Copyright 2023 Danny Nguyen (danny@keeb.io)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_65xt(
KC_F1, KC_F2, QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL,
KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME,
KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
KC_F7, KC_F8, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, MO(1), KC_SPC, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT_65xt(
RGB_HUI, RGB_HUD, KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
RGB_SAI, RGB_SAD, RGB_TOG, RGB_MOD, KC_UP, _______, QK_BOOT, EE_CLR, _______, _______, _______, _______, _______, _______, _______, _______, KC_END,
RGB_VAI, RGB_VAD, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, EE_CLR, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
)
};

View file

@ -0,0 +1,21 @@
// Copyright 2023 Danny Nguyen (danny@keeb.io)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_65xt(
KC_F1, KC_F2, QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL,
KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_HOME,
KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
KC_F7, KC_F8, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
KC_F9, KC_F10, KC_LCTL, KC_LGUI, KC_LALT, MO(1), KC_SPC, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT_65xt(
RGB_HUI, RGB_HUD, KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
RGB_SAI, RGB_SAD, RGB_TOG, RGB_MOD, KC_UP, _______, QK_BOOT, EE_CLR, _______, _______, _______, _______, _______, _______, _______, _______, KC_END,
RGB_VAI, RGB_VAD, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, EE_CLR, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
)
};

View file

@ -0,0 +1,2 @@
VIA_ENABLE = yes
LTO_ENABLE = yes

View file

@ -0,0 +1,27 @@
# Cepstrum
A split 65XT staggered keyboard made and sold by Keebio. [More info at Keebio](https://keeb.io).
* Keyboard Maintainer: [Bakingpy/nooges](https://github.com/nooges)
* Hardware Availability: [Keebio](https://keeb.io/)
Make example for this keyboard (after setting up your build environment):
make keebio/cepstrum/rev1:default
Example of flashing this keyboard:
make keebio/cepstrum/rev1:default:flash
Handedness detection is already hardwired onto the PCB, so no need to deal with `EE_HANDS` or flashing .eep files.
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
## Bootloader
Enter the bootloader in one of these ways:
* **Physical reset button**: Press and hold the button on the back of the PCB for at least 2 seconds and let go, or double-press the button
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
A build guide for this keyboard can be found here: [Keebio Build Guides](https://docs.keeb.io)

View file

@ -0,0 +1,65 @@
// Copyright 2022 Danny Nguyen (danny@keeb.io)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define SPLIT_HAND_PIN GP4
#define USB_VBUS_PIN GP12
#define SERIAL_USART_FULL_DUPLEX
#define SERIAL_USART_TX_PIN GP0
#define SERIAL_USART_RX_PIN GP1
#define SERIAL_USART_PIN_SWAP
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
#define I2C_DRIVER I2CD2
#define I2C1_SCL_PIN GP22
#define I2C1_SDA_PIN GP23
// RGB Matrix
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
#define ENABLE_RGB_MATRIX_BREATHING
#define ENABLE_RGB_MATRIX_BAND_SAT
#define ENABLE_RGB_MATRIX_BAND_VAL
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
#define ENABLE_RGB_MATRIX_CYCLE_ALL
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
#define ENABLE_RGB_MATRIX_DUAL_BEACON
#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
#define ENABLE_RGB_MATRIX_DIGITAL_RAIN
// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
#define ENABLE_RGB_MATRIX_SPLASH
#define ENABLE_RGB_MATRIX_MULTISPLASH
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120
#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
#define WS2812_DI_PIN GP18
#define RGB_DI_PIN WS2812_DI_PIN
#define RGB_MATRIX_LED_COUNT 96
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
#define SPLIT_TRANSPORT_MIRROR

View file

@ -0,0 +1,21 @@
/* Copyright 2022 QMK
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define HAL_USE_I2C TRUE
#include_next <halconf.h>

View file

@ -0,0 +1,212 @@
{
"keyboard_name": "Cepstrum Rev. 1",
"usb": {"pid": "0x1557", "device_version": "1.0.0"},
"processor": "RP2040",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"features": {
"rgb_matrix": true
},
"split": {
"enabled": true,
"matrix_pins": {
"right": {
"cols": ["GP29", "GP28", "GP27", "GP26", "GP25", "GP21", "GP15", "GP9", "GP10"],
"rows": ["GP2", "GP3", "GP5", "GP8", "GP19"]
}
}
},
"matrix_pins": {
"cols": ["GP29", "GP28", "GP27", "GP2", "GP3", "GP5", "GP6", "GP7", "GP8"],
"rows": ["GP26", "GP25", "GP21", "GP20", "GP19"]
},
"layouts": {
"LAYOUT_65xt": {
"layout": [
{ "label": "F1", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 },
{ "label": "F2", "matrix": [0, 1], "w": 1, "x": 1, "y": 0 },
{ "label": "Esc", "matrix": [0, 2], "w": 1, "x": 2.25, "y": 0 },
{ "label": "1", "matrix": [0, 3], "w": 1, "x": 3.25, "y": 0 },
{ "label": "2", "matrix": [0, 4], "w": 1, "x": 4.25, "y": 0 },
{ "label": "3", "matrix": [0, 5], "w": 1, "x": 5.25, "y": 0 },
{ "label": "4", "matrix": [0, 6], "w": 1, "x": 6.25, "y": 0 },
{ "label": "5", "matrix": [0, 7], "w": 1, "x": 7.25, "y": 0 },
{ "label": "6", "matrix": [0, 8], "w": 1, "x": 8.25, "y": 0 },
{ "label": "7", "matrix": [5, 0], "w": 1, "x": 10.25, "y": 0 },
{ "label": "8", "matrix": [5, 1], "w": 1, "x": 11.25, "y": 0 },
{ "label": "9", "matrix": [5, 2], "w": 1, "x": 12.25, "y": 0 },
{ "label": "0", "matrix": [5, 3], "w": 1, "x": 13.25, "y": 0 },
{ "label": "-", "matrix": [5, 4], "w": 1, "x": 14.25, "y": 0 },
{ "label": "=", "matrix": [5, 5], "w": 1, "x": 15.25, "y": 0 },
{ "label": "Bksp", "matrix": [5, 7], "w": 2, "x": 17.25, "y": 0 },
{ "label": "Del", "matrix": [5, 8], "w": 1, "x": 18.25, "y": 0 },
{ "label": "F3", "matrix": [1, 0], "w": 1, "x": 0, "y": 1 },
{ "label": "F4", "matrix": [1, 1], "w": 1, "x": 1, "y": 1 },
{ "label": "Tab", "matrix": [1, 2], "w": 1.5, "x": 2.25, "y": 1 },
{ "label": "Q", "matrix": [1, 3], "w": 1, "x": 3.75, "y": 1 },
{ "label": "W", "matrix": [1, 4], "w": 1, "x": 4.75, "y": 1 },
{ "label": "E", "matrix": [1, 5], "w": 1, "x": 5.75, "y": 1 },
{ "label": "R", "matrix": [1, 6], "w": 1, "x": 6.75, "y": 1 },
{ "label": "T", "matrix": [1, 7], "w": 1, "x": 7.75, "y": 1 },
{ "label": "Y", "matrix": [6, 0], "w": 1, "x": 9.75, "y": 1 },
{ "label": "U", "matrix": [6, 1], "w": 1, "x": 10.75, "y": 1 },
{ "label": "I", "matrix": [6, 2], "w": 1, "x": 11.75, "y": 1 },
{ "label": "O", "matrix": [6, 3], "w": 1, "x": 12.75, "y": 1 },
{ "label": "P", "matrix": [6, 4], "w": 1, "x": 13.75, "y": 1 },
{ "label": "{", "matrix": [6, 5], "w": 1, "x": 14.75, "y": 1 },
{ "label": "}", "matrix": [6, 6], "w": 1, "x": 15.75, "y": 1 },
{ "label": "|", "matrix": [6, 7], "w": 1.5, "x": 16.75, "y": 1 },
{ "label": "Home", "matrix": [6, 8], "w": 1, "x": 18.25, "y": 1 },
{ "label": "F5", "matrix": [2, 0], "w": 1, "x": 0, "y": 2 },
{ "label": "F6", "matrix": [2, 1], "w": 1, "x": 1, "y": 2 },
{ "label": "Caps Lock", "matrix": [2, 2], "w": 1.75, "x": 2.25, "y": 2 },
{ "label": "A", "matrix": [2, 3], "w": 1, "x": 4, "y": 2 },
{ "label": "S", "matrix": [2, 4], "w": 1, "x": 5, "y": 2 },
{ "label": "D", "matrix": [2, 5], "w": 1, "x": 6, "y": 2 },
{ "label": "F", "matrix": [2, 6], "w": 1, "x": 7, "y": 2 },
{ "label": "G", "matrix": [2, 7], "w": 1, "x": 8, "y": 2 },
{ "label": "H", "matrix": [7, 0], "w": 1, "x": 10, "y": 2 },
{ "label": "J", "matrix": [7, 1], "w": 1, "x": 11, "y": 2 },
{ "label": "K", "matrix": [7, 2], "w": 1, "x": 12, "y": 2 },
{ "label": "L", "matrix": [7, 3], "w": 1, "x": 13, "y": 2 },
{ "label": ":", "matrix": [7, 4], "w": 1, "x": 14, "y": 2 },
{ "label": "\"", "matrix": [7, 5], "w": 1, "x": 15, "y": 2 },
{ "label": "Enter", "matrix": [7, 7], "w": 2.25, "x": 16, "y": 2 },
{ "label": "PgUp", "matrix": [7, 8], "w": 1, "x": 18.25, "y": 2 },
{ "label": "F7", "matrix": [3, 0], "w": 1, "x": 0, "y": 3 },
{ "label": "F8", "matrix": [3, 1], "w": 1, "x": 1, "y": 3 },
{ "label": "Shift", "matrix": [3, 2], "w": 2.25, "x": 2.25, "y": 3 },
{ "label": "Z", "matrix": [3, 4], "w": 1, "x": 4.5, "y": 3 },
{ "label": "X", "matrix": [3, 5], "w": 1, "x": 5.5, "y": 3 },
{ "label": "C", "matrix": [3, 6], "w": 1, "x": 6.5, "y": 3 },
{ "label": "V", "matrix": [3, 7], "w": 1, "x": 7.5, "y": 3 },
{ "label": "B", "matrix": [3, 8], "w": 1, "x": 8.5, "y": 3 },
{ "label": "N", "matrix": [8, 0], "w": 1, "x": 10.5, "y": 3 },
{ "label": "M", "matrix": [8, 1], "w": 1, "x": 11.5, "y": 3 },
{ "label": ",", "matrix": [8, 2], "w": 1, "x": 12.5, "y": 3 },
{ "label": ".", "matrix": [8, 3], "w": 1, "x": 13.5, "y": 3 },
{ "label": "/", "matrix": [8, 4], "w": 1, "x": 14.5, "y": 3 },
{ "label": "Shift", "matrix": [8, 6], "w": 1.75, "x": 15.5, "y": 3 },
{ "label": "Up", "matrix": [8, 7], "w": 1, "x": 17.25, "y": 3 },
{ "label": "PgDn", "matrix": [8, 8], "w": 1, "x": 18.25, "y": 3 },
{ "label": "F9", "matrix": [4, 0], "w": 1, "x": 0, "y": 4 },
{ "label": "F10", "matrix": [4, 1], "w": 1, "x": 1, "y": 4 },
{ "label": "Ctrl", "matrix": [4, 2], "w": 1.25, "x": 2.25, "y": 4 },
{ "label": "Win", "matrix": [4, 3], "w": 1.25, "x": 3.5, "y": 4 },
{ "label": "Alt", "matrix": [4, 4], "w": 1.25, "x": 4.75, "y": 4 },
{ "label": "Fn", "matrix": [4, 5], "w": 1.25, "x": 6, "y": 4 },
{ "label": "Space", "matrix": [4, 7], "w": 1, "x": 7.25, "y": 4 },
{ "label": "Space", "matrix": [9, 1], "w": 1.5, "x": 11.75, "y": 4 },
{ "label": "Alt", "matrix": [9, 2], "w": 1, "x": 13.25, "y": 4 },
{ "label": "Fn", "matrix": [9, 3], "w": 1, "x": 14.25, "y": 4 },
{ "label": "Ctrl", "matrix": [9, 4], "w": 1, "x": 15.25, "y": 4 },
{ "label": "Left", "matrix": [9, 6], "w": 1, "x": 16.25, "y": 4 },
{ "label": "Down", "matrix": [9, 7], "w": 1, "x": 17.25, "y": 4 },
{ "label": "Right", "matrix": [9, 8], "w": 1, "x": 18.25, "y": 4 }
]
}
},
"rgb_matrix": {
"driver": "WS2812",
"split_count": [48, 48],
"layout": [
{"flags":2, "x":46, "y":0},
{"flags":2, "x":71, "y":0},
{"flags":2, "x":95, "y":0},
{"flags":2, "x":83, "y":57},
{"flags":2, "x":68, "y":57},
{"flags":2, "x":37, "y":57},
{"matrix": [0,2], "flags":4, "x":28, "y":4},
{"matrix": [0,3], "flags":4, "x":40, "y":4},
{"matrix": [0,4], "flags":4, "x":52, "y":4},
{"matrix": [0,5], "flags":4, "x":64, "y":4},
{"matrix": [0,6], "flags":4, "x":77, "y":4},
{"matrix": [0,7], "flags":4, "x":89, "y":4},
{"matrix": [0,8], "flags":4, "x":101, "y":4},
{"matrix": [1,7], "flags":4, "x":95, "y":18},
{"matrix": [1,6], "flags":4, "x":83, "y":18},
{"matrix": [1,5], "flags":4, "x":71, "y":18},
{"matrix": [1,4], "flags":4, "x":58, "y":18},
{"matrix": [1,3], "flags":4, "x":46, "y":18},
{"matrix": [1,2], "flags":4, "x":31, "y":18},
{"matrix": [2,2], "flags":4, "x":32, "y":32},
{"matrix": [2,3], "flags":4, "x":49, "y":32},
{"matrix": [2,4], "flags":4, "x":61, "y":32},
{"matrix": [2,5], "flags":4, "x":74, "y":32},
{"matrix": [2,6], "flags":4, "x":86, "y":32},
{"matrix": [2,7], "flags":4, "x":98, "y":32},
{"matrix": [3,8], "flags":4, "x":104, "y":46},
{"matrix": [3,7], "flags":4, "x":92, "y":46},
{"matrix": [3,6], "flags":4, "x":80, "y":46},
{"matrix": [3,5], "flags":4, "x":68, "y":46},
{"matrix": [3,4], "flags":4, "x":55, "y":46},
{"matrix": [3,2], "flags":4, "x":35, "y":46},
{"matrix": [4,2], "flags":4, "x":29, "y":60},
{"matrix": [4,3], "flags":4, "x":44, "y":60},
{"matrix": [4,4], "flags":4, "x":60, "y":60},
{"matrix": [4,5], "flags":4, "x":75, "y":60},
{"matrix": [4,7], "flags":4, "x":97, "y":60},
{"matrix": [4,1], "flags":4, "x":12, "y":60},
{"matrix": [4,0], "flags":4, "x":0, "y":60},
{"flags":2, "x":6, "y":53},
{"matrix": [3,1], "flags":4, "x":12, "y":46},
{"matrix": [3,0], "flags":4, "x":0, "y":46},
{"matrix": [2,0], "flags":4, "x":0, "y":32},
{"matrix": [2,1], "flags":4, "x":12, "y":32},
{"matrix": [1,1], "flags":4, "x":12, "y":18},
{"matrix": [1,0], "flags":4, "x":0, "y":18},
{"flags":2, "x":6, "y":14},
{"matrix": [0,1], "flags":4, "x":12, "y":4},
{"matrix": [0,0], "flags":4, "x":0, "y":4},
{"flags":2, "x":221, "y":11},
{"matrix": [5,8], "flags":4, "x":224, "y":4},
{"matrix": [5,7], "flags":4, "x":206, "y":4},
{"flags":2, "x":193, "y":0},
{"matrix": [5,5], "flags":4, "x":187, "y":4},
{"matrix": [5,4], "flags":4, "x":175, "y":4},
{"flags":2, "x":169, "y":0},
{"matrix": [5,3], "flags":4, "x":163, "y":4},
{"matrix": [5,2], "flags":4, "x":150, "y":4},
{"flags":2, "x":144, "y":0},
{"matrix": [5,1], "flags":4, "x":138, "y":4},
{"matrix": [5,0], "flags":4, "x":126, "y":4},
{"matrix": [6,0], "flags":4, "x":120, "y":18},
{"matrix": [6,1], "flags":4, "x":132, "y":18},
{"matrix": [6,2], "flags":4, "x":144, "y":18},
{"matrix": [6,3], "flags":4, "x":156, "y":18},
{"matrix": [6,4], "flags":4, "x":169, "y":18},
{"matrix": [6,5], "flags":4, "x":181, "y":18},
{"matrix": [6,6], "flags":4, "x":193, "y":18},
{"matrix": [6,7], "flags":4, "x":209, "y":18},
{"matrix": [6,8], "flags":4, "x":224, "y":18},
{"matrix": [7,8], "flags":4, "x":224, "y":32},
{"matrix": [7,7], "flags":4, "x":204, "y":32},
{"matrix": [7,5], "flags":4, "x":184, "y":32},
{"matrix": [7,4], "flags":4, "x":172, "y":32},
{"matrix": [7,3], "flags":4, "x":160, "y":32},
{"matrix": [7,2], "flags":4, "x":147, "y":32},
{"matrix": [7,1], "flags":4, "x":135, "y":32},
{"matrix": [7,0], "flags":4, "x":123, "y":32},
{"matrix": [8,0], "flags":4, "x":129, "y":46},
{"matrix": [8,1], "flags":4, "x":141, "y":46},
{"matrix": [8,2], "flags":4, "x":153, "y":46},
{"matrix": [8,3], "flags":4, "x":166, "y":46},
{"matrix": [8,4], "flags":4, "x":178, "y":46},
{"matrix": [8,6], "flags":4, "x":195, "y":46},
{"matrix": [8,7], "flags":4, "x":212, "y":46},
{"matrix": [8,8], "flags":4, "x":224, "y":46},
{"matrix": [9,8], "flags":4, "x":224, "y":60},
{"flags":2, "x":218, "y":57},
{"matrix": [9,7], "flags":4, "x":212, "y":60},
{"matrix": [9,6], "flags":4, "x":199, "y":60},
{"flags":2, "x":193, "y":57},
{"matrix": [9,4], "flags":4, "x":187, "y":60},
{"matrix": [9,3], "flags":4, "x":173, "y":60},
{"flags":2, "x":166, "y":64},
{"matrix": [9,2], "flags":4, "x":158, "y":60},
{"matrix": [9,1], "flags":4, "x":137, "y":60},
{"flags":2, "x":126, "y":64},
]
}
}

View file

@ -0,0 +1,9 @@
// Copyright 2022 Danny Nguyen (danny@keeb.io)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include_next <mcuconf.h>
#undef RP_I2C_USE_I2C1
#define RP_I2C_USE_I2C1 TRUE

View file

@ -0,0 +1,2 @@
SERIAL_DRIVER = vendor
WS2812_DRIVER = vendor