summaryrefslogtreecommitdiff
path: root/keyboards/zigotica/z34
diff options
context:
space:
mode:
authorフィルターペーパー <76888457+filterpaper@users.noreply.github.com>2023-12-24 07:46:46 +0800
committerGitHub <noreply@github.com>2023-12-23 15:46:46 -0800
commit0b410ffd776d6948861a5ae0f5fed75a63746344 (patch)
tree4b6d2093fe0158fdb1183b88b52cdbda8a1011e6 /keyboards/zigotica/z34
parent70a7ed26e17a1e414cb7feeaceb09f46cf9965d5 (diff)
Refactor: move keyboards into zigotica folder (#22709)
Diffstat (limited to 'keyboards/zigotica/z34')
-rw-r--r--keyboards/zigotica/z34/config.h26
-rw-r--r--keyboards/zigotica/z34/info.json81
-rw-r--r--keyboards/zigotica/z34/keymaps/default/config.h21
-rw-r--r--keyboards/zigotica/z34/keymaps/default/keymap.c77
-rw-r--r--keyboards/zigotica/z34/keymaps/default/readme.md3
-rw-r--r--keyboards/zigotica/z34/keymaps/default/rules.mk3
-rw-r--r--keyboards/zigotica/z34/readme.md3
-rw-r--r--keyboards/zigotica/z34/rules.mk19
8 files changed, 233 insertions, 0 deletions
diff --git a/keyboards/zigotica/z34/config.h b/keyboards/zigotica/z34/config.h
new file mode 100644
index 0000000000..d2ec68cc39
--- /dev/null
+++ b/keyboards/zigotica/z34/config.h
@@ -0,0 +1,26 @@
+/* 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
+
+// EE_HANDS MASTER_RIGHT MASTER_LEFT
+#define MASTER_RIGHT
+
diff --git a/keyboards/zigotica/z34/info.json b/keyboards/zigotica/z34/info.json
new file mode 100644
index 0000000000..e82a6dd304
--- /dev/null
+++ b/keyboards/zigotica/z34/info.json
@@ -0,0 +1,81 @@
+{
+ "keyboard_name": "z34",
+ "manufacturer": "zigotica",
+ "url": "https://github.com/zigotica/mechanical-keyboards/tree/main/z34",
+ "maintainer": "@zigotica",
+ "usb": {
+ "vid": "0x7A74",
+ "pid": "0x0002",
+ "device_version": "0.0.1"
+ },
+ "processor": "atmega32u4",
+ "bootloader": "caterina",
+ "matrix_pins": {
+ "direct": [
+ ["C6", "F7", "F6", "F5", "F4"],
+ ["D7", "B6", "B2", "B3", "B1"],
+ ["E6", "D4", "D0", "D1", "D3"],
+ ["B4", "B5", null, null, null]
+ ]
+ },
+ "split": {
+ "soft_serial_pin": "D2",
+ "matrix_pins": {
+ "right": {
+ "direct": [
+ ["F4", "F5", "F6", "F7", "C6"],
+ ["B1", "B3", "B2", "B6", "D7"],
+ ["D3", "D1", "D0", "D4", "E6"],
+ ["B5", "B4", null, null, null]
+ ]
+ }
+ }
+ },
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ {"x": 0, "y": 0.93, "matrix": [0, 0]},
+ {"x": 1, "y": 0.31, "matrix": [0, 1]},
+ {"x": 2, "y": 0, "matrix": [0, 2]},
+ {"x": 3, "y": 0.28, "matrix": [0, 3]},
+ {"x": 4, "y": 0.42, "matrix": [0, 4]},
+
+ {"x": 7, "y": 0.42, "matrix": [4, 0]},
+ {"x": 8, "y": 0.28, "matrix": [4, 1]},
+ {"x": 9, "y": 0, "matrix": [4, 2]},
+ {"x": 10, "y": 0.31, "matrix": [4, 3]},
+ {"x": 11, "y": 0.93, "matrix": [4, 4]},
+
+ {"x": 0, "y": 1.93, "matrix": [1, 0]},
+ {"x": 1, "y": 1.31, "matrix": [1, 1]},
+ {"x": 2, "y": 1, "matrix": [1, 2]},
+ {"x": 3, "y": 1.28, "matrix": [1, 3]},
+ {"x": 4, "y": 1.42, "matrix": [1, 4]},
+
+ {"x": 7, "y": 1.42, "matrix": [5, 0]},
+ {"x": 8, "y": 1.28, "matrix": [5, 1]},
+ {"x": 9, "y": 1, "matrix": [5, 2]},
+ {"x": 10, "y": 1.31, "matrix": [5, 3]},
+ {"x": 11, "y": 1.93, "matrix": [5, 4]},
+
+ {"x": 0, "y": 2.93, "matrix": [2, 0]},
+ {"x": 1, "y": 2.31, "matrix": [2, 1]},
+ {"x": 2, "y": 2, "matrix": [2, 2]},
+ {"x": 3, "y": 2.28, "matrix": [2, 3]},
+ {"x": 4, "y": 2.42, "matrix": [2, 4]},
+
+ {"x": 7, "y": 2.42, "matrix": [6, 0]},
+ {"x": 8, "y": 2.28, "matrix": [6, 1]},
+ {"x": 9, "y": 2, "matrix": [6, 2]},
+ {"x": 10, "y": 2.31, "matrix": [6, 3]},
+ {"x": 11, "y": 2.93, "matrix": [6, 4]},
+
+ {"x": 3.5, "y": 3.5, "matrix": [3, 0]},
+ {"x": 4.5, "y": 4, "matrix": [3, 1]},
+
+ {"x": 6.5, "y": 4, "matrix": [7, 0]},
+ {"x": 7.5, "y": 3.5, "matrix": [7, 1]}
+ ]
+ }
+ }
+}
diff --git a/keyboards/zigotica/z34/keymaps/default/config.h b/keyboards/zigotica/z34/keymaps/default/config.h
new file mode 100644
index 0000000000..2bcd017d72
--- /dev/null
+++ b/keyboards/zigotica/z34/keymaps/default/config.h
@@ -0,0 +1,21 @@
+/* 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
+
+
+// EE_HANDS MASTER_RIGHT MASTER_LEFT
+#define MASTER_RIGHT
diff --git a/keyboards/zigotica/z34/keymaps/default/keymap.c b/keyboards/zigotica/z34/keymaps/default/keymap.c
new file mode 100644
index 0000000000..973d24eafb
--- /dev/null
+++ b/keyboards/zigotica/z34/keymaps/default/keymap.c
@@ -0,0 +1,77 @@
+/* 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
+ *
+ * ,---------------------------------------. ,---------------------------------------.
+ * | | | | | | | | | | | |
+ * | Q | W | E | R | T | | Y | U | I | O | P |
+ * | | | | | | | | | | | |
+ * |-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------|
+ * | | | | | | | | | | | |
+ * | A | S | D | F | G | | H | J | K | L | ' |
+ * | | | | | | | | | | | |
+ * |-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------|
+ * | | | | | | | | | | | |
+ * | Z | X | C | V | B | | N | M | , | . | / |
+ * | | | | | | | | | | | |
+ * `-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------.
+ * | | | | | |
+ * | ESC | SPC | | ENTER | BSPC |
+ * | | | | | |
+ * `---------------' `---------------'
+ *
+ */
+ [BASE] = LAYOUT(
+ KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
+ KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT,
+ KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH,
+ KC_ESC, KC_SPC, KC_ENT, KC_BSPC
+ ),
+
+/*
+ * TEMPLATE
+ *
+ * ,---------------------------------------. ,---------------------------------------.
+ * | | | | | | | | | | | |
+ * | | | | | | | | | | | |
+ * | | | | | | | | | | | |
+ * |-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------|
+ * | | | | | | | | | | | |
+ * | | | | | | | | | | | |
+ * | | | | | | | | | | | |
+ * |-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------|
+ * | | | | | | | | | | | |
+ * | | | | | | | | | | | |
+ * | | | | | | | | | | | |
+ * `-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------.
+ * | | | | | |
+ * | | | | | |
+ * | | | | | |
+ * `---------------' `---------------'
+ *
+ */
+
+};
+
diff --git a/keyboards/zigotica/z34/keymaps/default/readme.md b/keyboards/zigotica/z34/keymaps/default/readme.md
new file mode 100644
index 0000000000..c6a0115573
--- /dev/null
+++ b/keyboards/zigotica/z34/keymaps/default/readme.md
@@ -0,0 +1,3 @@
+# Default z34 Layout
+
+This is the default QWERTY layout that comes flashed on every z34.
diff --git a/keyboards/zigotica/z34/keymaps/default/rules.mk b/keyboards/zigotica/z34/keymaps/default/rules.mk
new file mode 100644
index 0000000000..827811a362
--- /dev/null
+++ b/keyboards/zigotica/z34/keymaps/default/rules.mk
@@ -0,0 +1,3 @@
+# There are no extra pins, so we make sure to disable OLED and Encoders
+OLED_SUPPORTED = no
+ENCODER_SUPPORTED = no
diff --git a/keyboards/zigotica/z34/readme.md b/keyboards/zigotica/z34/readme.md
new file mode 100644
index 0000000000..29bbf571a3
--- /dev/null
+++ b/keyboards/zigotica/z34/readme.md
@@ -0,0 +1,3 @@
+# z34
+
+Firmware for [z34 split keyboard](https://github.com/zigotica/mechanical-keyboards/tree/main/z34) designed by @zigotica
diff --git a/keyboards/zigotica/z34/rules.mk b/keyboards/zigotica/z34/rules.mk
new file mode 100644
index 0000000000..669d2bc02f
--- /dev/null
+++ b/keyboards/zigotica/z34/rules.mk
@@ -0,0 +1,19 @@
+# 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
+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
+SPLIT_KEYBOARD = yes # Split common
+LTO_ENABLE = yes # Enables Link Time Optimization (LTO) which reduces the compiled size
+
+# There are no extra pins, so we make sure to disable OLED and Encoders
+OLED_SUPPORTED = no # Enables the use of OLED displays
+ENCODER_SUPPORTED = no # Enables the use of encoders
+