39c40f55cb3a7c808ff322177435042cb40153bb
- Author
- Christian C. Berclaz <christian.berclaz@mac.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/keyboards/zlant_xl/keyboard.json b/keyboards/zlant_xl/keyboard.json
2new file mode 100644
3index 0000000000000000000000000000000000000000..540f1e75069d83dd0dba21060e2674f2e39d53b1
4--- /dev/null
5+++ b/keyboards/zlant_xl/keyboard.json
6@@ -0,0 +1,89 @@
7+{
8+ "manufacturer": "Ziptyze",
9+ "keyboard_name": "ZlantXL",
10+ "maintainer": "chrisgve",
11+ "bootloader": "atmel-dfu",
12+ "diode_direction": "COL2ROW",
13+ "features": {
14+ "bootmagic": true,
15+ "extrakey": true,
16+ "mousekey": true,
17+ "nkro": true
18+ },
19+ "matrix_pins": {
20+ "cols": ["D6", "D5", "C7", "C5", "D3", "D4"],
21+ "rows": ["C4", "C6", "B1", "B0", "B3", "B2", "B5", "B4", "B7", "B6"]
22+ },
23+ "processor": "atmega32u2",
24+ "usb": {
25+ "device_version": "0.0.1",
26+ "pid": "0x6800",
27+ "vid": "0xFEED"
28+ },
29+ "layouts": {
30+ "LAYOUT": {
31+ "layout": [
32+ {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0},
33+ {"label": "1", "matrix": [1, 0], "x": 1, "y": 0},
34+ {"label": "2", "matrix": [0, 1], "x": 2, "y": 0},
35+ {"label": "3", "matrix": [1, 1], "x": 3, "y": 0},
36+ {"label": "4", "matrix": [0, 2], "x": 4, "y": 0},
37+ {"label": "5", "matrix": [1, 2], "x": 5, "y": 0},
38+ {"label": "6", "matrix": [0, 3], "x": 6, "y": 0},
39+ {"label": "7", "matrix": [1, 3], "x": 7, "y": 0},
40+ {"label": "8", "matrix": [0, 4], "x": 8, "y": 0},
41+ {"label": "9", "matrix": [1, 4], "x": 9, "y": 0},
42+ {"label": "0", "matrix": [0, 5], "x": 10, "y": 0},
43+ {"label": "Del", "matrix": [1, 5], "x": 11, "y": 0},
44+ {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 1},
45+ {"label": "Q", "matrix": [3, 0], "x": 1, "y": 1},
46+ {"label": "W", "matrix": [2, 1], "x": 2, "y": 1},
47+ {"label": "E", "matrix": [3, 1], "x": 3, "y": 1},
48+ {"label": "R", "matrix": [2, 2], "x": 4, "y": 1},
49+ {"label": "T", "matrix": [3, 2], "x": 5, "y": 1},
50+ {"label": "Y", "matrix": [2, 3], "x": 6, "y": 1},
51+ {"label": "U", "matrix": [3, 3], "x": 7, "y": 1},
52+ {"label": "I", "matrix": [2, 4], "x": 8, "y": 1},
53+ {"label": "O", "matrix": [3, 4], "x": 9, "y": 1},
54+ {"label": "P", "matrix": [2, 5], "x": 10, "y": 1},
55+ {"label": "Backspace", "matrix": [3, 5], "x": 11, "y": 1},
56+ {"label": "Keycaps", "matrix": [4, 0], "x": 0, "y": 2},
57+ {"label": "A", "matrix": [5, 0], "x": 1, "y": 2},
58+ {"label": "S", "matrix": [4, 1], "x": 2, "y": 2},
59+ {"label": "D", "matrix": [5, 1], "x": 3, "y": 2},
60+ {"label": "F", "matrix": [4, 2], "x": 4, "y": 2},
61+ {"label": "G", "matrix": [5, 2], "x": 5, "y": 2},
62+ {"label": "H", "matrix": [4, 3], "x": 6, "y": 2},
63+ {"label": "J", "matrix": [5, 3], "x": 7, "y": 2},
64+ {"label": "K", "matrix": [4, 4], "x": 8, "y": 2},
65+ {"label": "L", "matrix": [5, 4], "x": 9, "y": 2},
66+ {"label": ";", "matrix": [4, 5], "x": 10, "y": 2},
67+ {"label": "'", "matrix": [5, 5], "x": 11, "y": 2},
68+ {"label": "Shift", "matrix": [6, 0], "x": 0, "y": 3},
69+ {"label": "Z", "matrix": [7, 0], "x": 1, "y": 3},
70+ {"label": "X", "matrix": [6, 1], "x": 2, "y": 3},
71+ {"label": "C", "matrix": [7, 1], "x": 3, "y": 3},
72+ {"label": "V", "matrix": [6, 2], "x": 4, "y": 3},
73+ {"label": "B", "matrix": [7, 2], "x": 5, "y": 3},
74+ {"label": "N", "matrix": [6, 3], "x": 6, "y": 3},
75+ {"label": "M", "matrix": [7, 3], "x": 7, "y": 3},
76+ {"label": ",", "matrix": [6, 4], "x": 8, "y": 3},
77+ {"label": ".", "matrix": [7, 4], "x": 9, "y": 3},
78+ {"label": "/", "matrix": [6, 5], "x": 10, "y": 3},
79+ {"label": "Enter", "matrix": [7, 5], "x": 11, "y": 3},
80+ {"label": "", "matrix": [8, 0], "x": 0, "y": 4},
81+ {"label": "Ctrl", "matrix": [9, 0], "x": 1, "y": 4},
82+ {"label": "Alt", "matrix": [8, 1], "x": 2, "y": 4},
83+ {"label": "GUI", "matrix": [9, 1], "x": 3, "y": 4},
84+ {"label": "MO(2)", "matrix": [8, 2], "x": 4, "y": 4},
85+ {"label": " ", "matrix": [9, 2], "x": 5, "y": 4},
86+ {"label": " ", "matrix": [8, 3], "x": 6, "y": 4},
87+ {"label": "MO(1)", "matrix": [9, 3], "x": 7, "y": 4},
88+ {"label": "Left", "matrix": [8, 4], "x": 8, "y": 4},
89+ {"label": "Down", "matrix": [9, 4], "x": 9, "y": 4},
90+ {"label": "Up", "matrix": [8, 5], "x": 10, "y": 4},
91+ {"label": "Right", "matrix": [9, 5], "x": 11, "y": 4}
92+ ]
93+ }
94+ }
95+}
96diff --git a/keyboards/zlant_xl/keymaps/default/keymap.c b/keyboards/zlant_xl/keymaps/default/keymap.c
97new file mode 100644
98index 0000000000000000000000000000000000000000..c92960048f65b3b57b5aaed8503ef25d7d343a58
99--- /dev/null
100+++ b/keyboards/zlant_xl/keymaps/default/keymap.c
101@@ -0,0 +1,42 @@
102+/* Copyright 2024 Christian C. Berclaz
103+ *
104+ * This program is free software: you can redistribute it and/or modify
105+ * it under the terms of the GNU General Public License as published by
106+ * the Free Software Foundation, either version 2 of the License, or
107+ * (at your option) any later version.
108+ *
109+ * This program is distributed in the hope that it will be useful,
110+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
111+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
112+ * GNU General Public License for more details.
113+ *
114+ * You should have received a copy of the GNU General Public License
115+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
116+ */
117+
118+#include QMK_KEYBOARD_H
119+
120+enum layers {
121+ BASE,
122+ FN
123+};
124+
125+// clang-format off
126+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
127+
128+ [BASE] = LAYOUT(
129+ KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
130+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
131+ KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
132+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
133+ _______, KC_LCTL, KC_LALT, KC_LGUI, KC_LSFT, KC_SPC, KC_SPC, MO(1), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
134+ ),
135+ [FN] = LAYOUT(
136+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
137+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
138+ _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
139+ _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_HOME, KC_END, _______,
140+ _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
141+ )
142+};
143+// clang-format on
144diff --git a/keyboards/zlant_xl/readme.md b/keyboards/zlant_xl/readme.md
145new file mode 100644
146index 0000000000000000000000000000000000000000..aab5746096f2d809dc0174df54bd05bc6060bc44
147--- /dev/null
148+++ b/keyboards/zlant_xl/readme.md
149@@ -0,0 +1,26 @@
150+# ZLANT XL
151+
152+
153+_A unique 50% mechanical keyboard that uses a slanted ortholinear layout_
154+
155+- Keyboard Maintainer: [chrisgve](https://github.com/chrisgve)
156+- Hardware Supported: Zlant XL w/Ziptyze's atmega32u2 powered controller [The Rune](https://1upkeyboards.com/shop/controllers/the-rune-by-ziptyze/)
157+- Hardware Availability: [1UP Keyboards](https://1upkeyboards.com/shop/keyboard-kits/diy-40-kits/zlantxl-50-mechanical-keyboard-kit/)
158+
159+Make example for this keyboard (after setting up your build environment):
160+
161+ make zlant_xl:default
162+
163+Flashing example for this keyboard:
164+
165+ make zlant_xl:default:flash
166+