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/momoka_ergo | |
parent | fe13cedf8c09fa34d5cec4e4c624738095176625 (diff) |
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/momoka_ergo')
-rw-r--r-- | keyboards/momoka_ergo/config.h | 114 | ||||
-rw-r--r-- | keyboards/momoka_ergo/info.json | 94 | ||||
-rw-r--r-- | keyboards/momoka_ergo/keymaps/default/keymap.c | 58 | ||||
-rw-r--r-- | keyboards/momoka_ergo/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/momoka_ergo/momoka_ergo.c | 17 | ||||
-rw-r--r-- | keyboards/momoka_ergo/momoka_ergo.h | 56 | ||||
-rw-r--r-- | keyboards/momoka_ergo/readme.md | 29 | ||||
-rw-r--r-- | keyboards/momoka_ergo/rules.mk | 19 |
8 files changed, 0 insertions, 388 deletions
diff --git a/keyboards/momoka_ergo/config.h b/keyboards/momoka_ergo/config.h deleted file mode 100644 index e480581220..0000000000 --- a/keyboards/momoka_ergo/config.h +++ /dev/null @@ -1,114 +0,0 @@ -/* -Copyright 2021 StefanGrindelwald - -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 - -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 14 -#define MATRIX_COLS 6 - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5, B6, B7 } -#define MATRIX_COL_PINS { F7, F6, F5, F4, F1, F0 } - -/* COL2ROW, ROW2COL */ -#define DIODE_DIRECTION COL2ROW -#define SELECT_SOFT_SERIAL_SPEED 5 -/* - * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. - */ -#define SOFT_SERIAL_PIN D1 // or D1, D2, D3, E6 - -#define RGB_DI_PIN C7 -#define RGBLIGHT_ANIMATIONS -#define RGBLED_NUM 22 -#define RGBLED_SPLIT { 11, 11 } -#define RGBLIGHT_HUE_STEP 8 -#define RGBLIGHT_SAT_STEP 8 -#define RGBLIGHT_VAL_STEP 8 - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 3 - -/* define if matrix has ghost (lacks anti-ghosting diodes) */ -//#define MATRIX_HAS_GHOST - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -/* If defined, GRAVE_ESC will always act as ESC when CTRL is held. - * This is useful for the Windows task manager shortcut (ctrl+shift+esc). - */ -//#define GRAVE_ESC_CTRL_OVERRIDE - -/* - * Force NKRO - * - * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved - * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the - * makefile for this to work.) - * - * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) - * until the next keyboard reset. - * - * NKRO may prevent your keystrokes from being detected in the BIOS, but it is - * fully operational during normal computer usage. - * - * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) - * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by - * bootmagic, NKRO mode will always be enabled until it is toggled again during a - * power-up. - * - */ -//#define FORCE_NKRO - -/* - * 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 - -/* Bootmagic Lite key configuration */ -//#define BOOTMAGIC_LITE_ROW 0 -//#define BOOTMAGIC_LITE_COLUMN 0 - -#define USE_SERIAL -#define SPLIT_USB_DETECT -#define EE_HANDS diff --git a/keyboards/momoka_ergo/info.json b/keyboards/momoka_ergo/info.json deleted file mode 100644 index c4d6cf38d7..0000000000 --- a/keyboards/momoka_ergo/info.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "keyboard_name": "Momoka Ergo", - "manufacturer": "StefanGrindelwald", - "url": "", - "maintainer": "StefanGrindelwald", - "usb": { - "vid": "0xFEED", - "pid": "0x0000", - "device_version": "0.0.1" - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"label":"L05", "x":0, "y":0.375, "w":1.5}, - {"label":"L04", "x":1.5, "y":0.375}, - {"label":"L03", "x":2.5, "y":0.125}, - {"label":"L02", "x":3.5, "y":0}, - {"label":"L01", "x":4.5, "y":0.125}, - {"label":"L00", "x":5.5, "y":0.25}, - {"label":"R70", "x":12.5, "y":0.25}, - {"label":"R71", "x":13.5, "y":0.125}, - {"label":"R72", "x":14.5, "y":0}, - {"label":"R73", "x":15.5, "y":0.125}, - {"label":"R74", "x":16.5, "y":0.375}, - {"label":"R75", "x":17.5, "y":0.375, "w":1.5}, - - {"label":"L15", "x":0, "y":1.375, "w":1.5}, - {"label":"L14", "x":1.5, "y":1.375}, - {"label":"L13", "x":2.5, "y":1.125}, - {"label":"L12", "x":3.5, "y":1}, - {"label":"L11", "x":4.5, "y":1.125}, - {"label":"L10", "x":5.5, "y":1.25}, - {"label":"R80", "x":12.5, "y":1.25}, - {"label":"R81", "x":13.5, "y":1.125}, - {"label":"R82", "x":14.5, "y":1}, - {"label":"R83", "x":15.5, "y":1.125}, - {"label":"R84", "x":16.5, "y":1.375}, - {"label":"R85", "x":17.5, "y":1.375, "w":1.5}, - - {"label":"L25", "x":0, "y":2.375, "w":1.5}, - {"label":"L24", "x":1.5, "y":2.375}, - {"label":"L23", "x":2.5, "y":2.125}, - {"label":"L22", "x":3.5, "y":2}, - {"label":"L21", "x":4.5, "y":2.125}, - {"label":"L20", "x":5.5, "y":2.25}, - {"label":"R90", "x":12.5, "y":2.25}, - {"label":"R91", "x":13.5, "y":2.125}, - {"label":"R92", "x":14.5, "y":2}, - {"label":"R93", "x":15.5, "y":2.125}, - {"label":"R94", "x":16.5, "y":2.375}, - {"label":"R95", "x":17.5, "y":2.375, "w":1.5}, - - {"label":"L35", "x":0, "y":3.375, "w":1.5}, - {"label":"L34", "x":1.5, "y":3.375}, - {"label":"L33", "x":2.5, "y":3.125}, - {"label":"L32", "x":3.5, "y":3}, - {"label":"L31", "x":4.5, "y":3.125}, - {"label":"L30", "x":5.5, "y":3.25}, - {"label":"RA0", "x":12.5, "y":3.25}, - {"label":"RA1", "x":13.5, "y":3.125}, - {"label":"RA2", "x":14.5, "y":3}, - {"label":"RA3", "x":15.5, "y":3.125}, - {"label":"RA4", "x":16.5, "y":3.375}, - {"label":"RA5", "x":17.5, "y":3.375, "w":1.5}, - - {"label":"L45", "x":0.5, "y":4.375}, - {"label":"L44", "x":1.5, "y":4.375}, - {"label":"L43", "x":2.5, "y":4.125}, - {"label":"L42", "x":3.5, "y":4}, - {"label":"L41", "x":4.5, "y":4.125}, - {"label":"RB1", "x":13.5, "y":4.125}, - {"label":"RB2", "x":14.5, "y":4}, - {"label":"RB3", "x":15.5, "y":4.125}, - {"label":"RB4", "x":16.5, "y":4.375}, - {"label":"RB5", "x":17.5, "y":4.375}, - - {"label":"L51", "x":7, "y":4.875}, - {"label":"L40", "x":8, "y":4.875}, - {"label":"RB0", "x":10, "y":4.875}, - {"label":"RC1", "x":11, "y":4.875}, - - {"label":"L50", "x":8, "y":5.875}, - {"label":"RC0", "x":10, "y":5.875}, - - {"label":"L52", "x":6, "y":5.875, "h":2}, - {"label":"L61", "x":7, "y":5.875, "h":2}, - {"label":"L60", "x":8, "y":6.875}, - {"label":"RD0", "x":10, "y":6.875}, - {"label":"RD1", "x":11, "y":5.875, "h":2}, - {"label":"RC2", "x":12, "y":5.875, "h":2} - ] - } - } -} diff --git a/keyboards/momoka_ergo/keymaps/default/keymap.c b/keyboards/momoka_ergo/keymaps/default/keymap.c deleted file mode 100644 index 45faae63ba..0000000000 --- a/keyboards/momoka_ergo/keymaps/default/keymap.c +++ /dev/null @@ -1,58 +0,0 @@ -/* Copyright 2021 StefanGrindelwald - * - * 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/>. - */ -#include QMK_KEYBOARD_H - -// Defines names for use in layer keycodes and the keymap -enum layer_names { - _BASE, - _FN1, - _FN2 -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Base */ - [_BASE] = LAYOUT( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, - 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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, - MO(_FN1), KC_GRV, KC_EQL, KC_LEFT, KC_RGHT, KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, MO(_FN1), - KC_LCTL, KC_LALT, KC_RGUI, KC_RCTL, - KC_HOME, KC_PGUP, - KC_BSPC, KC_DEL, KC_END, KC_PGDN, KC_ENT, KC_SPC - ), - [_FN1] = LAYOUT( - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - MO(_FN2), _______, _______, _______, _______, _______, _______, _______, RGB_RMOD, RGB_MOD, RGB_TOG, MO(_FN2), - _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, RGB_VAI, RGB_VAD, RGB_SAI, RGB_SAD, _______, - _______, _______, _______, _______, - _______, RGB_HUI, - _______, _______, _______, RGB_HUD, _______, _______ - ), - [_FN2] = LAYOUT( - KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, QK_BOOT, _______, _______, _______, _______, QK_BOOT, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, RGB_RMOD, RGB_MOD, RGB_TOG, _______, - _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, RGB_VAI, RGB_VAD, RGB_SAI, RGB_SAD, _______, - _______, _______, _______, _______, - _______, RGB_HUI, - _______, _______, _______, RGB_HUD, _______, _______ - ) - -}; diff --git a/keyboards/momoka_ergo/keymaps/default/readme.md b/keyboards/momoka_ergo/keymaps/default/readme.md deleted file mode 100644 index 390149d6bb..0000000000 --- a/keyboards/momoka_ergo/keymaps/default/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for momoka_ergo diff --git a/keyboards/momoka_ergo/momoka_ergo.c b/keyboards/momoka_ergo/momoka_ergo.c deleted file mode 100644 index 8069d7f512..0000000000 --- a/keyboards/momoka_ergo/momoka_ergo.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2021 StefanGrindelwald - * - * 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/>. - */ - -#include "momoka_ergo.h" diff --git a/keyboards/momoka_ergo/momoka_ergo.h b/keyboards/momoka_ergo/momoka_ergo.h deleted file mode 100644 index 1bbc1b242a..0000000000 --- a/keyboards/momoka_ergo/momoka_ergo.h +++ /dev/null @@ -1,56 +0,0 @@ -/* Copyright 2021 StefanGrindelwald - * - * 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 - -#include "quantum.h" - -#define XXX KC_NO - -/* This is a shortcut to help you visually see your layout. - * - * The first section contains all of the arguments representing the physical - * layout of the board and position of the keys. - * - * The second converts the arguments into a two-dimensional array which - * represents the switch matrix. - */ -#define LAYOUT( \ - L05, L04, L03, L02, L01, L00, R70, R71, R72, R73, R74, R75, \ - L15, L14, L13, L12, L11, L10, R80, R81, R82, R83, R84, R85, \ - L25, L24, L23, L22, L21, L20, R90, R91, R92, R93, R94, R95, \ - L35, L34, L33, L32, L31, L30, RA0, RA1, RA2, RA3, RA4, RA5, \ - L45, L44, L43, L42, L41, RB1, RB2, RB3, RB4, RB5, \ - L51, L40, RB0, RC1, \ - L50, RC0, \ - L52, L61, L60, RD0, RD1, RC2 \ - ) \ - { \ - { L00, L01, L02, L03, L04, L05 }, \ - { L10, L11, L12, L13, L14, L15 }, \ - { L20, L21, L22, L23, L24, L25 }, \ - { L30, L31, L32, L33, L34, L35 }, \ - { L40, L41, L42, L43, L44, L45 }, \ - { L50, L51, L52, XXX, XXX, XXX }, \ - { L60, L61, XXX, XXX, XXX, XXX }, \ - { R70, R71, R72, R73, R74, R75 }, \ - { R80, R81, R82, R83, R84, R85 }, \ - { R90, R91, R92, R93, R94, R95 }, \ - { RA0, RA1, RA2, RA3, RA4, RA5 }, \ - { RB0, RB1, RB2, RB3, RB4, RB5 }, \ - { RC0, RC1, RC2, XXX, XXX, XXX }, \ - { RD0, RD1, XXX, XXX, XXX, XXX } \ - } diff --git a/keyboards/momoka_ergo/readme.md b/keyboards/momoka_ergo/readme.md deleted file mode 100644 index d0a289abaf..0000000000 --- a/keyboards/momoka_ergo/readme.md +++ /dev/null @@ -1,29 +0,0 @@ -# momoka_ergo - -![momoka_ergo](https://github.com/StefanGrindelwald/TestDemo/blob/master/Momoka_ergo.jpg?raw=true) - -The MOMOKA Ergo is a split keyboard that is based on the Ergodox standard layout. It has 35 keys and 11 RGB backlights on each part. The two parts of the keyboard is connected by a TRRS cable. - -* Keyboard Maintainer: [StefanGrindelwald](https://github.com/StefanGrindelwald) -* Hardware Supported: momoka.co/ergo -* Hardware Availability: momoka.co/ergo - -Bootloader: - -With the default keymap, you can easily use FN+Shift+D to enter the bootloader in left side and FN+shift+K in right side. Or you can just use the microswitch in the PCB. - -Make example for this keyboard (after setting up your build environment): - - make momoka_ergo:default - -Flashing example for this keyboard(Note that you need flash the both side keyboard respectively): - -For the left side: - - make momoka_ergo:default:dfu-split-left - -For the right side: - - make momoka_ergo:default:dfu-split-right - -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). diff --git a/keyboards/momoka_ergo/rules.mk b/keyboards/momoka_ergo/rules.mk deleted file mode 100644 index 509dcc85c5..0000000000 --- a/keyboards/momoka_ergo/rules.mk +++ /dev/null @@ -1,19 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = atmel-dfu - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -SPLIT_KEYBOARD = yes |