aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorGvalch-ca <78301272+Gvalch-ca@users.noreply.github.com>2021-05-13 20:54:13 +0300
committerGitHub <noreply@github.com>2021-05-13 19:54:13 +0200
commit37ca66f6cf44c33600d7191da7c2725805670eeb (patch)
treeccc6efaadd76b691301a1b4fd3baa23c25e8319b /keyboards
parent2f6618d6991a3cce81be10baba1e9feba3fa3b3c (diff)
downloadqmk_firmware-37ca66f6cf44c33600d7191da7c2725805670eeb.tar.gz
qmk_firmware-37ca66f6cf44c33600d7191da7c2725805670eeb.zip
Add Gvalchca SpaccBoard (#12876)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/gvalchca/spaccboard/config.h48
-rw-r--r--keyboards/gvalchca/spaccboard/info.json214
-rw-r--r--keyboards/gvalchca/spaccboard/keymaps/default/keymap.c39
-rw-r--r--keyboards/gvalchca/spaccboard/keymaps/default/readme.md1
-rw-r--r--keyboards/gvalchca/spaccboard/keymaps/via/keymap.c48
-rw-r--r--keyboards/gvalchca/spaccboard/keymaps/via/rules.mk1
-rw-r--r--keyboards/gvalchca/spaccboard/readme.md14
-rw-r--r--keyboards/gvalchca/spaccboard/rules.mk24
-rw-r--r--keyboards/gvalchca/spaccboard/spaccboard.c17
-rw-r--r--keyboards/gvalchca/spaccboard/spaccboard.h66
10 files changed, 472 insertions, 0 deletions
diff --git a/keyboards/gvalchca/spaccboard/config.h b/keyboards/gvalchca/spaccboard/config.h
new file mode 100644
index 000000000..64b13bd9b
--- /dev/null
+++ b/keyboards/gvalchca/spaccboard/config.h
@@ -0,0 +1,48 @@
1/*
2Copyright 2021 Kirill Shkuretskiy
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0x6776
24#define PRODUCT_ID 0x5342
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Gvalchca
27#define PRODUCT SpaccBoard
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 15
32
33// ROWS: Top to bottom, COLS: Left to right
34
35#define MATRIX_ROW_PINS {B1,B2,B3,C7,F0}
36#define MATRIX_COL_PINS {E6,B7,D5,D6,D7,B4,B5,B6,C6,F7,F6,F5,F4,F1,D3}
37
38/* COL2ROW or ROW2COL */
39#define DIODE_DIRECTION COL2ROW
40
41/* define if matrix has ghost */
42//#define MATRIX_HAS_GHOST
43
44/* Set 0 if debouncing isn't needed */
45#define DEBOUNCE 5
46
47#define QMK_ESC_OUTPUT E6 // usually COL
48#define QMK_ESC_INPUT B1 // usually ROW
diff --git a/keyboards/gvalchca/spaccboard/info.json b/keyboards/gvalchca/spaccboard/info.json
new file mode 100644
index 000000000..051b5e0a2
--- /dev/null
+++ b/keyboards/gvalchca/spaccboard/info.json
@@ -0,0 +1,214 @@
1{
2 "keyboard_name": "SpaccBoard",
3 "url": "https://keebmeup.com",
4 "maintainer": "Gvalchca",
5 "width": 15,
6 "height": 5,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"x": 0, "y": 0},
11 {"x": 1, "y": 0},
12 {"x": 2, "y": 0},
13 {"x": 3, "y": 0},
14 {"x": 4, "y": 0},
15 {"x": 5, "y": 0},
16 {"x": 6, "y": 0},
17 {"x": 7, "y": 0},
18 {"x": 8, "y": 0},
19 {"x": 9, "y": 0},
20 {"x": 10, "y": 0},
21 {"x": 11, "y": 0},
22 {"x": 12, "y": 0},
23 {"x": 13, "y": 0},
24 {"x": 14, "y": 0},
25
26 {"x": 0, "y": 1, "w": 1.5},
27 {"x": 1.5, "y": 1},
28 {"x": 2.5, "y": 1},
29 {"x": 3.5, "y": 1},
30 {"x": 4.5, "y": 1},
31 {"x": 5.5, "y": 1},
32 {"x": 6.5, "y": 1},
33 {"x": 7.5, "y": 1},
34 {"x": 8.5, "y": 1},
35 {"x": 9.5, "y": 1},
36 {"x": 10.5, "y": 1},
37 {"x": 11.5, "y": 1},
38 {"x": 12.5, "y": 1},
39 {"x": 13.5, "y": 1, "w": 1.5},
40
41 {"x": 0, "y": 2, "w": 1.75},
42 {"x": 1.75, "y": 2},
43 {"x": 2.75, "y": 2},
44 {"x": 3.75, "y": 2},
45 {"x": 4.75, "y": 2},
46 {"x": 5.75, "y": 2},
47 {"x": 6.75, "y": 2},
48 {"x": 7.75, "y": 2},
49 {"x": 8.75, "y": 2},
50 {"x": 9.75, "y": 2},
51 {"x": 10.75, "y": 2},
52 {"x": 11.75, "y": 2},
53 {"x": 12.75, "y": 2, "w": 2.25},
54
55 {"x": 0, "y": 3, "w": 2.25},
56 {"x": 2.25, "y": 3},
57 {"x": 3.25, "y": 3},
58 {"x": 4.25, "y": 3},
59 {"x": 5.25, "y": 3},
60 {"x": 6.25, "y": 3},
61 {"x": 7.25, "y": 3},
62 {"x": 8.25, "y": 3},
63 {"x": 9.25, "y": 3},
64 {"x": 10.25, "y": 3},
65 {"x": 11.25, "y": 3},
66 {"x": 12.25, "y": 3, "w": 2.75},
67
68 {"x": 0, "y": 4, "w": 1.5},
69 {"x": 1.5, "y": 4},
70 {"x": 2.5, "y": 4, "w": 1.5},
71 {"x": 4, "y": 4, "w": 7},
72 {"x": 11, "y": 4, "w": 1.5},
73 {"x": 12.5, "y": 4},
74 {"x": 13.5, "y": 4, "w": 1.5}
75 ]
76 },
77 "LAYOUT_ansi": {
78 "layout": [
79 {"x": 0, "y": 0},
80 {"x": 1, "y": 0},
81 {"x": 2, "y": 0},
82 {"x": 3, "y": 0},
83 {"x": 4, "y": 0},
84 {"x": 5, "y": 0},
85 {"x": 6, "y": 0},
86 {"x": 7, "y": 0},
87 {"x": 8, "y": 0},
88 {"x": 9, "y": 0},
89 {"x": 10, "y": 0},
90 {"x": 11, "y": 0},
91 {"x": 12, "y": 0},
92 {"x": 13, "y": 0, "w": 2},
93
94 {"x": 0, "y": 1, "w": 1.5},
95 {"x": 1.5, "y": 1},
96 {"x": 2.5, "y": 1},
97 {"x": 3.5, "y": 1},
98 {"x": 4.5, "y": 1},
99 {"x": 5.5, "y": 1},
100 {"x": 6.5, "y": 1},
101 {"x": 7.5, "y": 1},
102 {"x": 8.5, "y": 1},
103 {"x": 9.5, "y": 1},
104 {"x": 10.5, "y": 1},
105 {"x": 11.5, "y": 1},
106 {"x": 12.5, "y": 1},
107 {"x": 13.5, "y": 1, "w": 1.5},
108
109 {"x": 0, "y": 2, "w": 1.75},
110 {"x": 1.75, "y": 2},
111 {"x": 2.75, "y": 2},
112 {"x": 3.75, "y": 2},
113 {"x": 4.75, "y": 2},
114 {"x": 5.75, "y": 2},
115 {"x": 6.75, "y": 2},
116 {"x": 7.75, "y": 2},
117 {"x": 8.75, "y": 2},
118 {"x": 9.75, "y": 2},
119 {"x": 10.75, "y": 2},
120 {"x": 11.75, "y": 2},
121 {"x": 12.75, "y": 2, "w": 2.25},
122
123 {"x": 0, "y": 3, "w": 2.25},
124 {"x": 2.25, "y": 3},
125 {"x": 3.25, "y": 3},
126 {"x": 4.25, "y": 3},
127 {"x": 5.25, "y": 3},
128 {"x": 6.25, "y": 3},
129 {"x": 7.25, "y": 3},
130 {"x": 8.25, "y": 3},
131 {"x": 9.25, "y": 3},
132 {"x": 10.25, "y": 3},
133 {"x": 11.25, "y": 3},
134 {"x": 12.25, "y": 3, "w": 2.75},
135
136 {"x": 0, "y": 4, "w": 1.5},
137 {"x": 1.5, "y": 4},
138 {"x": 2.5, "y": 4, "w": 1.5},
139 {"x": 4, "y": 4, "w": 7},
140 {"x": 11, "y": 4, "w": 1.5},
141 {"x": 12.5, "y": 4},
142 {"x": 13.5, "y": 4, "w": 1.5}
143 ]
144 },
145 "LAYOUT_bae": {
146 "layout": [
147 {"x": 0, "y": 0},
148 {"x": 1, "y": 0},
149 {"x": 2, "y": 0},
150 {"x": 3, "y": 0},
151 {"x": 4, "y": 0},
152 {"x": 5, "y": 0},
153 {"x": 6, "y": 0},
154 {"x": 7, "y": 0},
155 {"x": 8, "y": 0},
156 {"x": 9, "y": 0},
157 {"x": 10, "y": 0},
158 {"x": 11, "y": 0},
159 {"x": 12, "y": 0},
160 {"x": 13, "y": 0},
161 {"x": 14, "y": 0},
162
163 {"x": 0, "y": 1, "w": 1.5},
164 {"x": 1.5, "y": 1},
165 {"x": 2.5, "y": 1},
166 {"x": 3.5, "y": 1},
167 {"x": 4.5, "y": 1},
168 {"x": 5.5, "y": 1},
169 {"x": 6.5, "y": 1},
170 {"x": 7.5, "y": 1},
171 {"x": 8.5, "y": 1},
172 {"x": 9.5, "y": 1},
173 {"x": 10.5, "y": 1},
174 {"x": 11.5, "y": 1},
175 {"x": 12.5, "y": 1},
176
177 {"x": 0, "y": 2, "w": 1.75},
178 {"x": 1.75, "y": 2},
179 {"x": 2.75, "y": 2},
180 {"x": 3.75, "y": 2},
181 {"x": 4.75, "y": 2},
182 {"x": 5.75, "y": 2},
183 {"x": 6.75, "y": 2},
184 {"x": 7.75, "y": 2},
185 {"x": 8.75, "y": 2},
186 {"x": 9.75, "y": 2},
187 {"x": 10.75, "y": 2},
188 {"x": 11.75, "y": 2},
189 {"x": 12.75, "y": 1, "w": 2.25, "h": 2},
190
191 {"x": 0, "y": 3, "w": 2.25},
192 {"x": 2.25, "y": 3},
193 {"x": 3.25, "y": 3},
194 {"x": 4.25, "y": 3},
195 {"x": 5.25, "y": 3},
196 {"x": 6.25, "y": 3},
197 {"x": 7.25, "y": 3},
198 {"x": 8.25, "y": 3},
199 {"x": 9.25, "y": 3},
200 {"x": 10.25, "y": 3},
201 {"x": 11.25, "y": 3},
202 {"x": 12.25, "y": 3, "w": 2.75},
203
204 {"x": 0, "y": 4, "w": 1.5},
205 {"x": 1.5, "y": 4},
206 {"x": 2.5, "y": 4, "w": 1.5},
207 {"x": 4, "y": 4, "w": 7},
208 {"x": 11, "y": 4, "w": 1.5},
209 {"x": 12.5, "y": 4},
210 {"x": 13.5, "y": 4, "w": 1.5}
211 ]
212 }
213 }
214} \ No newline at end of file
diff --git a/keyboards/gvalchca/spaccboard/keymaps/default/keymap.c b/keyboards/gvalchca/spaccboard/keymaps/default/keymap.c
new file mode 100644
index 000000000..e700e25fb
--- /dev/null
+++ b/keyboards/gvalchca/spaccboard/keymaps/default/keymap.c
@@ -0,0 +1,39 @@
1 /* Copyright 2021 Kirill Shkuretskiy
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include QMK_KEYBOARD_H
18
19enum _layer {
20 _MAIN,
21 _FUNC
22};
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25
26[_MAIN] = LAYOUT(
27 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_EQL, KC_BSLS, KC_BSPC,
28 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
29 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_ENT,
30 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
31 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTRL),
32
33[_FUNC] = LAYOUT(
34 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
35 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
36 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
38 _______, _______, _______, _______, _______, _______, _______)
39};
diff --git a/keyboards/gvalchca/spaccboard/keymaps/default/readme.md b/keyboards/gvalchca/spaccboard/keymaps/default/readme.md
new file mode 100644
index 000000000..80a375dc0
--- /dev/null
+++ b/keyboards/gvalchca/spaccboard/keymaps/default/readme.md
@@ -0,0 +1 @@
# The default keymap for SpaccBoard \ No newline at end of file
diff --git a/keyboards/gvalchca/spaccboard/keymaps/via/keymap.c b/keyboards/gvalchca/spaccboard/keymaps/via/keymap.c
new file mode 100644
index 000000000..ba289f7ed
--- /dev/null
+++ b/keyboards/gvalchca/spaccboard/keymaps/via/keymap.c
@@ -0,0 +1,48 @@
1 /* Copyright 2021 Kirill Shkuretskiy
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20
21[0] = LAYOUT(
22 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_EQL, KC_BSLS, KC_BSPC,
23 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, _______,
24 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_ENT,
25 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
26 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RGUI, MO(1), KC_RCTRL),
27
28[1] = LAYOUT(
29 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL,
30 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
31 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
32 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
33 _______, _______, _______, _______, _______, _______, _______),
34
35[2] = LAYOUT(
36 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
38 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
39 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
40 _______, _______, _______, _______, _______, _______, _______),
41
42[3] = LAYOUT(
43 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
44 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
45 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
46 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
47 _______, _______, _______, _______, _______, _______, _______)
48};
diff --git a/keyboards/gvalchca/spaccboard/keymaps/via/rules.mk b/keyboards/gvalchca/spaccboard/keymaps/via/rules.mk
new file mode 100644
index 000000000..036bd6d1c
--- /dev/null
+++ b/keyboards/gvalchca/spaccboard/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/gvalchca/spaccboard/readme.md b/keyboards/gvalchca/spaccboard/readme.md
new file mode 100644
index 000000000..09eaf9314
--- /dev/null
+++ b/keyboards/gvalchca/spaccboard/readme.md
@@ -0,0 +1,14 @@
1# Gvalchca x Jugizafupe SpaccBoard
2
3Space Invaders 60% PCB with ANSI and Big Ass Enter support. To update the firmware connect the PCB to your computer and press Reset button.
4![SpaccBoard image](https://i.imgur.com/ZYSrQTr.jpeg)
5
6* Keyboard Maintainer: [Gvalchca](https://github.com/Gvalch-ca)
7* Hardware Supported: Gvalchca x Jugizafupe SpaccBoard
8* Hardware Availability: [KeebMeUp](https://keebmeup.com)
9
10Make example for this keyboard (after setting up your build environment):
11
12 make gvalchca/spaccboard:default
13
14See 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/gvalchca/spaccboard/rules.mk b/keyboards/gvalchca/spaccboard/rules.mk
new file mode 100644
index 000000000..acd5fbc29
--- /dev/null
+++ b/keyboards/gvalchca/spaccboard/rules.mk
@@ -0,0 +1,24 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = qmk-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
17# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
18NKRO_ENABLE = yes # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
23UNICODE_ENABLE = yes # Unicode
24LTO_ENABLE = yes
diff --git a/keyboards/gvalchca/spaccboard/spaccboard.c b/keyboards/gvalchca/spaccboard/spaccboard.c
new file mode 100644
index 000000000..57d512cc2
--- /dev/null
+++ b/keyboards/gvalchca/spaccboard/spaccboard.c
@@ -0,0 +1,17 @@
1 /* Copyright 2021 Kirill Shkuretskiy
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "spaccboard.h" \ No newline at end of file
diff --git a/keyboards/gvalchca/spaccboard/spaccboard.h b/keyboards/gvalchca/spaccboard/spaccboard.h
new file mode 100644
index 000000000..49afca436
--- /dev/null
+++ b/keyboards/gvalchca/spaccboard/spaccboard.h
@@ -0,0 +1,66 @@
1 /* Copyright 2021 Kirill Shkuretskiy
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21#define ___ KC_NO
22
23#define LAYOUT( \
24 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \
25 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
26 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \
27 k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, \
28 k40, k42, k43, k47, k4b, k4c, k4d \
29) \
30{ \
31 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \
32 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, ___ }, \
33 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, ___, k2d, ___ }, \
34 { k30, ___, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, ___, ___ }, \
35 { k40, ___, k42, k43, ___, ___, ___, k47, ___, ___, ___, k4b, k4c, k4d, ___ } \
36}
37
38#define LAYOUT_ansi( \
39 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0e, \
40 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
41 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \
42 k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, \
43 k40, k42, k43, k47, k4b, k4c, k4d \
44) \
45{ \
46 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, ___, k0e }, \
47 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, ___ }, \
48 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, ___, k2d, ___ }, \
49 { k30, ___, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, ___, ___ }, \
50 { k40, ___, k42, k43, ___, ___, ___, k47, ___, ___, ___, k4b, k4c, k4d, ___ } \
51}
52
53#define LAYOUT_bae( \
54 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \
55 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \
56 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \
57 k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, \
58 k40, k42, k43, k47, k4b, k4c, k4d \
59) \
60{ \
61 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \
62 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, ___, ___ }, \
63 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, ___, k2d, ___ }, \
64 { k30, ___, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, ___, ___ }, \
65 { k40, ___, k42, k43, ___, ___, ___, k47, ___, ___, ___, k4b, k4c, k4d, ___ } \
66}