From fd1ea167ab37d18fbe119e7e8e96ae957e99a05e Mon Sep 17 00:00:00 2001 From: Danny Nguyen Date: Thu, 15 Dec 2022 19:00:05 -0500 Subject: [PATCH 01/15] Initial commit for Cepstrum --- keyboards/keebio/cepstrum/cepstrum.c | 17 +++ keyboards/keebio/cepstrum/cepstrum.h | 10 ++ keyboards/keebio/cepstrum/info.json | 124 ++++++++++++++++++ .../keebio/cepstrum/keymaps/default/keymap.c | 18 +++ .../keebio/cepstrum/keymaps/via/keymap.c | 48 +++++++ .../keebio/cepstrum/keymaps/via/rules.mk | 3 + keyboards/keebio/cepstrum/readme.md | 20 +++ keyboards/keebio/cepstrum/rev1/config.h | 63 +++++++++ keyboards/keebio/cepstrum/rev1/halconf.h | 21 +++ keyboards/keebio/cepstrum/rev1/info.json | 53 ++++++++ keyboards/keebio/cepstrum/rev1/mcuconf.h | 9 ++ keyboards/keebio/cepstrum/rev1/rev1.h | 27 ++++ keyboards/keebio/cepstrum/rev1/rules.mk | 2 + keyboards/keebio/cepstrum/rules.mk | 1 + 14 files changed, 416 insertions(+) create mode 100644 keyboards/keebio/cepstrum/cepstrum.c create mode 100644 keyboards/keebio/cepstrum/cepstrum.h create mode 100644 keyboards/keebio/cepstrum/info.json create mode 100644 keyboards/keebio/cepstrum/keymaps/default/keymap.c create mode 100644 keyboards/keebio/cepstrum/keymaps/via/keymap.c create mode 100644 keyboards/keebio/cepstrum/keymaps/via/rules.mk create mode 100644 keyboards/keebio/cepstrum/readme.md create mode 100644 keyboards/keebio/cepstrum/rev1/config.h create mode 100644 keyboards/keebio/cepstrum/rev1/halconf.h create mode 100644 keyboards/keebio/cepstrum/rev1/info.json create mode 100644 keyboards/keebio/cepstrum/rev1/mcuconf.h create mode 100644 keyboards/keebio/cepstrum/rev1/rev1.h create mode 100644 keyboards/keebio/cepstrum/rev1/rules.mk create mode 100644 keyboards/keebio/cepstrum/rules.mk diff --git a/keyboards/keebio/cepstrum/cepstrum.c b/keyboards/keebio/cepstrum/cepstrum.c new file mode 100644 index 000000000000..c6b6baa9be99 --- /dev/null +++ b/keyboards/keebio/cepstrum/cepstrum.c @@ -0,0 +1,17 @@ +/* Copyright 2022 Danny Nguyen + +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 . +*/ + +#include "cepstrum.h" diff --git a/keyboards/keebio/cepstrum/cepstrum.h b/keyboards/keebio/cepstrum/cepstrum.h new file mode 100644 index 000000000000..1b5d0e856bbf --- /dev/null +++ b/keyboards/keebio/cepstrum/cepstrum.h @@ -0,0 +1,10 @@ +// Copyright 2022 Danny Nguyen (danny@keeb.io) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "quantum.h" + +#ifdef KEYBOARD_keebio_cepstrum_rev1 + #include "rev1.h" +#endif diff --git a/keyboards/keebio/cepstrum/info.json b/keyboards/keebio/cepstrum/info.json new file mode 100644 index 000000000000..e3061f52453c --- /dev/null +++ b/keyboards/keebio/cepstrum/info.json @@ -0,0 +1,124 @@ +{ + "manufacturer": "Keebio", + "url": "https://keeb.io", + "maintainer": "nooges", + "usb": { + "vid": "0xCB10" + }, + "features": { + "audio": false, + "bootmagic": true, + "command": false, + "console": true, + "extrakey": true, + "mousekey": true, + "nkro": false, + "unicode": false + }, + "split": { + "enabled": true + }, + "build": { + "lto": true + }, + "layouts": { + "LAYOUT_65xt": { + "layout": [ + {"label":"F1", "x":0, "y":0}, + {"label":"F6", "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":"Home", "x":18.25, "y":0}, + + {"label":"F2", "x":0, "y":1}, + {"label":"F7", "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":"PgUp", "x":18.25, "y":1}, + + {"label":"F3", "x":0, "y":2}, + {"label":"F8", "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":"PgDn", "x":18.25, "y":2}, + + {"label":"F4", "x":0, "y":3}, + {"label":"F9", "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":"End", "x":18.25, "y":3}, + + {"label":"F5", "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":"Ctrl", "x":14.25, "y":4}, + {"label":"Win", "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} + ] + } + } +} diff --git a/keyboards/keebio/cepstrum/keymaps/default/keymap.c b/keyboards/keebio/cepstrum/keymaps/default/keymap.c new file mode 100644 index 000000000000..a1972dc5f97f --- /dev/null +++ b/keyboards/keebio/cepstrum/keymaps/default/keymap.c @@ -0,0 +1,18 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_65xt( + KC_F1, KC_F2, KC_GRV, 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_END, + 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, QK_GESC, 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, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + RGB_VAI, RGB_VAD, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, EE_CLR, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), +}; diff --git a/keyboards/keebio/cepstrum/keymaps/via/keymap.c b/keyboards/keebio/cepstrum/keymaps/via/keymap.c new file mode 100644 index 000000000000..8101c82bfb5c --- /dev/null +++ b/keyboards/keebio/cepstrum/keymaps/via/keymap.c @@ -0,0 +1,48 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_all( + KC_MUTE, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_INS, + KC_F1, KC_F2, KC_GRV, 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_DEL, KC_BSPC, KC_HOME, + 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_END, + 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_NUHS, KC_ENT, KC_PGUP, + KC_F7, KC_F8, KC_LSFT, KC_NUBS, 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_LALT, KC_LGUI, MO(1), KC_SPC, KC_SPC, MO(1), KC_SPC, KC_RALT, KC_RCTL, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_all( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + RGB_HUI, RGB_HUD, QK_GESC, 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, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + RGB_VAI, RGB_VAD, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + + [2] = LAYOUT_all( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + + [3] = LAYOUT_all( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) +}; + +#ifdef ENCODER_MAP_ENABLE +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { + [0] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD), ENCODER_CCW_CW(KC_PGUP, KC_PGDN) }, + [1] = { ENCODER_CCW_CW(RGB_MOD, RGB_RMOD), ENCODER_CCW_CW(KC_MNXT, KC_MPRV) }, + [2] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, + [3] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, +}; +#endif diff --git a/keyboards/keebio/cepstrum/keymaps/via/rules.mk b/keyboards/keebio/cepstrum/keymaps/via/rules.mk new file mode 100644 index 000000000000..1189f4ad1927 --- /dev/null +++ b/keyboards/keebio/cepstrum/keymaps/via/rules.mk @@ -0,0 +1,3 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes +ENCODER_MAP_ENABLE = yes diff --git a/keyboards/keebio/cepstrum/readme.md b/keyboards/keebio/cepstrum/readme.md new file mode 100644 index 000000000000..4b415eabf460 --- /dev/null +++ b/keyboards/keebio/cepstrum/readme.md @@ -0,0 +1,20 @@ +# 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 [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. + +A build guide for this keyboard can be found here: [Keebio Build Guides](https://docs.keeb.io) diff --git a/keyboards/keebio/cepstrum/rev1/config.h b/keyboards/keebio/cepstrum/rev1/config.h new file mode 100644 index 000000000000..1ea28deeeb99 --- /dev/null +++ b/keyboards/keebio/cepstrum/rev1/config.h @@ -0,0 +1,63 @@ +// Copyright 2022 Danny Nguyen (danny@keeb.io) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#define SPLIT_HAND_PIN GP4 +#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 255 +#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS +#define RGB_DI_PIN GP18 +#define RGB_MATRIX_LED_COUNT 16 +#define RGB_DISABLE_WHEN_USB_SUSPENDED +#define RGB_MATRIX_FRAMEBUFFER_EFFECTS +#define RGB_MATRIX_KEYPRESSES +#define SPLIT_TRANSPORT_MIRROR diff --git a/keyboards/keebio/cepstrum/rev1/halconf.h b/keyboards/keebio/cepstrum/rev1/halconf.h new file mode 100644 index 000000000000..a4c25c090a2e --- /dev/null +++ b/keyboards/keebio/cepstrum/rev1/halconf.h @@ -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 . + */ + +#pragma once + +#define HAL_USE_I2C TRUE + +#include_next "halconf.h" diff --git a/keyboards/keebio/cepstrum/rev1/info.json b/keyboards/keebio/cepstrum/rev1/info.json new file mode 100644 index 000000000000..f0760190d864 --- /dev/null +++ b/keyboards/keebio/cepstrum/rev1/info.json @@ -0,0 +1,53 @@ +{ + "keyboard_name": "Cepstrum Rev. 1", + "usb": { + "pid": "0x1557", + "device_version": "1.0.0" + }, + "processor": "RP2040", + "bootloader": "rp2040", + "debounce": 5, + "diode_direction": "COL2ROW", + "features": { + "console": true, + "rgblight": false, + "backlight": false, + "rgb_matrix": true + }, + "split": { + "enabled": true, + "matrix_pins": { + "right":{ + "cols": ["GP29", "GP28", "GP27", "GP2", "GP3", "GP5", "GP6", "GP7", "GP8"], + "rows": ["GP26", "GP25", "GP21", "GP20", "GP19"] + } + } + }, + "matrix_pins": { + "cols": ["GP29", "GP28", "GP27", "GP2", "GP3", "GP5", "GP6", "GP7", "GP8"], + "rows": ["GP26", "GP25", "GP21", "GP20", "GP19"] + }, + "rgb_matrix": { + "driver": "WS2812", + "split_count": [8, 8], + "layout": [ + { "flags": 2, "x": 42, "y": 6 }, + { "flags": 2, "x": 67, "y": 6 }, + { "flags": 2, "x": 103, "y": 6 }, + { "flags": 2, "x": 106, "y": 64 }, + { "flags": 2, "x": 67, "y": 64 }, + { "flags": 2, "x": 39, "y": 64 }, + { "flags": 2, "x": 6, "y": 64 }, + { "flags": 2, "x": 9, "y": 0 }, + + { "flags": 2, "x": 224, "y": 6 }, + { "flags": 2, "x": 191, "y": 6 }, + { "flags": 2, "x": 166, "y": 6 }, + { "flags": 2, "x": 139, "y": 6 }, + { "flags": 2, "x": 133, "y": 64 }, + { "flags": 2, "x": 160, "y": 64 }, + { "flags": 2, "x": 194, "y": 64 }, + { "flags": 2, "x": 224, "y": 55 } + ] + } +} diff --git a/keyboards/keebio/cepstrum/rev1/mcuconf.h b/keyboards/keebio/cepstrum/rev1/mcuconf.h new file mode 100644 index 000000000000..f0e64b1ca073 --- /dev/null +++ b/keyboards/keebio/cepstrum/rev1/mcuconf.h @@ -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 diff --git a/keyboards/keebio/cepstrum/rev1/rev1.h b/keyboards/keebio/cepstrum/rev1/rev1.h new file mode 100644 index 000000000000..1ad11203a2c5 --- /dev/null +++ b/keyboards/keebio/cepstrum/rev1/rev1.h @@ -0,0 +1,27 @@ +// Copyright 2022 Danny Nguyen (danny@keeb.io) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "cepstrum.h" +#include "quantum.h" + +#define LAYOUT_65xt( \ + LA1, LA2, LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, RA9, \ + LB1, LB2, LB3, LB4, LB5, LB6, LB7, LB8, RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, RB9, \ + LC1, LC2, LC3, LC4, LC5, LC6, LC7, LC8, RC1, RC2, RC3, RC4, RC5, RC6, RC8, RC9, \ + LD1, LD2, LD3, LD5, LD6, LD7, LD8, LD9, RD1, RD2, RD3, RD4, RD5, RD7, RD9, \ + LE1, LE2, LE3, LE4, LE5, LE6, LE8, RE2, RE3, RE4, RE5, RE7, RE8, RE9 \ + ) \ + { \ + { LA1, LA2, LA3, LA4, LA5, LA6, LA7, LA8, LA9 }, \ + { LB1, LB2, LB3, LB4, LB5, LB6, LB7, LB8, KC_NO }, \ + { LC1, LC2, LC3, LC4, LC5, LC6, LC7, LC8, KC_NO }, \ + { LD1, LD2, LD3, KC_NO, LD5, LD6, LD7, LD8, LD9 }, \ + { LE1, LE2, LE3, LE4, LE5, LE6, KC_NO, LE8, KC_NO }, \ + { RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, RA9 }, \ + { RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, RB9 }, \ + { RC1, RC2, RC3, RC4, RC5, RC6, KC_NO, RC8, RC9 }, \ + { RD1, RD2, RD3, RD4, RD5, KC_NO, RD7, KC_NO, RD9 }, \ + { KC_NO, RE2, RE3, RE4, RE5, KC_NO, RE7, RE8, RE9 } \ + } diff --git a/keyboards/keebio/cepstrum/rev1/rules.mk b/keyboards/keebio/cepstrum/rev1/rules.mk new file mode 100644 index 000000000000..8fb51ec82d52 --- /dev/null +++ b/keyboards/keebio/cepstrum/rev1/rules.mk @@ -0,0 +1,2 @@ +SERIAL_DRIVER = vendor +WS2812_DRIVER = vendor diff --git a/keyboards/keebio/cepstrum/rules.mk b/keyboards/keebio/cepstrum/rules.mk new file mode 100644 index 000000000000..141995747985 --- /dev/null +++ b/keyboards/keebio/cepstrum/rules.mk @@ -0,0 +1 @@ +DEFAULT_FOLDER = keebio/sinc/rev1 From 70761d2b3038c279267e5a17c9a0118793cb67b7 Mon Sep 17 00:00:00 2001 From: Danny Nguyen Date: Wed, 28 Dec 2022 19:06:15 -0500 Subject: [PATCH 02/15] Fix key locations --- keyboards/keebio/cepstrum/cepstrum.c | 17 ++--------------- keyboards/keebio/cepstrum/rev1/rev1.h | 8 ++++---- 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/keyboards/keebio/cepstrum/cepstrum.c b/keyboards/keebio/cepstrum/cepstrum.c index c6b6baa9be99..3d8cf5336357 100644 --- a/keyboards/keebio/cepstrum/cepstrum.c +++ b/keyboards/keebio/cepstrum/cepstrum.c @@ -1,17 +1,4 @@ -/* Copyright 2022 Danny Nguyen - -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 . -*/ +// Copyright 2022 Danny Nguyen (danny@keeb.io) +// SPDX-License-Identifier: GPL-2.0-or-later #include "cepstrum.h" diff --git a/keyboards/keebio/cepstrum/rev1/rev1.h b/keyboards/keebio/cepstrum/rev1/rev1.h index 1ad11203a2c5..faa84c308607 100644 --- a/keyboards/keebio/cepstrum/rev1/rev1.h +++ b/keyboards/keebio/cepstrum/rev1/rev1.h @@ -7,10 +7,10 @@ #include "quantum.h" #define LAYOUT_65xt( \ - LA1, LA2, LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, RA9, \ + LA1, LA2, LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA8, RA9, \ LB1, LB2, LB3, LB4, LB5, LB6, LB7, LB8, RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, RB9, \ LC1, LC2, LC3, LC4, LC5, LC6, LC7, LC8, RC1, RC2, RC3, RC4, RC5, RC6, RC8, RC9, \ - LD1, LD2, LD3, LD5, LD6, LD7, LD8, LD9, RD1, RD2, RD3, RD4, RD5, RD7, RD9, \ + LD1, LD2, LD3, LD5, LD6, LD7, LD8, LD9, RD1, RD2, RD3, RD4, RD5, RD7, RD8, RD9, \ LE1, LE2, LE3, LE4, LE5, LE6, LE8, RE2, RE3, RE4, RE5, RE7, RE8, RE9 \ ) \ { \ @@ -19,9 +19,9 @@ { LC1, LC2, LC3, LC4, LC5, LC6, LC7, LC8, KC_NO }, \ { LD1, LD2, LD3, KC_NO, LD5, LD6, LD7, LD8, LD9 }, \ { LE1, LE2, LE3, LE4, LE5, LE6, KC_NO, LE8, KC_NO }, \ - { RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, RA9 }, \ + { RA1, RA2, RA3, RA4, RA5, RA6, KC_NO, RA8, RA9 }, \ { RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, RB9 }, \ { RC1, RC2, RC3, RC4, RC5, RC6, KC_NO, RC8, RC9 }, \ - { RD1, RD2, RD3, RD4, RD5, KC_NO, RD7, KC_NO, RD9 }, \ + { RD1, RD2, RD3, RD4, RD5, KC_NO, RD7, RD8, RD9 }, \ { KC_NO, RE2, RE3, RE4, RE5, KC_NO, RE7, RE8, RE9 } \ } From 987433e6e2454cd3b132d6cf970b5ae53631ecfa Mon Sep 17 00:00:00 2001 From: Danny Nguyen Date: Tue, 17 Jan 2023 11:41:19 -0500 Subject: [PATCH 03/15] Update pins for right half --- keyboards/keebio/cepstrum/rev1/info.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/keebio/cepstrum/rev1/info.json b/keyboards/keebio/cepstrum/rev1/info.json index f0760190d864..4b3ebee114b4 100644 --- a/keyboards/keebio/cepstrum/rev1/info.json +++ b/keyboards/keebio/cepstrum/rev1/info.json @@ -18,8 +18,8 @@ "enabled": true, "matrix_pins": { "right":{ - "cols": ["GP29", "GP28", "GP27", "GP2", "GP3", "GP5", "GP6", "GP7", "GP8"], - "rows": ["GP26", "GP25", "GP21", "GP20", "GP19"] + "cols": ["GP29", "GP28", "GP27", "GP26", "GP25", "GP21", "GP20", "GP7", "GP8"], + "rows": ["GP2", "GP3", "GP5", "GP6", "GP19"] } } }, From 9044005d70bc6a886f416b0ec029404d1117e8e2 Mon Sep 17 00:00:00 2001 From: Danny Nguyen Date: Fri, 10 Mar 2023 08:19:51 -0500 Subject: [PATCH 04/15] WIP add RGB matrix --- keyboards/keebio/cepstrum/rev1/config.h | 4 ++-- keyboards/keebio/cepstrum/rev1/info.json | 29 +++++++++--------------- 2 files changed, 13 insertions(+), 20 deletions(-) diff --git a/keyboards/keebio/cepstrum/rev1/config.h b/keyboards/keebio/cepstrum/rev1/config.h index 1ea28deeeb99..5ee8a1e598a7 100644 --- a/keyboards/keebio/cepstrum/rev1/config.h +++ b/keyboards/keebio/cepstrum/rev1/config.h @@ -53,10 +53,10 @@ #define ENABLE_RGB_MATRIX_SOLID_SPLASH #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH -#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 +#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 #define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS #define RGB_DI_PIN GP18 -#define RGB_MATRIX_LED_COUNT 16 +#define RGB_MATRIX_LED_COUNT 95 #define RGB_DISABLE_WHEN_USB_SUSPENDED #define RGB_MATRIX_FRAMEBUFFER_EFFECTS #define RGB_MATRIX_KEYPRESSES diff --git a/keyboards/keebio/cepstrum/rev1/info.json b/keyboards/keebio/cepstrum/rev1/info.json index 4b3ebee114b4..7c3dbc0e2fb3 100644 --- a/keyboards/keebio/cepstrum/rev1/info.json +++ b/keyboards/keebio/cepstrum/rev1/info.json @@ -29,25 +29,18 @@ }, "rgb_matrix": { "driver": "WS2812", - "split_count": [8, 8], + "split_count": [48, 47], "layout": [ - { "flags": 2, "x": 42, "y": 6 }, - { "flags": 2, "x": 67, "y": 6 }, - { "flags": 2, "x": 103, "y": 6 }, - { "flags": 2, "x": 106, "y": 64 }, - { "flags": 2, "x": 67, "y": 64 }, - { "flags": 2, "x": 39, "y": 64 }, - { "flags": 2, "x": 6, "y": 64 }, - { "flags": 2, "x": 9, "y": 0 }, - - { "flags": 2, "x": 224, "y": 6 }, - { "flags": 2, "x": 191, "y": 6 }, - { "flags": 2, "x": 166, "y": 6 }, - { "flags": 2, "x": 139, "y": 6 }, - { "flags": 2, "x": 133, "y": 64 }, - { "flags": 2, "x": 160, "y": 64 }, - { "flags": 2, "x": 194, "y": 64 }, - { "flags": 2, "x": 224, "y": 55 } + {"flags":4, "x": 46, "y":0 }, {"flags":4, "x": 71, "y":0 }, {"flags":4, "x": 95, "y":0 }, {"flags":4, "x": 83, "y":60 }, {"flags":4, "x": 68, "y":60 }, {"flags":4, "x": 37, "y":60 }, {"flags":4, "x": 28, "y":4 }, {"flags":4, "x": 40, "y":4 }, {"flags":4, "x": 52, "y":4 }, {"flags":4, "x": 64, "y":4 }, +{"flags":4, "x": 77, "y":4 }, {"flags":4, "x": 89, "y":4 }, {"flags":4, "x":101, "y":4 }, {"flags":4, "x": 95, "y":19 }, {"flags":4, "x": 83, "y":19 }, {"flags":4, "x": 71, "y":19 }, {"flags":4, "x": 58, "y":19 }, {"flags":4, "x": 46, "y":19 }, {"flags":4, "x": 31, "y":19 }, {"flags":4, "x": 32, "y":34 }, +{"flags":4, "x": 49, "y":34 }, {"flags":4, "x": 61, "y":34 }, {"flags":4, "x": 74, "y":34 }, {"flags":4, "x": 86, "y":34 }, {"flags":4, "x": 98, "y":34 }, {"flags":4, "x":104, "y":49 }, {"flags":4, "x": 92, "y":49 }, {"flags":4, "x": 80, "y":49 }, {"flags":4, "x": 68, "y":49 }, {"flags":4, "x": 55, "y":49 }, +{"flags":4, "x": 35, "y":49 }, {"flags":4, "x": 29, "y":64 }, {"flags":4, "x": 44, "y":64 }, {"flags":4, "x": 60, "y":64 }, {"flags":4, "x": 75, "y":64 }, {"flags":4, "x": 97, "y":64 }, {"flags":4, "x": 12, "y":64 }, {"flags":4, "x": 0, "y":64 }, {"flags":4, "x": 6, "y":56 }, {"flags":4, "x": 12, "y":49 }, +{"flags":4, "x": 0, "y":49 }, {"flags":4, "x": 0, "y":34 }, {"flags":4, "x": 12, "y":34 }, {"flags":4, "x": 12, "y":19 }, {"flags":4, "x": 0, "y":19 }, {"flags":4, "x": 6, "y":15 }, {"flags":4, "x": 12, "y":4 }, {"flags":4, "x": 0, "y":4 }, {"flags":4, "x":224, "y":11 }, {"flags":4, "x":193, "y":0 }, +{"flags":4, "x":169, "y":0 }, {"flags":4, "x":132, "y":4 }, {"flags":4, "x":150, "y":60 }, {"flags":4, "x":181, "y":60 }, {"flags":4, "x":224, "y":56 }, {"flags":4, "x":224, "y":4 }, {"flags":4, "x":206, "y":4 }, {"flags":4, "x":187, "y":4 }, {"flags":4, "x":175, "y":4 }, {"flags":4, "x":163, "y":4 }, +{"flags":4, "x":150, "y":4 }, {"flags":4, "x":138, "y":4 }, {"flags":4, "x":126, "y":4 }, {"flags":4, "x":120, "y":19 }, {"flags":4, "x":132, "y":19 }, {"flags":4, "x":144, "y":19 }, {"flags":4, "x":156, "y":19 }, {"flags":4, "x":169, "y":19 }, {"flags":4, "x":181, "y":19 }, {"flags":4, "x":193, "y":19 }, +{"flags":4, "x":209, "y":19 }, {"flags":4, "x":224, "y":19 }, {"flags":4, "x":224, "y":34 }, {"flags":4, "x":204, "y":34 }, {"flags":4, "x":184, "y":34 }, {"flags":4, "x":172, "y":34 }, {"flags":4, "x":160, "y":34 }, {"flags":4, "x":147, "y":34 }, {"flags":4, "x":135, "y":34 }, {"flags":4, "x":123, "y":34 }, +{"flags":4, "x":129, "y":49 }, {"flags":4, "x":141, "y":49 }, {"flags":4, "x":153, "y":49 }, {"flags":4, "x":166, "y":49 }, {"flags":4, "x":178, "y":49 }, {"flags":4, "x":195, "y":49 }, {"flags":4, "x":212, "y":49 }, {"flags":4, "x":224, "y":49 }, {"flags":4, "x":224, "y":64 }, {"flags":4, "x":212, "y":64 }, +{"flags":4, "x":199, "y":64 }, {"flags":4, "x":187, "y":64 }, {"flags":4, "x":173, "y":64 }, {"flags":4, "x":158, "y":64 }, {"flags":4, "x":137, "y":64 } ] } } From eb690d19c0da79acede78a94891081e960494807 Mon Sep 17 00:00:00 2001 From: Danny Nguyen Date: Tue, 25 Apr 2023 13:23:48 -0400 Subject: [PATCH 05/15] Add VBUS detection pin --- keyboards/keebio/cepstrum/rev1/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/keyboards/keebio/cepstrum/rev1/config.h b/keyboards/keebio/cepstrum/rev1/config.h index 5ee8a1e598a7..f4b1a33c0bec 100644 --- a/keyboards/keebio/cepstrum/rev1/config.h +++ b/keyboards/keebio/cepstrum/rev1/config.h @@ -4,6 +4,7 @@ #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 From 89271158a7719a9ff6225fe7b3300fd1442ae878 Mon Sep 17 00:00:00 2001 From: Danny Nguyen Date: Tue, 25 Apr 2023 13:24:25 -0400 Subject: [PATCH 06/15] Update right half matrix pins --- keyboards/keebio/cepstrum/rev1/info.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keyboards/keebio/cepstrum/rev1/info.json b/keyboards/keebio/cepstrum/rev1/info.json index 7c3dbc0e2fb3..21cdbe8bdc94 100644 --- a/keyboards/keebio/cepstrum/rev1/info.json +++ b/keyboards/keebio/cepstrum/rev1/info.json @@ -17,9 +17,9 @@ "split": { "enabled": true, "matrix_pins": { - "right":{ - "cols": ["GP29", "GP28", "GP27", "GP26", "GP25", "GP21", "GP20", "GP7", "GP8"], - "rows": ["GP2", "GP3", "GP5", "GP6", "GP19"] + "right": { + "cols": ["GP29", "GP28", "GP27", "GP26", "GP25", "GP21", "GP15", "GP9", "GP10"], + "rows": ["GP2", "GP3", "GP5", "GP8", "GP19"] } } }, From aa23e36ab1fc36e0b19975805c4762e42be4e70b Mon Sep 17 00:00:00 2001 From: Danny Nguyen Date: Tue, 25 Apr 2023 14:07:38 -0400 Subject: [PATCH 07/15] Update RGB LED locations --- keyboards/keebio/cepstrum/rev1/config.h | 2 +- keyboards/keebio/cepstrum/rev1/info.json | 111 ++++++++++++++++++++--- 2 files changed, 100 insertions(+), 13 deletions(-) diff --git a/keyboards/keebio/cepstrum/rev1/config.h b/keyboards/keebio/cepstrum/rev1/config.h index f4b1a33c0bec..51da6055abe5 100644 --- a/keyboards/keebio/cepstrum/rev1/config.h +++ b/keyboards/keebio/cepstrum/rev1/config.h @@ -57,7 +57,7 @@ #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 #define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS #define RGB_DI_PIN GP18 -#define RGB_MATRIX_LED_COUNT 95 +#define RGB_MATRIX_LED_COUNT 96 #define RGB_DISABLE_WHEN_USB_SUSPENDED #define RGB_MATRIX_FRAMEBUFFER_EFFECTS #define RGB_MATRIX_KEYPRESSES diff --git a/keyboards/keebio/cepstrum/rev1/info.json b/keyboards/keebio/cepstrum/rev1/info.json index 21cdbe8bdc94..0a0d932608d1 100644 --- a/keyboards/keebio/cepstrum/rev1/info.json +++ b/keyboards/keebio/cepstrum/rev1/info.json @@ -29,18 +29,105 @@ }, "rgb_matrix": { "driver": "WS2812", - "split_count": [48, 47], + "split_count": [48, 48], "layout": [ - {"flags":4, "x": 46, "y":0 }, {"flags":4, "x": 71, "y":0 }, {"flags":4, "x": 95, "y":0 }, {"flags":4, "x": 83, "y":60 }, {"flags":4, "x": 68, "y":60 }, {"flags":4, "x": 37, "y":60 }, {"flags":4, "x": 28, "y":4 }, {"flags":4, "x": 40, "y":4 }, {"flags":4, "x": 52, "y":4 }, {"flags":4, "x": 64, "y":4 }, -{"flags":4, "x": 77, "y":4 }, {"flags":4, "x": 89, "y":4 }, {"flags":4, "x":101, "y":4 }, {"flags":4, "x": 95, "y":19 }, {"flags":4, "x": 83, "y":19 }, {"flags":4, "x": 71, "y":19 }, {"flags":4, "x": 58, "y":19 }, {"flags":4, "x": 46, "y":19 }, {"flags":4, "x": 31, "y":19 }, {"flags":4, "x": 32, "y":34 }, -{"flags":4, "x": 49, "y":34 }, {"flags":4, "x": 61, "y":34 }, {"flags":4, "x": 74, "y":34 }, {"flags":4, "x": 86, "y":34 }, {"flags":4, "x": 98, "y":34 }, {"flags":4, "x":104, "y":49 }, {"flags":4, "x": 92, "y":49 }, {"flags":4, "x": 80, "y":49 }, {"flags":4, "x": 68, "y":49 }, {"flags":4, "x": 55, "y":49 }, -{"flags":4, "x": 35, "y":49 }, {"flags":4, "x": 29, "y":64 }, {"flags":4, "x": 44, "y":64 }, {"flags":4, "x": 60, "y":64 }, {"flags":4, "x": 75, "y":64 }, {"flags":4, "x": 97, "y":64 }, {"flags":4, "x": 12, "y":64 }, {"flags":4, "x": 0, "y":64 }, {"flags":4, "x": 6, "y":56 }, {"flags":4, "x": 12, "y":49 }, -{"flags":4, "x": 0, "y":49 }, {"flags":4, "x": 0, "y":34 }, {"flags":4, "x": 12, "y":34 }, {"flags":4, "x": 12, "y":19 }, {"flags":4, "x": 0, "y":19 }, {"flags":4, "x": 6, "y":15 }, {"flags":4, "x": 12, "y":4 }, {"flags":4, "x": 0, "y":4 }, {"flags":4, "x":224, "y":11 }, {"flags":4, "x":193, "y":0 }, -{"flags":4, "x":169, "y":0 }, {"flags":4, "x":132, "y":4 }, {"flags":4, "x":150, "y":60 }, {"flags":4, "x":181, "y":60 }, {"flags":4, "x":224, "y":56 }, {"flags":4, "x":224, "y":4 }, {"flags":4, "x":206, "y":4 }, {"flags":4, "x":187, "y":4 }, {"flags":4, "x":175, "y":4 }, {"flags":4, "x":163, "y":4 }, -{"flags":4, "x":150, "y":4 }, {"flags":4, "x":138, "y":4 }, {"flags":4, "x":126, "y":4 }, {"flags":4, "x":120, "y":19 }, {"flags":4, "x":132, "y":19 }, {"flags":4, "x":144, "y":19 }, {"flags":4, "x":156, "y":19 }, {"flags":4, "x":169, "y":19 }, {"flags":4, "x":181, "y":19 }, {"flags":4, "x":193, "y":19 }, -{"flags":4, "x":209, "y":19 }, {"flags":4, "x":224, "y":19 }, {"flags":4, "x":224, "y":34 }, {"flags":4, "x":204, "y":34 }, {"flags":4, "x":184, "y":34 }, {"flags":4, "x":172, "y":34 }, {"flags":4, "x":160, "y":34 }, {"flags":4, "x":147, "y":34 }, {"flags":4, "x":135, "y":34 }, {"flags":4, "x":123, "y":34 }, -{"flags":4, "x":129, "y":49 }, {"flags":4, "x":141, "y":49 }, {"flags":4, "x":153, "y":49 }, {"flags":4, "x":166, "y":49 }, {"flags":4, "x":178, "y":49 }, {"flags":4, "x":195, "y":49 }, {"flags":4, "x":212, "y":49 }, {"flags":4, "x":224, "y":49 }, {"flags":4, "x":224, "y":64 }, {"flags":4, "x":212, "y":64 }, -{"flags":4, "x":199, "y":64 }, {"flags":4, "x":187, "y":64 }, {"flags":4, "x":173, "y":64 }, {"flags":4, "x":158, "y":64 }, {"flags":4, "x":137, "y":64 } - ] + {"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,7], "flags":4, "x":104, "y":46}, + {"matrix": [3,6], "flags":4, "x":92, "y":46}, + {"matrix": [3,5], "flags":4, "x":80, "y":46}, + {"matrix": [3,4], "flags":4, "x":68, "y":46}, + {"matrix": [3,3], "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,7], "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}, + ] } } From 2ced85ac8777cedde27b35cb8ea91b1141266345 Mon Sep 17 00:00:00 2001 From: Danny Nguyen Date: Thu, 4 May 2023 12:50:10 -0400 Subject: [PATCH 08/15] Fix LED positions --- keyboards/keebio/cepstrum/rev1/info.json | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/keyboards/keebio/cepstrum/rev1/info.json b/keyboards/keebio/cepstrum/rev1/info.json index 0a0d932608d1..457a0fceb9a9 100644 --- a/keyboards/keebio/cepstrum/rev1/info.json +++ b/keyboards/keebio/cepstrum/rev1/info.json @@ -1,17 +1,14 @@ { "keyboard_name": "Cepstrum Rev. 1", - "usb": { - "pid": "0x1557", - "device_version": "1.0.0" - }, + "usb": {"pid": "0x1557", "device_version": "1.0.0"}, "processor": "RP2040", "bootloader": "rp2040", "debounce": 5, "diode_direction": "COL2ROW", "features": { - "console": true, - "rgblight": false, - "backlight": false, + "console" : true , + "rgblight" : false, + "backlight" : false, "rgb_matrix": true }, "split": { @@ -56,11 +53,11 @@ {"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,7], "flags":4, "x":104, "y":46}, - {"matrix": [3,6], "flags":4, "x":92, "y":46}, - {"matrix": [3,5], "flags":4, "x":80, "y":46}, - {"matrix": [3,4], "flags":4, "x":68, "y":46}, - {"matrix": [3,3], "flags":4, "x":55, "y":46}, + {"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}, @@ -75,7 +72,7 @@ {"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,7], "flags":4, "x":0, "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}, From 42720cc578413a97cc6fd9690e99d86736c2f3b8 Mon Sep 17 00:00:00 2001 From: Danny Nguyen Date: Thu, 4 May 2023 17:15:58 -0400 Subject: [PATCH 09/15] Update keymaps --- .../keebio/cepstrum/keymaps/default/keymap.c | 12 ++-- .../keebio/cepstrum/keymaps/via/keymap.c | 56 +++++++------------ .../keebio/cepstrum/keymaps/via/rules.mk | 1 - 3 files changed, 26 insertions(+), 43 deletions(-) diff --git a/keyboards/keebio/cepstrum/keymaps/default/keymap.c b/keyboards/keebio/cepstrum/keymaps/default/keymap.c index a1972dc5f97f..b7db8503112f 100644 --- a/keyboards/keebio/cepstrum/keymaps/default/keymap.c +++ b/keyboards/keebio/cepstrum/keymaps/default/keymap.c @@ -2,17 +2,17 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT_65xt( - KC_F1, KC_F2, KC_GRV, 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_END, + 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, QK_GESC, 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, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - RGB_VAI, RGB_VAD, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, + 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, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), + ) }; diff --git a/keyboards/keebio/cepstrum/keymaps/via/keymap.c b/keyboards/keebio/cepstrum/keymaps/via/keymap.c index 8101c82bfb5c..f8309a4a2d74 100644 --- a/keyboards/keebio/cepstrum/keymaps/via/keymap.c +++ b/keyboards/keebio/cepstrum/keymaps/via/keymap.c @@ -1,48 +1,32 @@ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_all( - KC_MUTE, KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_INS, - KC_F1, KC_F2, KC_GRV, 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_DEL, KC_BSPC, KC_HOME, - 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_END, - 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_NUHS, KC_ENT, KC_PGUP, - KC_F7, KC_F8, KC_LSFT, KC_NUBS, 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_LALT, KC_LGUI, MO(1), KC_SPC, KC_SPC, MO(1), KC_SPC, KC_RALT, KC_RCTL, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT + [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_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - RGB_HUI, RGB_HUD, QK_GESC, 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, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - RGB_VAI, RGB_VAD, _______, _______, 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, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ), - - [2] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + [2] = LAYOUT_65xt( _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ), - - [3] = LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + [3] = LAYOUT_65xt( _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ) }; - -#ifdef ENCODER_MAP_ENABLE -const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { - [0] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD), ENCODER_CCW_CW(KC_PGUP, KC_PGDN) }, - [1] = { ENCODER_CCW_CW(RGB_MOD, RGB_RMOD), ENCODER_CCW_CW(KC_MNXT, KC_MPRV) }, - [2] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, - [3] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }, -}; -#endif diff --git a/keyboards/keebio/cepstrum/keymaps/via/rules.mk b/keyboards/keebio/cepstrum/keymaps/via/rules.mk index 1189f4ad1927..36b7ba9cbc98 100644 --- a/keyboards/keebio/cepstrum/keymaps/via/rules.mk +++ b/keyboards/keebio/cepstrum/keymaps/via/rules.mk @@ -1,3 +1,2 @@ VIA_ENABLE = yes LTO_ENABLE = yes -ENCODER_MAP_ENABLE = yes From 02b3ea017dcaea95e48f18ef74b0e16469257fb9 Mon Sep 17 00:00:00 2001 From: Danny Nguyen Date: Thu, 4 May 2023 18:07:06 -0400 Subject: [PATCH 10/15] Add license headers --- keyboards/keebio/cepstrum/keymaps/default/keymap.c | 3 +++ keyboards/keebio/cepstrum/keymaps/via/keymap.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/keyboards/keebio/cepstrum/keymaps/default/keymap.c b/keyboards/keebio/cepstrum/keymaps/default/keymap.c index b7db8503112f..e8fc2e29c95b 100644 --- a/keyboards/keebio/cepstrum/keymaps/default/keymap.c +++ b/keyboards/keebio/cepstrum/keymaps/default/keymap.c @@ -1,3 +1,6 @@ +// 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] = { diff --git a/keyboards/keebio/cepstrum/keymaps/via/keymap.c b/keyboards/keebio/cepstrum/keymaps/via/keymap.c index f8309a4a2d74..1188757b7c24 100644 --- a/keyboards/keebio/cepstrum/keymaps/via/keymap.c +++ b/keyboards/keebio/cepstrum/keymaps/via/keymap.c @@ -1,3 +1,6 @@ +// 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] = { From 7cadc8cccb89fba4ea7b549806519c22a8496f62 Mon Sep 17 00:00:00 2001 From: Danny Nguyen Date: Thu, 4 May 2023 18:15:28 -0400 Subject: [PATCH 11/15] Update README --- keyboards/keebio/cepstrum/readme.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/keyboards/keebio/cepstrum/readme.md b/keyboards/keebio/cepstrum/readme.md index 4b415eabf460..c646c6b6ab78 100644 --- a/keyboards/keebio/cepstrum/readme.md +++ b/keyboards/keebio/cepstrum/readme.md @@ -15,6 +15,13 @@ Example of flashing this keyboard: Handedness detection is already hardwired onto the PCB, so no need to deal with `EE_HANDS` or flashing .eep files. -See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. +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) From 327330e9892971466c2b27508d7851c80d6cf477 Mon Sep 17 00:00:00 2001 From: Danny Nguyen Date: Thu, 4 May 2023 18:17:35 -0400 Subject: [PATCH 12/15] Remove rules.mk file --- keyboards/keebio/cepstrum/rules.mk | 1 - 1 file changed, 1 deletion(-) delete mode 100644 keyboards/keebio/cepstrum/rules.mk diff --git a/keyboards/keebio/cepstrum/rules.mk b/keyboards/keebio/cepstrum/rules.mk deleted file mode 100644 index 141995747985..000000000000 --- a/keyboards/keebio/cepstrum/rules.mk +++ /dev/null @@ -1 +0,0 @@ -DEFAULT_FOLDER = keebio/sinc/rev1 From 46056ed59407911d5e32695e244f6355ba034850 Mon Sep 17 00:00:00 2001 From: Danny Nguyen Date: Thu, 4 May 2023 22:08:44 -0400 Subject: [PATCH 13/15] Fix up includes --- keyboards/keebio/cepstrum/rev1/halconf.h | 2 +- keyboards/keebio/cepstrum/rev1/mcuconf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/keebio/cepstrum/rev1/halconf.h b/keyboards/keebio/cepstrum/rev1/halconf.h index a4c25c090a2e..2e098f5113d9 100644 --- a/keyboards/keebio/cepstrum/rev1/halconf.h +++ b/keyboards/keebio/cepstrum/rev1/halconf.h @@ -18,4 +18,4 @@ #define HAL_USE_I2C TRUE -#include_next "halconf.h" +#include_next diff --git a/keyboards/keebio/cepstrum/rev1/mcuconf.h b/keyboards/keebio/cepstrum/rev1/mcuconf.h index f0e64b1ca073..c8a510784cda 100644 --- a/keyboards/keebio/cepstrum/rev1/mcuconf.h +++ b/keyboards/keebio/cepstrum/rev1/mcuconf.h @@ -3,7 +3,7 @@ #pragma once -#include_next "mcuconf.h" +#include_next #undef RP_I2C_USE_I2C1 #define RP_I2C_USE_I2C1 TRUE From 1d1b0ff44620fa16fe19fc076e7769da52339318 Mon Sep 17 00:00:00 2001 From: Danny Nguyen Date: Fri, 12 May 2023 16:11:55 -0400 Subject: [PATCH 14/15] Move layout information into info.json, fix key labels --- keyboards/keebio/cepstrum/cepstrum.c | 4 - keyboards/keebio/cepstrum/cepstrum.h | 10 --- keyboards/keebio/cepstrum/info.json | 32 ++++--- .../keebio/cepstrum/keymaps/via/keymap.c | 14 --- keyboards/keebio/cepstrum/rev1/info.json | 89 ++++++++++++++++++- keyboards/keebio/cepstrum/rev1/rev1.h | 27 ------ 6 files changed, 101 insertions(+), 75 deletions(-) delete mode 100644 keyboards/keebio/cepstrum/cepstrum.c delete mode 100644 keyboards/keebio/cepstrum/cepstrum.h delete mode 100644 keyboards/keebio/cepstrum/rev1/rev1.h diff --git a/keyboards/keebio/cepstrum/cepstrum.c b/keyboards/keebio/cepstrum/cepstrum.c deleted file mode 100644 index 3d8cf5336357..000000000000 --- a/keyboards/keebio/cepstrum/cepstrum.c +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright 2022 Danny Nguyen (danny@keeb.io) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "cepstrum.h" diff --git a/keyboards/keebio/cepstrum/cepstrum.h b/keyboards/keebio/cepstrum/cepstrum.h deleted file mode 100644 index 1b5d0e856bbf..000000000000 --- a/keyboards/keebio/cepstrum/cepstrum.h +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2022 Danny Nguyen (danny@keeb.io) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include "quantum.h" - -#ifdef KEYBOARD_keebio_cepstrum_rev1 - #include "rev1.h" -#endif diff --git a/keyboards/keebio/cepstrum/info.json b/keyboards/keebio/cepstrum/info.json index e3061f52453c..61d1b43f8b3d 100644 --- a/keyboards/keebio/cepstrum/info.json +++ b/keyboards/keebio/cepstrum/info.json @@ -6,14 +6,12 @@ "vid": "0xCB10" }, "features": { - "audio": false, "bootmagic": true, "command": false, "console": true, "extrakey": true, "mousekey": true, - "nkro": false, - "unicode": false + "nkro": false }, "split": { "enabled": true @@ -25,7 +23,7 @@ "LAYOUT_65xt": { "layout": [ {"label":"F1", "x":0, "y":0}, - {"label":"F6", "x":1, "y":0}, + {"label":"F2", "x":1, "y":0}, {"label":"Esc", "x":2.25, "y":0}, {"label":"1", "x":3.25, "y":0}, @@ -42,10 +40,10 @@ {"label":"-", "x":14.25, "y":0}, {"label":"=", "x":15.25, "y":0}, {"label":"Bksp", "x":17.25, "y":0, "w": 2}, - {"label":"Home", "x":18.25, "y":0}, + {"label":"Del", "x":18.25, "y":0}, - {"label":"F2", "x":0, "y":1}, - {"label":"F7", "x":1, "y":1}, + {"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}, @@ -62,10 +60,10 @@ {"label":"{", "x":14.75, "y":1}, {"label":"}", "x":15.75, "y":1}, {"label":"|", "x":16.75, "y":1, "w":1.5}, - {"label":"PgUp", "x":18.25, "y":1}, + {"label":"Home", "x":18.25, "y":1}, - {"label":"F3", "x":0, "y":2}, - {"label":"F8", "x":1, "y":2}, + {"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}, @@ -81,10 +79,10 @@ {"label":":", "x":14, "y":2}, {"label":"\"", "x":15, "y":2}, {"label":"Enter", "x":16, "y":2, "w":2.25}, - {"label":"PgDn", "x":18.25, "y":2}, + {"label":"PgUp", "x":18.25, "y":2}, - {"label":"F4", "x":0, "y":3}, - {"label":"F9", "x":1, "y":3}, + {"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}, @@ -100,9 +98,9 @@ {"label":"/", "x":14.5, "y":3}, {"label":"Shift", "x":15.5, "y":3, "w":1.75}, {"label":"Up", "x":17.25, "y":3}, - {"label":"End", "x":18.25, "y":3}, + {"label":"PgDn", "x":18.25, "y":3}, - {"label":"F5", "x":0, "y":4}, + {"label":"F9", "x":0, "y":4}, {"label":"F10", "x":1, "y":4}, {"label":"Ctrl", "x":2.25, "y":4, "w":1.25}, @@ -113,8 +111,8 @@ {"label":"Space", "x":11.75, "y":4, "w":1.5}, {"label":"Alt", "x":13.25, "y":4}, - {"label":"Ctrl", "x":14.25, "y":4}, - {"label":"Win", "x":15.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} diff --git a/keyboards/keebio/cepstrum/keymaps/via/keymap.c b/keyboards/keebio/cepstrum/keymaps/via/keymap.c index 1188757b7c24..e8fc2e29c95b 100644 --- a/keyboards/keebio/cepstrum/keymaps/via/keymap.c +++ b/keyboards/keebio/cepstrum/keymaps/via/keymap.c @@ -17,19 +17,5 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { RGB_VAI, RGB_VAD, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, EE_CLR, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - [2] = LAYOUT_65xt( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - [3] = LAYOUT_65xt( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ) }; diff --git a/keyboards/keebio/cepstrum/rev1/info.json b/keyboards/keebio/cepstrum/rev1/info.json index 457a0fceb9a9..225989eac5e0 100644 --- a/keyboards/keebio/cepstrum/rev1/info.json +++ b/keyboards/keebio/cepstrum/rev1/info.json @@ -6,9 +6,6 @@ "debounce": 5, "diode_direction": "COL2ROW", "features": { - "console" : true , - "rgblight" : false, - "backlight" : false, "rgb_matrix": true }, "split": { @@ -24,6 +21,92 @@ "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], diff --git a/keyboards/keebio/cepstrum/rev1/rev1.h b/keyboards/keebio/cepstrum/rev1/rev1.h deleted file mode 100644 index faa84c308607..000000000000 --- a/keyboards/keebio/cepstrum/rev1/rev1.h +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2022 Danny Nguyen (danny@keeb.io) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include "cepstrum.h" -#include "quantum.h" - -#define LAYOUT_65xt( \ - LA1, LA2, LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA8, RA9, \ - LB1, LB2, LB3, LB4, LB5, LB6, LB7, LB8, RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, RB9, \ - LC1, LC2, LC3, LC4, LC5, LC6, LC7, LC8, RC1, RC2, RC3, RC4, RC5, RC6, RC8, RC9, \ - LD1, LD2, LD3, LD5, LD6, LD7, LD8, LD9, RD1, RD2, RD3, RD4, RD5, RD7, RD8, RD9, \ - LE1, LE2, LE3, LE4, LE5, LE6, LE8, RE2, RE3, RE4, RE5, RE7, RE8, RE9 \ - ) \ - { \ - { LA1, LA2, LA3, LA4, LA5, LA6, LA7, LA8, LA9 }, \ - { LB1, LB2, LB3, LB4, LB5, LB6, LB7, LB8, KC_NO }, \ - { LC1, LC2, LC3, LC4, LC5, LC6, LC7, LC8, KC_NO }, \ - { LD1, LD2, LD3, KC_NO, LD5, LD6, LD7, LD8, LD9 }, \ - { LE1, LE2, LE3, LE4, LE5, LE6, KC_NO, LE8, KC_NO }, \ - { RA1, RA2, RA3, RA4, RA5, RA6, KC_NO, RA8, RA9 }, \ - { RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, RB9 }, \ - { RC1, RC2, RC3, RC4, RC5, RC6, KC_NO, RC8, RC9 }, \ - { RD1, RD2, RD3, RD4, RD5, KC_NO, RD7, RD8, RD9 }, \ - { KC_NO, RE2, RE3, RE4, RE5, KC_NO, RE7, RE8, RE9 } \ - } From c9cec8f7b7881abbdcbba561be2fc8dff1c476d3 Mon Sep 17 00:00:00 2001 From: Danny Date: Sun, 14 May 2023 16:00:31 -0400 Subject: [PATCH 15/15] Apply suggestions from code review Co-authored-by: Drashna Jaelre --- keyboards/keebio/cepstrum/rev1/config.h | 3 ++- keyboards/keebio/cepstrum/rev1/info.json | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/keebio/cepstrum/rev1/config.h b/keyboards/keebio/cepstrum/rev1/config.h index 51da6055abe5..1dedcef2b099 100644 --- a/keyboards/keebio/cepstrum/rev1/config.h +++ b/keyboards/keebio/cepstrum/rev1/config.h @@ -56,7 +56,8 @@ #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 #define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS -#define RGB_DI_PIN GP18 +#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 diff --git a/keyboards/keebio/cepstrum/rev1/info.json b/keyboards/keebio/cepstrum/rev1/info.json index 225989eac5e0..a9f8c83d12d3 100644 --- a/keyboards/keebio/cepstrum/rev1/info.json +++ b/keyboards/keebio/cepstrum/rev1/info.json @@ -3,7 +3,6 @@ "usb": {"pid": "0x1557", "device_version": "1.0.0"}, "processor": "RP2040", "bootloader": "rp2040", - "debounce": 5, "diode_direction": "COL2ROW", "features": { "rgb_matrix": true