diff options
| author | フィルターペーパー <76888457+filterpaper@users.noreply.github.com> | 2023-12-24 07:46:46 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-23 15:46:46 -0800 |
| commit | 0b410ffd776d6948861a5ae0f5fed75a63746344 (patch) | |
| tree | 4b6d2093fe0158fdb1183b88b52cdbda8a1011e6 /keyboards/z12 | |
| parent | 70a7ed26e17a1e414cb7feeaceb09f46cf9965d5 (diff) | |
Refactor: move keyboards into zigotica folder (#22709)
Diffstat (limited to 'keyboards/z12')
| -rw-r--r-- | keyboards/z12/config.h | 22 | ||||
| -rw-r--r-- | keyboards/z12/info.json | 48 | ||||
| -rw-r--r-- | keyboards/z12/keymaps/default/config.h | 26 | ||||
| -rw-r--r-- | keyboards/z12/keymaps/default/keymap.c | 59 | ||||
| -rw-r--r-- | keyboards/z12/keymaps/default/readme.md | 3 | ||||
| -rw-r--r-- | keyboards/z12/keymaps/default/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/z12/readme.md | 3 | ||||
| -rw-r--r-- | keyboards/z12/rules.mk | 15 |
8 files changed, 0 insertions, 178 deletions
diff --git a/keyboards/z12/config.h b/keyboards/z12/config.h deleted file mode 100644 index fef7fb59bd..0000000000 --- a/keyboards/z12/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2020 Sergi Meseguer <zigotica@gmail.com> - -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 - -/* 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 diff --git a/keyboards/z12/info.json b/keyboards/z12/info.json deleted file mode 100644 index 8a88206df8..0000000000 --- a/keyboards/z12/info.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "keyboard_name": "z12", - "manufacturer": "zigotica", - "url": "https://github.com/zigotica/mechanical-keyboards/tree/main/z12", - "maintainer": "@zigotica", - "usb": { - "vid": "0x7A74", - "pid": "0x0001", - "device_version": "0.0.1" - }, - "encoder": { - "rotary": [ - {"pin_a": "B5", "pin_b": "B4"}, - {"pin_a": "B6", "pin_b": "B2"} - ] - }, - "processor": "atmega32u4", - "bootloader": "caterina", - "matrix_pins": { - "direct": [ - [null, "E6", "C6", null], - ["D2", "D7", "D4", "D3"], - ["F7", "B1", "B3", null], - ["F6", "F5", "F4", null] - ] - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"x": 1, "y": 0, "matrix": [0, 1]}, - {"x": 2, "y": 0, "matrix": [0, 2]}, - - {"x": 0, "y": 0.5, "matrix": [1, 0]}, - {"x": 1, "y": 1, "matrix": [1, 1]}, - {"x": 2, "y": 1, "matrix": [1, 2]}, - {"x": 3, "y": 0.5, "matrix": [1, 3]}, - - {"x": 0.5, "y": 2, "matrix": [2, 0]}, - {"x": 1.5, "y": 2, "matrix": [2, 1]}, - {"x": 2.5, "y": 2, "matrix": [2, 2]}, - - {"x": 0.5, "y": 3, "matrix": [3, 0]}, - {"x": 1.5, "y": 3, "matrix": [3, 1]}, - {"x": 2.5, "y": 3, "matrix": [3, 2]} - ] - } - } -} diff --git a/keyboards/z12/keymaps/default/config.h b/keyboards/z12/keymaps/default/config.h deleted file mode 100644 index 1fcf924f35..0000000000 --- a/keyboards/z12/keymaps/default/config.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright 2020 Sergi Meseguer <zigotica@gmail.com> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -#pragma once - -#define OLED_DISPLAY_128X32 - -// EC11 encoders' resolution. -// Reduce the value to 2 if you feel missing values: -#define ENCODER_RESOLUTION 4 - -// Allows correct registered values by rotary encoder: -#define TAP_CODE_DELAY 10 diff --git a/keyboards/z12/keymaps/default/keymap.c b/keyboards/z12/keymaps/default/keymap.c deleted file mode 100644 index 16a6c1f70e..0000000000 --- a/keyboards/z12/keymaps/default/keymap.c +++ /dev/null @@ -1,59 +0,0 @@ -/* Copyright 2020 Sergi Meseguer <zigotica@gmail.com> - -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 - -enum layers { - BASE = 0 -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { -/* - * Base Layer: BASE - * - * ,-----------------------. - * | | o | o | | - * |-------+---+---+-------| - * | o | o | o | o | - * |-------+-------+-------| - * | o | o | o | - * |-------+-------+-------| - * | o | o | o | - * |-------+-------+-------| - */ - [BASE] = LAYOUT( - KC_Q, KC_W, - KC_E, KC_R, KC_T, KC_Y, - KC_U, KC_I, KC_O, - KC_P, KC_K, KC_A - ), - -/* - * TEMPLATE - * - * ,-----------------------. - * | | o | o | | - * |-------+---+---+-------| - * | o | o | o | o | - * |-------+-------+-------| - * | o | o | o | - * |-------+-------+-------| - * | o | o | o | - * |-------+-------+-------| - */ - -}; - diff --git a/keyboards/z12/keymaps/default/readme.md b/keyboards/z12/keymaps/default/readme.md deleted file mode 100644 index 5f30ab6a39..0000000000 --- a/keyboards/z12/keymaps/default/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# Default z12 Layout - -This is the default layout that comes flashed on every z12. diff --git a/keyboards/z12/keymaps/default/rules.mk b/keyboards/z12/keymaps/default/rules.mk deleted file mode 100644 index b220469c6c..0000000000 --- a/keyboards/z12/keymaps/default/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -OLED_ENABLE = yes # Enables the use of OLED displays -MOUSEKEY_ENABLE = yes diff --git a/keyboards/z12/readme.md b/keyboards/z12/readme.md deleted file mode 100644 index 17e4bfdb84..0000000000 --- a/keyboards/z12/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# z12 - -Firmware for [z12 micropad](https://github.com/zigotica/mechanical-keyboards/tree/main/z12) designed by @zigotica diff --git a/keyboards/z12/rules.mk b/keyboards/z12/rules.mk deleted file mode 100644 index 102b2e62a3..0000000000 --- a/keyboards/z12/rules.mk +++ /dev/null @@ -1,15 +0,0 @@ -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # 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 -ENCODER_ENABLE = yes # Enables the use of encoders -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -LTO_ENABLE = yes # Enables Link Time Optimization (LTO) which reduces the compiled size -OLED_ENABLE = yes # Enables the use of OLED displays |
