diff options
author | lokher <lokher@gmail.com> | 2022-09-13 11:24:05 +0800 |
---|---|---|
committer | lokher <lokher@gmail.com> | 2022-09-13 11:24:05 +0800 |
commit | 9581289745736ce068a1040f44cec37a2ca8830d (patch) | |
tree | 24f644715a5fd6cc4d804d9604fb094307808b1b /keyboards/cantor | |
parent | fe13cedf8c09fa34d5cec4e4c624738095176625 (diff) |
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/cantor')
-rw-r--r-- | keyboards/cantor/config.h | 46 | ||||
-rw-r--r-- | keyboards/cantor/halconf.h | 8 | ||||
-rw-r--r-- | keyboards/cantor/info.json | 71 | ||||
-rw-r--r-- | keyboards/cantor/keymaps/default/keymap.c | 28 | ||||
-rw-r--r-- | keyboards/cantor/keymaps/zeromist/keymap.c | 107 | ||||
-rw-r--r-- | keyboards/cantor/mcuconf.h | 9 | ||||
-rw-r--r-- | keyboards/cantor/readme.md | 30 | ||||
-rw-r--r-- | keyboards/cantor/rules.mk | 2 |
8 files changed, 0 insertions, 301 deletions
diff --git a/keyboards/cantor/config.h b/keyboards/cantor/config.h deleted file mode 100644 index 650e06cf5e..0000000000 --- a/keyboards/cantor/config.h +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Diego Palacios (@diepala) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 8 -#define MATRIX_COLS 6 - -#define DIRECT_PINS {{B1, B10, A8, B15, B14, B13}, \ - {B9, B8, B5, B4, B3, A15}, \ - {A3, A4, A5, A6, A7, B0}, \ - {A2, A1, A0, NO_PIN, NO_PIN, NO_PIN}} -#define DIRECT_PINS_RIGHT {{B13, B14, B15, A8, B10, B1}, \ - {A15, B3, B4, B5, B8, B9}, \ - {B0, A7, A6, A5, A4, A3}, \ - {A0, A1, A2, NO_PIN, NO_PIN, NO_PIN}} - -#define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode. -#define SERIAL_USART_TX_PIN B6 // USART TX pin -#define SERIAL_USART_RX_PIN B7 // USART RX pin - -/* Top left key on left half */ -#define BOOTMAGIC_LITE_ROW 0 -#define BOOTMAGIC_LITE_COLUMN 0 -/* Top right key on right half */ -#define BOOTMAGIC_LITE_ROW_RIGHT 4 -#define BOOTMAGIC_LITE_COLUMN_RIGHT 5 - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/cantor/halconf.h b/keyboards/cantor/halconf.h deleted file mode 100644 index 8214c4bc6d..0000000000 --- a/keyboards/cantor/halconf.h +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright 2022 Diego Palacios (@diepala) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#define HAL_USE_SERIAL TRUE - -#include_next <halconf.h> diff --git a/keyboards/cantor/info.json b/keyboards/cantor/info.json deleted file mode 100644 index 6d599f4300..0000000000 --- a/keyboards/cantor/info.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "manufacturer": "Diego Palacios", - "keyboard_name": "cantor", - "maintainer": "diepala", - "bootloader": "stm32-dfu", - "features": { - "bootmagic": true, - "command": false, - "console": false, - "extrakey": true, - "mousekey": true, - "nkro": true - }, - "processor": "STM32F401", - "board": "BLACKPILL_STM32_F401", - "url": "https://github.com/diepala/cantor", - "usb": { - "device_version": "1.0.0", - "pid": "0x0000", - "vid": "0xFEED" - }, - "community_layouts": ["split_3x6_3"], - "layouts": { - "LAYOUT_split_3x6_3": { - "layout": [ - { "matrix": [0, 0], "x": 0, "y": 0.25 }, - { "matrix": [0, 1], "x": 1, "y": 0.25 }, - { "matrix": [0, 2], "x": 2, "y": 0.125 }, - { "matrix": [0, 3], "x": 3, "y": 0 }, - { "matrix": [0, 4], "x": 4, "y": 0.125 }, - { "matrix": [0, 5], "x": 5, "y": 0.25 }, - { "matrix": [4, 0], "x": 8, "y": 0.25 }, - { "matrix": [4, 1], "x": 9, "y": 0.125 }, - { "matrix": [4, 2], "x": 10, "y": 0 }, - { "matrix": [4, 3], "x": 11, "y": 0.125 }, - { "matrix": [4, 4], "x": 12, "y": 0.25 }, - { "matrix": [4, 5], "x": 13, "y": 0.25 }, - { "matrix": [1, 0], "x": 0, "y": 1.25 }, - { "matrix": [1, 1], "x": 1, "y": 1.25 }, - { "matrix": [1, 2], "x": 2, "y": 1.125 }, - { "matrix": [1, 3], "x": 3, "y": 1 }, - { "matrix": [1, 4], "x": 4, "y": 1.125 }, - { "matrix": [1, 5], "x": 5, "y": 1.25 }, - { "matrix": [5, 0], "x": 8, "y": 1.25 }, - { "matrix": [5, 1], "x": 9, "y": 1.125 }, - { "matrix": [5, 2], "x": 10, "y": 1 }, - { "matrix": [5, 3], "x": 11, "y": 1.125 }, - { "matrix": [5, 4], "x": 12, "y": 1.25 }, - { "matrix": [5, 5], "x": 13, "y": 1.25 }, - { "matrix": [2, 0], "x": 0, "y": 2.25 }, - { "matrix": [2, 1], "x": 1, "y": 2.25 }, - { "matrix": [2, 2], "x": 2, "y": 2.125 }, - { "matrix": [2, 3], "x": 3, "y": 2 }, - { "matrix": [2, 4], "x": 4, "y": 2.125 }, - { "matrix": [2, 5], "x": 5, "y": 2.25 }, - { "matrix": [6, 0], "x": 8, "y": 2.25 }, - { "matrix": [6, 1], "x": 9, "y": 2.125 }, - { "matrix": [6, 2], "x": 10, "y": 2 }, - { "matrix": [6, 3], "x": 11, "y": 2.125 }, - { "matrix": [6, 4], "x": 12, "y": 2.25 }, - { "matrix": [6, 5], "x": 13, "y": 2.25 }, - { "matrix": [3, 0], "x": 3.5, "y": 3.25 }, - { "matrix": [3, 1], "x": 4.5, "y": 3.5 }, - { "matrix": [3, 2], "x": 5.5, "y": 3.75 }, - { "matrix": [7, 0], "x": 7.5, "y": 3.75 }, - { "matrix": [7, 1], "x": 8.5, "y": 3.5 }, - { "matrix": [7, 2], "x": 9.5, "y": 3.25 } - ] - } - } -} diff --git a/keyboards/cantor/keymaps/default/keymap.c b/keyboards/cantor/keymaps/default/keymap.c deleted file mode 100644 index d4e03aa615..0000000000 --- a/keyboards/cantor/keymaps/default/keymap.c +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2022 Diego Palacios (@diepala) -// SPDX-License-Identifier: GPL-2.0 - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┐ - * │Tab│ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │Bsp│ - * ├───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┤ - * │Ctl│ A │ S │ D │ F │ G │ │ H │ J │ K │ L │ ; │ ' │ - * ├───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┤ - * │Sft│ Z │ X │ C │ V │ B │ │ N │ M │ , │ . │ / │Sft│ - * └───┴───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┴───┘ - * ┌───┐ ┌───┐ - * │GUI├───┐ ┌───┤Alt│ - * └───┤ ├───┐ ┌───┤ ├───┘ - * └───┤Bsp│ │Ent├───┘ - * └───┘ └───┘ - */ - [0] = LAYOUT_split_3x6_3( - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - 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_LGUI, KC_SPC, KC_BSPC, KC_ENT, KC_SPC, KC_RALT - ) -}; - diff --git a/keyboards/cantor/keymaps/zeromist/keymap.c b/keyboards/cantor/keymaps/zeromist/keymap.c deleted file mode 100644 index 1c4f56a727..0000000000 --- a/keyboards/cantor/keymaps/zeromist/keymap.c +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Diego Palacios (@diepala) -// SPDX-License-Identifier: GPL-2.0 - -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┐ - * │Tab│ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │Bsp│ - * ├───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┤ - * │ESC│ A │ S │ D │ F │ G │ │ H │ J │ K │ L │ ; │ ' │ - * ├───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┤ - * │Sft│ Z │ X │ C │ V │ B │ │ N │ M │ , │ . │ / │Sft│ - * └───┴───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┴───┘ - * ┌────┐ ┌───┐ - * │LCTL├───────┐ ┌─────┤Alt│ - * └────┤GUI/Bsp├───────┐ ┌───┤TO(1)├───┘ - * └───────┤ALT/ENT│ │SPC├─────┘ - * └───────┘ └───┘ - */ - [0] = LAYOUT_split_3x6_3( - //-------------------------------------------------------------------------- --------------------------------------------------------------------------------- - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - //-------------------------------------------------------------------------- --------------------------------------------------------------------------------- - KC_ESCAPE, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - //-------------------------------------------------------------------------- --------------------------------------------------------------------------------- - 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_LCTL, MT(MOD_LGUI, KC_BSPC), MT(MOD_LALT, KC_ENT), KC_SPC, TO(1), KC_RALT - //-------------------------------------------------------------------------- --------------------------------------------------------------------------------- - ), - /* - * ┌───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┐ - * │`~ │ 1 │ 2 │ 3 │ 4 │ 5 │ │ 6 │ 7 │ 8 │ 9 │ 0 │Bsp│ - * ├───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┤ - * │ │ ! │ @ │ # │ $ │ % │ │ ^ │ & │ * │ ( │ ) │ | │ - * ├───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┤ - * │Sft│ += │ -_│ + │ { │ } │ │ [ │ ] │ ; │ : │ \ │ │ - * └───┴───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┴───┘ - * ┌────────┐ ┌─────┐ - * │ MLCKSCN ├─────┐ ┌────┤TO(3)│ - * └────────┤TO(0)├───┐ ┌───┤TO(2)├─────┘ - * └─────┤ < │ │ > ├────┘ - * └───┘ └───┘ - */ - [1] = LAYOUT_split_3x6_3( - //-------------------------------------------------------------- --------------------------------------------------------------------------------- - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, - //-------------------------------------------------------------- --------------------------------------------------------------------------------- - KC_TRNS, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_PIPE, - //-------------------------------------------------------------- --------------------------------------------------------------------------------- - KC_LSFT, KC_EQL, KC_MINS, KC_PLUS, KC_LCBR, KC_RCBR, KC_LBRC, KC_RBRC, KC_SCLN, KC_COLN, KC_BSLS, KC_RSFT, - //-------------------------------------------------------------- --------------------------------------------------------------------------------- - KC_TRNS, TO(0), KC_LT, KC_GT, TO(2), TO(3) - //-------------------------------------------------------------- --------------------------------------------------------------------------------- - ), - /* - * ┌────┬──────┬──────┬──────┬──────────┬──────┐ ┌──────┬──────┬──────┬───────┬──────┬───┐ - * │MSTP│ Play │ PRVS │ Next │ │ CAPS │ │ PgDn │ PgUp │ INS │ Print │ │Bsp│ - * ├────┼──────┼──────┼───────┼─────────┼──────┤ ├──────┼──────┼──────┼───────┼──────┼───┤ - * │ │ HOME │ END │ LCTRL+C │ LCTRL+V │ │ │ Left │ Down │ Up │ Right │ Del │ │ - * ├────┼──────┼──────┼───────┼────────┼──────┤ ├──────┼──────┼──────┼───────┼──────┼───┤ - * │Sft │ UNDO │ CUT │ COPY │ PASTE │ RApp │ │ Vol- │ Vol+ │ Mute │ │ RGui │ │ - * └────┴──────┴──────┴──────┴───────┴──────┘ └──────┴──────┴──────┴───────┴──────┴───┘ - * ┌─────┐ ┌─────┐ - * │LCTRL├─────┐ ┌─────┤TO(3)│ - * └─────┤TO(0)├───┐ ┌───┤TO(0)├─────┘ - * └─────┤ALT│ │SPC├─────┘ - * └───┘ └───┘ - */ - [2] = LAYOUT_split_3x6_3( - //-------------------------------------------------------------- --------------------------------------------------------------------------------- - KC_MSTP, KC_MPLY, KC_MPRV, KC_MNXT, KC_NO, KC_CAPS, KC_PGDOWN, KC_PGUP, KC_INS, KC_PSCR, KC_NO, KC_BSPC, - //-------------------------------------------------------------- --------------------------------------------------------------------------------- - KC_NO, KC_HOME, KC_END, C(KC_C), C(KC_V), KC_NO, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_DEL, KC_NO, - //-------------------------------------------------------------- --------------------------------------------------------------------------------- - KC_TAB, KC_UNDO, KC_CUT, KC_COPY, KC_PASTE, KC_APP, KC_VOLD, KC_VOLU, KC_MUTE, KC_NO, KC_NO, KC_RSFT, - //-------------------------------------------------------------- --------------------------------------------------------------------------------- - KC_LCTL, TO(0), KC_LALT, KC_TRNS, KC_TRNS, TO(3) - //-------------------------------------------------------------- --------------------------------------------------------------------------------- - ), - /* - * ┌──┬────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬─────┬─────┐ - * │ │ F1 │ F2 │ F3 │ F4 │ F5 │ │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ - * ├──┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼─────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ F12 │ - * ├──┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼─────┼─────┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * └──┴────┴────┴────┴────┴────┘ └────┴────┴────┴────┴─────┴─────┘ - * ┌───┐ ┌───┐ - * │ ├─────┐ ┌─────┤ │ - * └───┤TO(0)├───┐ ┌───┤ ├───┘ - * └─────┤ENT│ │ ├─────┘ - * └───┘ └───┘ - */ - [3] = LAYOUT_split_3x6_3( - //-------------------------------------------------------------- --------------------------------------------------------------------------------- - KC_NO, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - //-------------------------------------------------------------- --------------------------------------------------------------------------------- - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F12, - //-------------------------------------------------------------- --------------------------------------------------------------------------------- - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - //-------------------------------------------------------------- --------------------------------------------------------------------------------- - KC_NO, TO(0), KC_NO, KC_NO, KC_NO, KC_NO - //-------------------------------------------------------------- --------------------------------------------------------------------------------- - ) -}; diff --git a/keyboards/cantor/mcuconf.h b/keyboards/cantor/mcuconf.h deleted file mode 100644 index 9274e1b9ca..0000000000 --- a/keyboards/cantor/mcuconf.h +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright 2022 Diego Palacios (@diepala) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include_next <mcuconf.h> - -#undef STM32_SERIAL_USE_USART1 -#define STM32_SERIAL_USE_USART1 TRUE diff --git a/keyboards/cantor/readme.md b/keyboards/cantor/readme.md deleted file mode 100644 index 9a45d7befc..0000000000 --- a/keyboards/cantor/readme.md +++ /dev/null @@ -1,30 +0,0 @@ -# cantor - -![cantor](https://i.imgur.com/Uvxm3zVh.jpg) - -The Cantor keyboard is a 42 key diodeless split keyboard, designed with simplicity in mind. It is inspired on the popular [corne](https://github.com/foostan/crkbd), [ferris](https://github.com/pierrechevalier83/ferris) and [sweep](https://github.com/davidphilipbarr/Sweep) keyboards, aiming to provide a more ergonomic (stronger column stagger) corne-like layout with a simple, easy to assemble and cheap design. - -* Keyboard Maintainer: [Diego Palacios](https://github.com/diepala) -* Hardware Supported: Blackpill STM32F401 -* Hardware Availability: https://github.com/diepala/cantor - -Make example for this keyboard (after setting up your build environment): - - make cantor:default - -Flashing example for this keyboard: - - make cantor:default:flash - -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 3 ways: - -* **Bootmagic reset**: Hold down the top left key and plug in the keyboard. For the right side, hold the top right key and plug the keyboard. -* **Physical reset button**: - * Press and hold the BOOT0 button. - * Press and release the NRST button. - * Release the BOOT0 button. -* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/cantor/rules.mk b/keyboards/cantor/rules.mk deleted file mode 100644 index 6bd8b9bf77..0000000000 --- a/keyboards/cantor/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -SPLIT_KEYBOARD = yes -SERIAL_DRIVER = usart |