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/machkeyboards | |
parent | fe13cedf8c09fa34d5cec4e4c624738095176625 (diff) |
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/machkeyboards')
-rw-r--r-- | keyboards/machkeyboards/mach3/config.h | 38 | ||||
-rw-r--r-- | keyboards/machkeyboards/mach3/info.json | 53 | ||||
-rw-r--r-- | keyboards/machkeyboards/mach3/keymaps/default/keymap.c | 24 | ||||
-rw-r--r-- | keyboards/machkeyboards/mach3/keymaps/default/readme.md | 4 | ||||
-rw-r--r-- | keyboards/machkeyboards/mach3/keymaps/via/keymap.c | 24 | ||||
-rw-r--r-- | keyboards/machkeyboards/mach3/keymaps/via/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/machkeyboards/mach3/mach3.c | 42 | ||||
-rw-r--r-- | keyboards/machkeyboards/mach3/mach3.h | 29 | ||||
-rw-r--r-- | keyboards/machkeyboards/mach3/readme.md | 22 | ||||
-rw-r--r-- | keyboards/machkeyboards/mach3/rules.mk | 20 | ||||
-rw-r--r-- | keyboards/machkeyboards/readme.md | 7 |
11 files changed, 0 insertions, 265 deletions
diff --git a/keyboards/machkeyboards/mach3/config.h b/keyboards/machkeyboards/mach3/config.h deleted file mode 100644 index 1f3533d177..0000000000 --- a/keyboards/machkeyboards/mach3/config.h +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright 2021 Mach Keyboards - -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 3 -#define MATRIX_COLS 3 - -/* key pins */ -#define MATRIX_ROW_PINS { D1, D0, D4 } -#define MATRIX_COL_PINS { E6, B4, B5 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - -/* backlight */ -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - -/* debounce */ -#define DEBOUNCE 5
\ No newline at end of file diff --git a/keyboards/machkeyboards/mach3/info.json b/keyboards/machkeyboards/mach3/info.json deleted file mode 100644 index 3eab9a1a3f..0000000000 --- a/keyboards/machkeyboards/mach3/info.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "keyboard_name": "Mach 3", - "manufacturer": "MachKeyboard", - "url": "https://machkeyboards.com", - "maintainer": "etiennelepagel", - "usb": { - "vid": "0x4D41", - "pid": "0x4D33", - "device_version": "0.0.1" - }, - "layouts": { - "LAYOUT_3x3": { - "layout": [ - { - "x": 0, - "y": 0 - }, - { - "x": 1, - "y": 0 - }, - { - "x": 2, - "y": 0 - }, - { - "x": 0, - "y": 1 - }, - { - "x": 1, - "y": 1 - }, - { - "x": 2, - "y": 1 - }, - { - "x": 0, - "y": 2 - }, - { - "x": 1, - "y": 2 - }, - { - "x": 2, - "y": 2 - } - ] - } - } -}
\ No newline at end of file diff --git a/keyboards/machkeyboards/mach3/keymaps/default/keymap.c b/keyboards/machkeyboards/mach3/keymaps/default/keymap.c deleted file mode 100644 index 19133200e0..0000000000 --- a/keyboards/machkeyboards/mach3/keymaps/default/keymap.c +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2021 Mach Keyboards - * - * 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_3x3( - BL_INC, BL_DEC, BL_BRTG, - BL_INC, BL_DEC, BL_BRTG, - BL_INC, BL_DEC, BL_BRTG - ) -};
\ No newline at end of file diff --git a/keyboards/machkeyboards/mach3/keymaps/default/readme.md b/keyboards/machkeyboards/mach3/keymaps/default/readme.md deleted file mode 100644 index d12e48d497..0000000000 --- a/keyboards/machkeyboards/mach3/keymaps/default/readme.md +++ /dev/null @@ -1,4 +0,0 @@ -# Default Mach 3 Keymap - -This is the default layout that comes with the Mach 3. -The keys are set to only control the backlight.
\ No newline at end of file diff --git a/keyboards/machkeyboards/mach3/keymaps/via/keymap.c b/keyboards/machkeyboards/mach3/keymaps/via/keymap.c deleted file mode 100644 index 19133200e0..0000000000 --- a/keyboards/machkeyboards/mach3/keymaps/via/keymap.c +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2021 Mach Keyboards - * - * 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_3x3( - BL_INC, BL_DEC, BL_BRTG, - BL_INC, BL_DEC, BL_BRTG, - BL_INC, BL_DEC, BL_BRTG - ) -};
\ No newline at end of file diff --git a/keyboards/machkeyboards/mach3/keymaps/via/rules.mk b/keyboards/machkeyboards/mach3/keymaps/via/rules.mk deleted file mode 100644 index 36b7ba9cbc..0000000000 --- a/keyboards/machkeyboards/mach3/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes diff --git a/keyboards/machkeyboards/mach3/mach3.c b/keyboards/machkeyboards/mach3/mach3.c deleted file mode 100644 index 509aac9fe5..0000000000 --- a/keyboards/machkeyboards/mach3/mach3.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2021 Mach Keyboards - * - * 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 "mach3.h" - -#ifdef RGB_MATRIX_ENABLE -led_config_t g_led_config = { { - // Key Matrix to LED Index - { 0, 1, 2 }, - { 5, 4, 3 }, - { 6, 7, 8 }, -}, { - // LED Index to Physical Position - { 0, 0 }, { 112, 0 }, { 224, 0 }, - { 0, 112 }, { 112, 112 }, { 224, 112 }, - { 0, 224 }, { 112, 224 }, { 224, 224 }, -}, { - // LED Index to Flag - 4, 4, 4, - 4, 4, 4, - 4, 4, 4 -} }; -#endif - -void keyboard_pre_init_kb(void) { - setPinOutput(F5); - writePinHigh(F5); - - keyboard_pre_init_user(); -} diff --git a/keyboards/machkeyboards/mach3/mach3.h b/keyboards/machkeyboards/mach3/mach3.h deleted file mode 100644 index 2eeadb3fba..0000000000 --- a/keyboards/machkeyboards/mach3/mach3.h +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright 2021 Mach Keyboards - * - * 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 LAYOUT_3x3( \ - K00, K01, K02, \ - K10, K11, K12, \ - K20, K21, K22 \ - ) \ - { \ - { K00, K01, K02 }, \ - { K10, K11, K12 }, \ - { K20, K21, K22 } \ - } diff --git a/keyboards/machkeyboards/mach3/readme.md b/keyboards/machkeyboards/mach3/readme.md deleted file mode 100644 index d4c6f6a65c..0000000000 --- a/keyboards/machkeyboards/mach3/readme.md +++ /dev/null @@ -1,22 +0,0 @@ -# Mach 3 - -A 3x3 macropad with RGB underglow. -Note: It sets an output pin to high, which is the alimentation of the backlight circuit. - -* Keyboard Maintainer: [etiennelepagel](https://github.com/etiennelepagel) -* Hardware Supported: Mach 3 from Mach Keyboards -* Hardware Availability: [Mach Keyboards Official Website](https://machkeyboards.com/) - -## Bootloader - -Enter the bootloader in 3 ways: - -* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard -* **Physical reset button**: Briefly press the button on the back of the PCB -* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available - -Make example for this keyboard (after setting up your build environment): - - make machkeyboards/mach3:default - -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/machkeyboards/mach3/rules.mk b/keyboards/machkeyboards/mach3/rules.mk deleted file mode 100644 index ada54400b2..0000000000 --- a/keyboards/machkeyboards/mach3/rules.mk +++ /dev/null @@ -1,20 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = caterina - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # 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 = yes # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -UNICODE_ENABLE = yes -BACKLIGHT_DRIVER = pwm
\ No newline at end of file diff --git a/keyboards/machkeyboards/readme.md b/keyboards/machkeyboards/readme.md deleted file mode 100644 index ef2f8b159d..0000000000 --- a/keyboards/machkeyboards/readme.md +++ /dev/null @@ -1,7 +0,0 @@ -# Mach Keyboards - -Mach Keyboards focus itself on selling the best macropad in the world. - -[Mach Keyboards Official Website](https://machkeyboards.com) -[Discord](https://discord.gg/ukFKFc7eXy) -[Instagram](https://www.instagram.com/machkeyboards)
\ No newline at end of file |