aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfedericoweber <federicoweber@gmail.com>2022-02-21 00:38:53 -0800
committerGitHub <noreply@github.com>2022-02-21 00:38:53 -0800
commit2d1f2810a41b8a93c21035b14afacb717ef7c822 (patch)
tree1b65a4e42082ecf8788b98b4fb9626f24c227478
parent019dddcfa3cb7a1e961e1fefb302eb71bea312f9 (diff)
downloadqmk_firmware-2d1f2810a41b8a93c21035b14afacb717ef7c822.tar.gz
qmk_firmware-2d1f2810a41b8a93c21035b14afacb717ef7c822.zip
[Keyboard] add Gizmo Engineering GK6 keyboard (#13907)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
-rwxr-xr-xkeyboards/gizmo_engineering/gk6/config.h83
-rwxr-xr-xkeyboards/gizmo_engineering/gk6/gk6.c183
-rwxr-xr-xkeyboards/gizmo_engineering/gk6/gk6.h64
-rwxr-xr-xkeyboards/gizmo_engineering/gk6/info.json209
-rwxr-xr-xkeyboards/gizmo_engineering/gk6/keymaps/12x5/keymap.c118
-rwxr-xr-xkeyboards/gizmo_engineering/gk6/keymaps/1x2u/keymap.c119
-rwxr-xr-xkeyboards/gizmo_engineering/gk6/keymaps/default/keymap.c104
-rwxr-xr-xkeyboards/gizmo_engineering/gk6/keymaps/via/keymap.c93
-rwxr-xr-xkeyboards/gizmo_engineering/gk6/keymaps/via/rules.mk1
-rwxr-xr-xkeyboards/gizmo_engineering/gk6/readme.md13
-rwxr-xr-xkeyboards/gizmo_engineering/gk6/rules.mk21
11 files changed, 1008 insertions, 0 deletions
diff --git a/keyboards/gizmo_engineering/gk6/config.h b/keyboards/gizmo_engineering/gk6/config.h
new file mode 100755
index 000000000..f437840f9
--- /dev/null
+++ b/keyboards/gizmo_engineering/gk6/config.h
@@ -0,0 +1,83 @@
1/*
2Copyright 2021 Gizmo Engineering
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 0x6532
24#define PRODUCT_ID 0x0001
25#define DEVICE_VER 0x3031
26#define MANUFACTURER Gizmo Engineering
27#define PRODUCT GK6
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 12
32
33/*
34 * Keyboard Matrix Assignments
35*/
36#define MATRIX_ROW_PINS { B6, B4, D7, D6, D4}
37#define MATRIX_COL_PINS { B5, C6, C7, F7, F6, D5, D3, D2, F1, F4, B7, F5 }
38#define UNUSED_PINS
39
40/* COL2ROW, ROW2COL*/
41#define DIODE_DIRECTION ROW2COL
42
43/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
44#define DEBOUNCE 5
45
46// Use ~ key for the bootloader
47#define BOOTMAGIC_LITE_ROW 0
48#define BOOTMAGIC_LITE_COLUMN 0
49
50// RGB Matrix
51#define DRIVER_ADDR_1 0b1110100
52#define DRIVER_ADDR_2 0b1110111
53
54#define DRIVER_COUNT 2
55#define DRIVER_1_LED_TOTAL 32
56#define DRIVER_2_LED_TOTAL 32
57#define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
58
59#define RGB_MATRIX_KEYPRESSES
60#define RGB_DISABLE_WHEN_USB_SUSPENDED
61#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
62#define RGB_MATRIX_KEYPRESSES
63#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT
64#define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
65#define RGB_MATRIX_STARTUP_SPD 127
66
67// RGB Matrix Animation modes. Explicitly enabled
68// For full list of effects, see:
69// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
70#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
71#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
72#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
73#define ENABLE_RGB_MATRIX_BREATHING
74#define ENABLE_RGB_MATRIX_BAND_VAL
75#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
76#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
77#define ENABLE_RGB_MATRIX_HUE_BREATHING
78#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
79#define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 25
80#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
81#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
82#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
83
diff --git a/keyboards/gizmo_engineering/gk6/gk6.c b/keyboards/gizmo_engineering/gk6/gk6.c
new file mode 100755
index 000000000..9066fc85a
--- /dev/null
+++ b/keyboards/gizmo_engineering/gk6/gk6.c
@@ -0,0 +1,183 @@
1/* Copyright 2021 Gizmo Engineering
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 "gk6.h"
18
19#ifdef RGB_MATRIX_ENABLE
20const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
21 {0, C1_8, C2_8, C3_8}, //0 led1
22 {0, C1_7, C2_7, C3_7}, //1 led2
23 {0, C1_6, C2_6, C3_6}, //2 led3
24 {0, C1_5, C2_5, C3_5}, //3 led4
25 {0, C1_4, C2_4, C3_4}, //4 led5
26 {0, C1_3, C2_3, C3_3}, //5 led6
27 {0, C1_2, C2_2, C4_3}, //6 led7
28 {0, C1_1, C3_2, C4_2}, //7 led7b
29 {0, C9_1, C8_1, C7_1}, //8 led8
30 {0, C9_2, C8_2, C7_2}, //9 led9
31 {0, C9_3, C8_3, C7_3}, //10 led10
32 {0, C9_4, C8_4, C7_4}, //11 led11
33 {0, C9_5, C8_5, C7_5}, //12 led12
34 {0, C9_6, C8_6, C7_6}, //13 led13
35 {0, C9_7, C8_7, C6_6}, //14 led14
36 {0, C9_8, C7_7, C6_7}, //15 led15
37 {0, C1_16, C2_16, C3_16}, //16 led16
38 {0, C1_15, C2_15, C3_15}, //17 led17
39 {0, C1_14, C2_14, C3_14}, //18 led18
40 {0, C1_13, C2_13, C3_13}, //19 led19
41 {0, C1_12, C2_12, C3_12}, //20 led20
42 {0, C1_11, C2_11, C3_11}, //21 led21
43 {0, C1_10, C2_10, C4_11}, //22 led22
44 {0, C9_9, C8_9, C7_9}, //23 led23
45 {0, C9_10, C8_10, C7_10}, //24 led24 missing on [default]
46 {0, C9_11, C8_11, C7_11}, //25 led25 missing on [1x2u, 12x5]
47 {0, C9_12, C8_12, C7_12}, //26 led26
48 {0, C9_13, C8_13, C7_13}, //27 led27
49 {0, C9_14, C8_14, C7_14}, //28 led28
50 {0, C9_15, C8_15, C6_14}, //29 led29
51 {0, C9_16, C7_15, C6_15}, //30 led30 missing on [default, 1x2u]
52 {1, C1_8, C2_8, C3_8}, //31 led31
53 {1, C1_7, C2_7, C3_7}, //32 led32
54 {1, C1_6, C2_6, C3_6}, //33 led33
55 {1, C1_5, C2_5, C3_5}, //34 led34
56 {1, C1_4, C2_4, C3_4}, //35 led35 missing on [default, 1x2u]
57 {1, C1_3, C2_3, C3_3}, //36 led36 missing on [default, 12x5]
58 {1, C1_2, C2_2, C4_3}, //37 led37
59 {1, C1_1, C3_2, C4_2}, //38 led37b
60 {1, C9_1, C8_1, C7_1}, //39 led38
61 {1, C9_2, C8_2, C7_2}, //40 led39
62 {1, C9_3, C8_3, C7_3}, //41 led40 missing on [default]
63 {1, C9_4, C8_4, C7_4}, //42 led41 missing on [1x2u, 12x5]
64 {1, C9_5, C8_5, C7_5}, //43 led42
65 {1, C9_6, C8_6, C7_6}, //44 led43
66 {1, C9_7, C8_7, C6_6}, //45 led44
67 {1, C9_8, C7_7, C6_7}, //46 led45
68 {1, C1_16, C2_16, C3_16}, //47 led46
69 {1, C1_15, C2_15, C3_15}, //48 led47
70 {1, C1_14, C2_14, C3_14}, //49 led48
71 {1, C1_13, C2_13, C3_13}, //50 led49
72 {1, C1_12, C2_12, C3_12}, //51 led50
73 {1, C1_11, C2_11, C3_11}, //52 led51
74 {1, C1_10, C2_10, C4_11}, //53 led52
75 {1, C1_9, C3_10, C4_10}, //54 led52b
76 {1, C9_9, C8_9, C7_9}, //55 led53
77 {1, C9_10, C8_10, C7_10}, //56 led54
78 {1, C9_11, C8_11, C7_11}, //57 led55
79 {1, C9_12, C8_12, C7_12}, //58 led56
80 {1, C9_13, C8_13, C7_13}, //59 led57
81 {1, C9_14, C8_14, C7_14}, //60 led58
82 {1, C9_15, C8_15, C6_14}, //61 led59
83 {1, C9_16, C7_15, C6_15}, //62 led60
84};
85
86led_config_t g_led_config = { {
87 // Key Matrix to LED Index
88// 1, 6, 10, 15, 20, 26, 31, 37, 42, 47, 52, 56
89 {0, 5, 10, 15, 20, 26, 31, 37, 43, 48, 53, 58},
90// 2, 7, 11, 16, 21, 27, 32, 37b, 43, 48, 52b, 57
91 {1, 6, 11, 16, 21, 27, 32, 38, 44, 49, 54, 59},
92// 3, 7b, 12, 17, 22, 28, 33, 38, 44, 49, 53, 58
93 {2, 7, 12, 17, 22, 28, 33, 39, 45, 50, 55, 60},
94// 4, 8, 13, 18, 23, 29, 34, 39, 45, 50, 54, 59
95 {3, 8, 13, 18, 23, 29, 34, 40, 46, 51, 56, 61},
96// 5, 9, 14, 19, 25, NO_LED, NO_LED, 41, 46, 51, 55, 60
97 {4, 9, 14, 19, 25, NO_LED, NO_LED, 42, 47, 52, 57, 62},
98}, {
99 // LED Index to Physical Position
100 {0, 0}, // 0
101 {0, 16}, // 1
102 {0, 32}, // 2
103 {0, 48}, // 3
104 {0, 64}, // 4
105
106 {21, 0}, // 5
107 {21, 16}, // 6
108 {21, 32}, // 7
109 {21, 48}, // 8
110 {21, 64}, // 9
111
112 {41, 0}, // 10
113 {41, 16}, // 11
114 {41, 32}, // 12
115 {41, 48}, // 13
116 {41, 64}, // 14
117
118 {61, 0}, // 15
119 {61, 16}, // 16
120 {61, 32}, // 17
121 {61, 48}, // 18
122 {61, 64}, // 19
123
124 {82, 0}, // 20
125 {82, 16}, // 21
126 {82, 32}, // 22
127 {82, 48}, // 23
128 {82, 64}, // 24
129 {92, 64}, // 25
130
131 {102, 0}, // 26
132 {102, 16}, // 27
133 {102, 32}, // 28
134 {102, 48}, // 29
135 {102, 64}, // 30
136
137 {122, 0}, // 31
138 {122, 16}, // 32
139 {122, 32}, // 33
140 {122, 48}, // 34
141 {122, 64}, // 35
142 {112, 64}, // 36
143
144 {142, 0}, // 37
145 {142, 16}, // 38
146 {142, 32}, // 39
147 {142, 48}, // 40
148 {142, 64}, // 41
149 {132, 64}, // 42
150
151 {163, 0}, // 43
152 {163, 16}, // 44
153 {163, 32}, // 45
154 {163, 48}, // 46
155 {163, 64}, // 47
156
157 {183, 0}, // 48
158 {183, 16}, // 49
159 {183, 32}, // 50
160 {183, 48}, // 51
161 {183, 64}, // 52
162
163 {203, 0}, // 53
164 {203, 16}, // 54
165 {203, 32}, // 55
166 {203, 48}, // 56
167 {203, 64}, // 57
168
169 {224, 0}, // 58
170 {224, 16}, // 59
171 {224, 32}, // 60
172 {224, 48}, // 61
173 {224, 64}, // 62
174}, {
175 // LED Index to Flag
176 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04,
177 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04,
178 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04,
179 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04,
180 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04,
181 0x04, 0x04, 0x04
182} };
183#endif
diff --git a/keyboards/gizmo_engineering/gk6/gk6.h b/keyboards/gizmo_engineering/gk6/gk6.h
new file mode 100755
index 000000000..70c0bee4a
--- /dev/null
+++ b/keyboards/gizmo_engineering/gk6/gk6.h
@@ -0,0 +1,64 @@
1/* Copyright 2021 Gizmo Engineering
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 LAYOUT_gk6_2x2u( \
22 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \
23 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \
24 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \
25 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, \
26 k40, k41, k42, k43, k44, k47, k48, k49, k4a, k4b \
27) \
28{ \
29 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b }, \
30 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b }, \
31 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b }, \
32 { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b }, \
33 { k40, k41, k42, k43, k44, KC_NO, KC_NO, k47, k48, k49, k4a, k4b }, \
34}
35
36#define LAYOUT_gk6_1x2u( \
37 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \
38 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \
39 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \
40 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, \
41 k40, k41, k42, k43, k44, k46, k47, k48, k49, k4a, k4b \
42) \
43{ \
44 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b }, \
45 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b }, \
46 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b }, \
47 { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b }, \
48 { k40, k41, k42, k43, k44, KC_NO, k46, k47, k48, k49, k4a, k4b }, \
49}
50
51#define LAYOUT_ortho_5x12( \
52 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \
53 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \
54 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \
55 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, \
56 k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b \
57) \
58{ \
59 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b }, \
60 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b }, \
61 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b }, \
62 { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b }, \
63 { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b }, \
64}
diff --git a/keyboards/gizmo_engineering/gk6/info.json b/keyboards/gizmo_engineering/gk6/info.json
new file mode 100755
index 000000000..e38702d94
--- /dev/null
+++ b/keyboards/gizmo_engineering/gk6/info.json
@@ -0,0 +1,209 @@
1{
2 "keyboard_name": "Gizmo Engineering GK6",
3 "keyboard_folder": "gk6",
4 "url": "https://gizmo.engineering/",
5 "maintainer": "federicoweber",
6 "layouts": {
7 "LAYOUT_gk6_2x2u": {
8 "layout": [
9 {"x": 0, "y": 0},
10 {"x": 1, "y": 0},
11 {"x": 2, "y": 0},
12 {"x": 3, "y": 0},
13 {"x": 4, "y": 0},
14 {"x": 5, "y": 0},
15 {"x": 6, "y": 0},
16 {"x": 7, "y": 0},
17 {"x": 8, "y": 0},
18 {"x": 9, "y": 0},
19 {"x": 10, "y": 0},
20 {"x": 11, "y": 0},
21
22 {"x": 0, "y": 1},
23 {"x": 1, "y": 1},
24 {"x": 2, "y": 1},
25 {"x": 3, "y": 1},
26 {"x": 4, "y": 1},
27 {"x": 5, "y": 1},
28 {"x": 6, "y": 1},
29 {"x": 7, "y": 1},
30 {"x": 8, "y": 1},
31 {"x": 9, "y": 1},
32 {"x": 10, "y": 1},
33 {"x": 11, "y": 1},
34
35 {"x": 0, "y": 2},
36 {"x": 1, "y": 2},
37 {"x": 2, "y": 2},
38 {"x": 3, "y": 2},
39 {"x": 4, "y": 2},
40 {"x": 5, "y": 2},
41 {"x": 6, "y": 2},
42 {"x": 7, "y": 2},
43 {"x": 8, "y": 2},
44 {"x": 9, "y": 2},
45 {"x": 10, "y": 2},
46 {"x": 11, "y": 2},
47
48 {"x": 0, "y": 3},
49 {"x": 1, "y": 3},
50 {"x": 2, "y": 3},
51 {"x": 3, "y": 3},
52 {"x": 4, "y": 3},
53 {"x": 5, "y": 3},
54 {"x": 6, "y": 3},
55 {"x": 7, "y": 3},
56 {"x": 8, "y": 3},
57 {"x": 9, "y": 3},
58 {"x": 10, "y": 3},
59 {"x": 11, "y": 3},
60
61 {"x": 0, "y": 4},
62 {"x": 1, "y": 4},
63 {"x": 2, "y": 4},
64 {"x": 3, "y": 4},
65 {"x": 4, "y": 4, "w": 2},
66 {"x": 6, "y": 4, "w": 2},
67 {"x": 8, "y": 4},
68 {"x": 9, "y": 4},
69 {"x": 10, "y": 4},
70 {"x": 11, "y": 4}
71 ]
72 },
73 "LAYOUT_ortho_5x12": {
74 "layout": [
75 {"x": 0, "y": 0},
76 {"x": 1, "y": 0},
77 {"x": 2, "y": 0},
78 {"x": 3, "y": 0},
79 {"x": 4, "y": 0},
80 {"x": 5, "y": 0},
81 {"x": 6, "y": 0},
82 {"x": 7, "y": 0},
83 {"x": 8, "y": 0},
84 {"x": 9, "y": 0},
85 {"x": 10, "y": 0},
86 {"x": 11, "y": 0},
87
88 {"x": 0, "y": 1},
89 {"x": 1, "y": 1},
90 {"x": 2, "y": 1},
91 {"x": 3, "y": 1},
92 {"x": 4, "y": 1},
93 {"x": 5, "y": 1},
94 {"x": 6, "y": 1},
95 {"x": 7, "y": 1},
96 {"x": 8, "y": 1},
97 {"x": 9, "y": 1},
98 {"x": 10, "y": 1},
99 {"x": 11, "y": 1},
100
101 {"x": 0, "y": 2},
102 {"x": 1, "y": 2},
103 {"x": 2, "y": 2},
104 {"x": 3, "y": 2},
105 {"x": 4, "y": 2},
106 {"x": 5, "y": 2},
107 {"x": 6, "y": 2},
108 {"x": 7, "y": 2},
109 {"x": 8, "y": 2},
110 {"x": 9, "y": 2},
111 {"x": 10, "y": 2},
112 {"x": 11, "y": 2},
113
114 {"x": 0, "y": 3},
115 {"x": 1, "y": 3},
116 {"x": 2, "y": 3},
117 {"x": 3, "y": 3},
118 {"x": 4, "y": 3},
119 {"x": 5, "y": 3},
120 {"x": 6, "y": 3},
121 {"x": 7, "y": 3},
122 {"x": 8, "y": 3},
123 {"x": 9, "y": 3},
124 {"x": 10, "y": 3},
125 {"x": 11, "y": 3},
126
127 {"x": 0, "y": 4},
128 {"x": 1, "y": 4},
129 {"x": 2, "y": 4},
130 {"x": 3, "y": 4},
131 {"x": 4, "y": 4},
132 {"x": 5, "y": 4},
133 {"x": 6, "y": 4},
134 {"x": 7, "y": 4},
135 {"x": 8, "y": 4},
136 {"x": 9, "y": 4},
137 {"x": 10, "y": 4},
138 {"x": 11, "y": 4}
139 ]
140 },
141 "LAYOUT_gk6_1x2u": {
142 "layout": [
143 {"x": 0, "y": 0},
144 {"x": 1, "y": 0},
145 {"x": 2, "y": 0},
146 {"x": 3, "y": 0},
147 {"x": 4, "y": 0},
148 {"x": 5, "y": 0},
149 {"x": 6, "y": 0},
150 {"x": 7, "y": 0},
151 {"x": 8, "y": 0},
152 {"x": 9, "y": 0},
153 {"x": 10, "y": 0},
154 {"x": 11, "y": 0},
155
156 {"x": 0, "y": 1},
157 {"x": 1, "y": 1},
158 {"x": 2, "y": 1},
159 {"x": 3, "y": 1},
160 {"x": 4, "y": 1},
161 {"x": 5, "y": 1},
162 {"x": 6, "y": 1},
163 {"x": 7, "y": 1},
164 {"x": 8, "y": 1},
165 {"x": 9, "y": 1},
166 {"x": 10, "y": 1},
167 {"x": 11, "y": 1},
168
169 {"x": 0, "y": 2},
170 {"x": 1, "y": 2},
171 {"x": 2, "y": 2},
172 {"x": 3, "y": 2},
173 {"x": 4, "y": 2},
174 {"x": 5, "y": 2},
175 {"x": 6, "y": 2},
176 {"x": 7, "y": 2},
177 {"x": 8, "y": 2},
178 {"x": 9, "y": 2},
179 {"x": 10, "y": 2},
180 {"x": 11, "y": 2},
181
182 {"x": 0, "y": 3},
183 {"x": 1, "y": 3},
184 {"x": 2, "y": 3},
185 {"x": 3, "y": 3},
186 {"x": 4, "y": 3},
187 {"x": 5, "y": 3},
188 {"x": 6, "y": 3},
189 {"x": 7, "y": 3},
190 {"x": 8, "y": 3},
191 {"x": 9, "y": 3},
192 {"x": 10, "y": 3},
193 {"x": 11, "y": 3},
194
195 {"x": 0, "y": 4},
196 {"x": 1, "y": 4},
197 {"x": 2, "y": 4},
198 {"x": 3, "y": 4},
199 {"x": 4, "y": 4},
200 {"x": 5, "y": 4, "w": 2},
201 {"x": 7, "y": 4},
202 {"x": 8, "y": 4},
203 {"x": 9, "y": 4},
204 {"x": 10, "y": 4},
205 {"x": 11, "y": 4}
206 ]
207 }
208 }
209}
diff --git a/keyboards/gizmo_engineering/gk6/keymaps/12x5/keymap.c b/keyboards/gizmo_engineering/gk6/keymaps/12x5/keymap.c
new file mode 100755
index 000000000..bb7b627ce
--- /dev/null
+++ b/keyboards/gizmo_engineering/gk6/keymaps/12x5/keymap.c
@@ -0,0 +1,118 @@
1/* Copyright 2021 Gizmo Engineering
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 layers {
20 _QWERTY,
21 _LOWER,
22 _RAISE,
23};
24
25#define LOWER MO(_LOWER)
26#define RAISE MO(_RAISE)
27
28const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
29
30/* Qwerty
31 * ,-----------------------------------------------------------------------------------.
32 * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / |
33 * |------+------+------+------+------+------+------+------+------+------+------+------|
34 * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del |
35 * |------+------+------+------+------+-------------+------+------+------+------+------|
36 * | CTRL | A | S | D | F | G | H | J | K | L | ; | ' |
37 * |------+------+------+------+------+------|------+------+------+------+------+------|
38 * | Shift| Z | X | C | V | B | N | M | , | . | Up |Enter |
39 * |------+------+------+------+------+------+------+------+------+------+------+------|
40 * | Esc | GUI | Alt |Lower | Back|Space |Space | Alt |Raise | Left | Down |Right |
41 * `-----------------------------------------------------------------------------------'
42 */
43[_QWERTY] = LAYOUT_ortho_5x12(
44 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_SLSH,
45 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL,
46 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
47 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_ENT,
48 KC_LCTL, KC_LGUI, KC_LALT, LOWER, KC_BSPC, KC_SPC, KC_SPC, KC_RALT, RAISE, KC_LEFT, KC_DOWN, KC_RGHT
49),
50
51/* Raise
52 * ,-----------------------------------------------------------------------------------.
53 * | | | | | | | | | | | | |
54 * |------+------+------+------+------+-------------+------+------+------+------+------|
55 * | | | | | | | | _ | + | { | } | |
56 * |------+------+------+------+------+-------------+------+------+------+------+------|
57 * | | | | | | | | - | = | [ | ] | |
58 * |------+------+------+------+------+------|------+------+------+------+------+------|
59 * | |RGB_TG|RGB_M |RGB_HU|RGB_SI|RGB_VI|RGB_SP| | | | | | \ |
60 * |------+------+------+------+------+------+------+------+------+------+------+------|
61 * |Debug | | | | | | | | | | | |
62 * `-----------------------------------------------------------------------------------'
63 */
64[_RAISE] = LAYOUT_ortho_5x12(
65 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
66 _______, _______, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, _______,
67 _______, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______,
68 _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI, _______, _______, _______, KC_PIPE, KC_BSLS,
69 DEBUG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
70),
71
72/* Lower
73 * ,-----------------------------------------------------------------------------------.
74 * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |
75 * |------+------+------+------+------+------+------+------+------+------+------+------|
76 * | CAPS | PSCR | | | | | | | | | | |
77 * |------+------+------+------+------+-------------+------+------+------+------+------|
78 * | | Home | End | Ins | Play | | | | | | | |
79 * |------+------+------+------+------+------|------+------+------+------+------+------|
80 * | | << | >> | Mute | Vol- | Vol+ | | | | | PgUp | |
81 * |------+------+------+------+------+------+------+------+------+------+------+------|
82 * | | | | | | | | | | | PgDn | |
83 * `-----------------------------------------------------------------------------------'
84 */
85[_LOWER] = LAYOUT_ortho_5x12(
86 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
87 KC_CAPS, KC_PSCR, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
88 _______, KC_HOME, KC_END, KC_INS, KC_MPLY, _______, _______, _______, _______, _______, _______, _______,
89 _______, KC_MPRV, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, _______, KC_PGUP, _______,
90 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, _______
91),
92
93};
94
95#ifdef RGB_MATRIX_ENABLE
96void rgb_matrix_indicators_user(void)
97{
98 rgb_matrix_set_color(25, 0, 0, 0);
99 rgb_matrix_set_color(36, 0, 0, 0);
100 rgb_matrix_set_color(42, 0, 0, 0);
101}
102
103void keyboard_pre_init_user(void) {
104 // 5, 9, 14, 19, 24, 30, 35, 40, 46, 51, 55, 60
105 g_led_config.matrix_co[4][0] = 5;
106 g_led_config.matrix_co[4][1] = 9;
107 g_led_config.matrix_co[4][2] = 14;
108 g_led_config.matrix_co[4][3] = 19;
109 g_led_config.matrix_co[4][4] = 24;
110 g_led_config.matrix_co[4][5] = 30;
111 g_led_config.matrix_co[4][6] = 35;
112 g_led_config.matrix_co[4][7] = 41;
113 g_led_config.matrix_co[4][8] = 47;
114 g_led_config.matrix_co[4][9] = 52;
115 g_led_config.matrix_co[4][10] = 57;
116 g_led_config.matrix_co[4][11] = 62;
117}
118#endif
diff --git a/keyboards/gizmo_engineering/gk6/keymaps/1x2u/keymap.c b/keyboards/gizmo_engineering/gk6/keymaps/1x2u/keymap.c
new file mode 100755
index 000000000..41e3062dc
--- /dev/null
+++ b/keyboards/gizmo_engineering/gk6/keymaps/1x2u/keymap.c
@@ -0,0 +1,119 @@
1/* Copyright 2021 Gizmo Engineering
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 layers {
20 _QWERTY,
21 _LOWER,
22 _RAISE,
23};
24
25#define LOWER MO(_LOWER)
26#define RAISE MO(_RAISE)
27
28const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
29
30/* Qwerty
31 * ,-----------------------------------------------------------------------------------.
32 * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / |
33 * |------+------+------+------+------+------+------+------+------+------+------+------|
34 * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del |
35 * |------+------+------+------+------+-------------+------+------+------+------+------|
36 * | CTRL | A | S | D | F | G | H | J | K | L | ; | ' |
37 * |------+------+------+------+------+------|------+------+------+------+------+------|
38 * | Shift| Z | X | C | V | B | N | M | , | . | Up |Enter |
39 * |------+------+------+------+------+------+------+------+------+------+------+------|
40 * | Esc | GUI | Alt |Lower | Back| Space | Alt |Raise | Left | Down |Right |
41 * `-----------------------------------------------------------------------------------'
42 */
43[_QWERTY] = LAYOUT_gk6_1x2u(
44 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_SLSH,
45 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL,
46 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
47 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_ENT,
48 KC_LCTL, KC_LGUI, KC_LALT, LOWER, KC_BSPC, KC_SPC, KC_RALT, RAISE, KC_LEFT, KC_DOWN, KC_RGHT
49),
50
51/* Raise
52 * ,-----------------------------------------------------------------------------------.
53 * | | | | | | | | | | | | |
54 * |------+------+------+------+------+-------------+------+------+------+------+------|
55 * | | | | | | | | _ | + | { | } | |
56 * |------+------+------+------+------+-------------+------+------+------+------+------|
57 * | | | | | | | | - | = | [ | ] | |
58 * |------+------+------+------+------+------|------+------+------+------+------+------|
59 * | |RGB_TG|RGB_M |RGB_HU|RGB_SI|RGB_VI|RGB_SP| | | | | | \ |
60 * |------+------+------+------+------+------+------+------+------+------+------+------|
61 * |Debug | | | | | | | | | | |
62 * `-----------------------------------------------------------------------------------'
63 */
64[_RAISE] = LAYOUT_gk6_1x2u(
65 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
66 _______, _______, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, _______,
67 _______, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______,
68 _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI, _______, _______, _______, KC_PIPE, KC_BSLS,
69 DEBUG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
70),
71
72/* Lower
73 * ,-----------------------------------------------------------------------------------.
74 * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |
75 * |------+------+------+------+------+------+------+------+------+------+------+------|
76 * | CAPS | PSCR | | | | | | | | | | |
77 * |------+------+------+------+------+-------------+------+------+------+------+------|
78 * | | Home | End | Ins | Play | | | | | | | |
79 * |------+------+------+------+------+------|------+------+------+------+------+------|
80 * | | << | >> | Mute | Vol- | Vol+ | | | | | PgUp | |
81 * |------+------+------+------+------+------+------+------+------+------+------+------|
82 * | | | | | | | | | | PgDn | |
83 * `-----------------------------------------------------------------------------------'
84 */
85[_LOWER] = LAYOUT_gk6_1x2u(
86 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
87 KC_CAPS, KC_PSCR, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
88 _______, KC_HOME, KC_END, KC_INS, KC_MPLY, _______, _______, _______, _______, _______, _______, _______,
89 _______, KC_MPRV, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, _______, KC_PGUP, _______,
90 _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, _______
91),
92
93};
94
95#ifdef RGB_MATRIX_ENABLE
96void rgb_matrix_indicators_user(void)
97{
98 rgb_matrix_set_color(25, 0, 0, 0);
99 rgb_matrix_set_color(30, 0, 0, 0);
100 rgb_matrix_set_color(35, 0, 0, 0);
101 rgb_matrix_set_color(42, 0, 0, 0);
102}
103
104void keyboard_pre_init_user(void) {
105 // 5, 9, 14, 19, 24, 30, 36, 40, 46, 51, 55, 60
106 g_led_config.matrix_co[4][0] = 5;
107 g_led_config.matrix_co[4][1] = 9;
108 g_led_config.matrix_co[4][2] = 14;
109 g_led_config.matrix_co[4][3] = 19;
110 g_led_config.matrix_co[4][4] = 24;
111 g_led_config.matrix_co[4][5] = 30;
112 g_led_config.matrix_co[4][6] = 36;
113 g_led_config.matrix_co[4][7] = 41;
114 g_led_config.matrix_co[4][8] = 47;
115 g_led_config.matrix_co[4][9] = 52;
116 g_led_config.matrix_co[4][10] = 57;
117 g_led_config.matrix_co[4][11] = 62;
118}
119#endif
diff --git a/keyboards/gizmo_engineering/gk6/keymaps/default/keymap.c b/keyboards/gizmo_engineering/gk6/keymaps/default/keymap.c
new file mode 100755
index 000000000..ad357648a
--- /dev/null
+++ b/keyboards/gizmo_engineering/gk6/keymaps/default/keymap.c
@@ -0,0 +1,104 @@
1/* Copyright 2021 Gizmo Engineering
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 layers {
20 _QWERTY,
21 _LOWER,
22 _RAISE,
23};
24
25#define LOWER MO(_LOWER)
26#define RAISE MO(_RAISE)
27
28const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
29
30/* Qwerty
31 * ,-----------------------------------------------------------------------------------.
32 * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / |
33 * |------+------+------+------+------+------+------+------+------+------+------+------|
34 * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del |
35 * |------+------+------+------+------+-------------+------+------+------+------+------|
36 * | CTRL | A | S | D | F | G | H | J | K | L | ; | ' |
37 * |------+------+------+------+------+------|------+------+------+------+------+------|
38 * | Shift| Z | X | C | V | B | N | M | , | . | Up |Enter |
39 * |------+------+------+------+------+------+------+------+------+------+------+------|
40 * | Esc | GUI | Alt |Lower | Backspace | Space |Raise | Left | Down |Right |
41 * `-----------------------------------------------------------------------------------'
42 */
43[_QWERTY] = LAYOUT_gk6_2x2u(
44 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_SLSH,
45 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL,
46 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
47 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_ENT,
48 KC_LCTL, KC_LGUI, KC_LALT, LOWER, KC_BSPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_RGHT
49),
50
51/* Raise
52 * ,-----------------------------------------------------------------------------------.
53 * | | | | | | | | | | | | |
54 * |------+------+------+------+------+-------------+------+------+------+------+------|
55 * | | | | | | | | _ | + | { | } | |
56 * |------+------+------+------+------+-------------+------+------+------+------+------|
57 * | | | | | | | | - | = | [ | ] | |
58 * |------+------+------+------+------+------|------+------+------+------+------+------|
59 * | |RGB_TG|RGB_M |RGB_HU|RGB_SI|RGB_VI|RGB_SP| | | | | | \ |
60 * |------+------+------+------+------+------+------+------+------+------+------+------|
61 * |Debug | | | | | | | | |R Alt |
62 * `-----------------------------------------------------------------------------------'
63 */
64[_RAISE] = LAYOUT_gk6_2x2u(
65 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
66 _______, _______, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, _______,
67 _______, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______,
68 _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI, _______, _______, _______, KC_PIPE, KC_BSLS,
69 DEBUG, _______, _______, _______, _______, _______, _______, _______, _______, KC_RALT
70),
71
72/* Lower
73 * ,-----------------------------------------------------------------------------------.
74 * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |
75 * |------+------+------+------+------+------+------+------+------+------+------+------|
76 * | CAPS | PSCR | | | | | | | | | | |
77 * |------+------+------+------+------+-------------+------+------+------+------+------|
78 * | | Home | End | Ins | Play | | | | | | | |
79 * |------+------+------+------+------+------|------+------+------+------+------+------|
80 * | | << | >> | Mute | Vol- | Vol+ | | | | | PgUp | |
81 * |------+------+------+------+------+------+------+------+------+------+------+------|
82 * | | | | | | | | | PgDn | |
83 * `-----------------------------------------------------------------------------------'
84 */
85[_LOWER] = LAYOUT_gk6_2x2u(
86 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
87 KC_CAPS, KC_PSCR, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
88 _______, KC_HOME, KC_END, KC_INS, KC_MPLY, _______, _______, _______, _______, _______, _______, _______,
89 _______, KC_MPRV, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, _______, KC_PGUP, _______,
90 _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, _______
91),
92
93};
94
95#ifdef RGB_MATRIX_ENABLE
96void rgb_matrix_indicators_user(void)
97{
98 rgb_matrix_set_color(24, 0, 0, 0);
99 rgb_matrix_set_color(30, 0, 0, 0);
100 rgb_matrix_set_color(35, 0, 0, 0);
101 rgb_matrix_set_color(36, 0, 0, 0);
102 rgb_matrix_set_color(41, 0, 0, 0);
103}
104#endif
diff --git a/keyboards/gizmo_engineering/gk6/keymaps/via/keymap.c b/keyboards/gizmo_engineering/gk6/keymaps/via/keymap.c
new file mode 100755
index 000000000..e3ee7f981
--- /dev/null
+++ b/keyboards/gizmo_engineering/gk6/keymaps/via/keymap.c
@@ -0,0 +1,93 @@
1/* Copyright 2021 Gizmo Engineering
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 layers {
20 _QWERTY,
21 _LOWER,
22 _RAISE,
23};
24
25#define LOWER MO(_LOWER)
26#define RAISE MO(_RAISE)
27
28const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
29
30/* Qwerty
31 * ,-----------------------------------------------------------------------------------.
32 * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / |
33 * |------+------+------+------+------+------+------+------+------+------+------+------|
34 * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del |
35 * |------+------+------+------+------+-------------+------+------+------+------+------|
36 * | CTRL | A | S | D | F | G | H | J | K | L | ; | ' |
37 * |------+------+------+------+------+------|------+------+------+------+------+------|
38 * | Shift| Z | X | C | V | B | N | M | , | . | Up |Enter |
39 * |------+------+------+------+------+------+------+------+------+------+------+------|
40 * | Esc | GUI | Alt |Lower | Back | Back |Space |Space |Raise | Left | Down |Right |
41 * `-----------------------------------------------------------------------------------'
42 */
43[_QWERTY] = LAYOUT_ortho_5x12(
44 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_SLSH,
45 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL,
46 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
47 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_ENT,
48 KC_LCTL, KC_LGUI, KC_LALT, LOWER, KC_BSPC, KC_BSPC, KC_SPC, KC_SPC, RAISE, KC_LEFT, KC_DOWN, KC_RGHT
49),
50
51/* Raise
52 * ,-----------------------------------------------------------------------------------.
53 * | | | | | | | | | | | | |
54 * |------+------+------+------+------+-------------+------+------+------+------+------|
55 * | | | | | | | | _ | + | { | } | |
56 * |------+------+------+------+------+-------------+------+------+------+------+------|
57 * | | | | | | | | - | = | [ | ] | |
58 * |------+------+------+------+------+------|------+------+------+------+------+------|
59 * | |RGB_TG|RGB_M |RGB_HU|RGB_SI|RGB_VI|RGB_SP| | | | | | \ |
60 * |------+------+------+------+------+------+------+------+------+------+------+------|
61 * | | | | | | | | | | | |R Alt |
62 * `-----------------------------------------------------------------------------------'
63 */
64[_RAISE] = LAYOUT_ortho_5x12(
65 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
66 _______, _______, _______, _______, _______, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, _______,
67 _______, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______,
68 _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI, _______, _______, _______, KC_PIPE, KC_BSLS,
69 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RALT
70),
71
72/* Lower
73 * ,-----------------------------------------------------------------------------------.
74 * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |
75 * |------+------+------+------+------+------+------+------+------+------+------+------|
76 * | CAPS | PSCR | | | | | | | | | | |
77 * |------+------+------+------+------+-------------+------+------+------+------+------|
78 * | | Home | End | Ins | Play | | | | | | | |
79 * |------+------+------+------+------+------|------+------+------+------+------+------|
80 * | | << | >> | Mute | Vol- | Vol+ | | | | | PgUp | |
81 * |------+------+------+------+------+------+------+------+------+------+------+------|
82 * | | | | | | | | | | | PgDn | |
83 * `-----------------------------------------------------------------------------------'
84 */
85[_LOWER] = LAYOUT_ortho_5x12(
86 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
87 KC_CAPS, KC_PSCR, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
88 _______, KC_HOME, KC_END, KC_INS, KC_MPLY, _______, _______, _______, _______, _______, _______, _______,
89 _______, KC_MPRV, KC_MNXT, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, _______, KC_PGUP, _______,
90 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, _______
91),
92
93};
diff --git a/keyboards/gizmo_engineering/gk6/keymaps/via/rules.mk b/keyboards/gizmo_engineering/gk6/keymaps/via/rules.mk
new file mode 100755
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/gizmo_engineering/gk6/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/gizmo_engineering/gk6/readme.md b/keyboards/gizmo_engineering/gk6/readme.md
new file mode 100755
index 000000000..2d4fd2ed6
--- /dev/null
+++ b/keyboards/gizmo_engineering/gk6/readme.md
@@ -0,0 +1,13 @@
1# Gizmo Engineering GK6
2
3![GK6](https://i.imgur.com/M9xxMznh.jpg)
4
5* Keyboard Maintainer: [federicoweber](https://github.com/federicoweber)
6* Hardware Supported: atmega32a, Gizmo Engineering GK6
7* Hardware Availability: [Gizmo Engineering](https://gizmo.engineering/)
8
9Make example for this keyboard (after setting up your build environment):
10
11 make gizmo_engineering/gk6:default
12
13See 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/gizmo_engineering/gk6/rules.mk b/keyboards/gizmo_engineering/gk6/rules.mk
new file mode 100755
index 000000000..c70d2ea88
--- /dev/null
+++ b/keyboards/gizmo_engineering/gk6/rules.mk
@@ -0,0 +1,21 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
11MOUSEKEY_ENABLE = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15NKRO_ENABLE = no # Enable N-Key Rollover
16BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
17RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
18AUDIO_ENABLE = no # Audio output
19
20RGB_MATRIX_ENABLE = yes
21RGB_MATRIX_DRIVER = IS31FL3731