aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/skergo/config.h53
-rw-r--r--keyboards/skergo/info.json85
-rw-r--r--keyboards/skergo/keymaps/default/keymap.c36
-rw-r--r--keyboards/skergo/keymaps/via/keymap.c49
-rw-r--r--keyboards/skergo/keymaps/via/rules.mk2
-rw-r--r--keyboards/skergo/readme.md15
-rw-r--r--keyboards/skergo/rules.mk25
-rw-r--r--keyboards/skergo/skergo.c17
-rw-r--r--keyboards/skergo/skergo.h33
9 files changed, 315 insertions, 0 deletions
diff --git a/keyboards/skergo/config.h b/keyboards/skergo/config.h
new file mode 100644
index 000000000..e736e4c8d
--- /dev/null
+++ b/keyboards/skergo/config.h
@@ -0,0 +1,53 @@
1/* Copyright (C) 2021 Keyz.io Ltd.
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 3 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 "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0x4B49
23#define PRODUCT_ID 0x534B
24#define DEVICE_VER 0x0001
25#define MANUFACTURER Keyzio
26#define PRODUCT SKErgo
27
28/* key matrix size */
29#define MATRIX_ROWS 5
30#define MATRIX_COLS 15
31
32/* key matrix pins */
33#define MATRIX_ROW_PINS { B0, B4, B3, B2, B1 }
34#define MATRIX_COL_PINS { A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C2, C1, C0, D7 }
35#define UNUSED_PINS
36
37/* COL2ROW or ROW2COL */
38#define DIODE_DIRECTION COL2ROW
39
40/* number of backlight levels */
41
42// #ifdef BACKLIGHT_PIN
43// #define BACKLIGHT_LEVELS 0
44// #endif
45
46/* Set 0 if debouncing isn't needed */
47#define DEBOUNCE 5
48
49/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
50#define LOCKING_SUPPORT_ENABLE
51
52/* Locking resynchronize hack */
53#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/skergo/info.json b/keyboards/skergo/info.json
new file mode 100644
index 000000000..0a2bb1efd
--- /dev/null
+++ b/keyboards/skergo/info.json
@@ -0,0 +1,85 @@
1{
2 "keyboard_name": "SKErgo",
3 "url": "https://keyz.io",
4 "maintainer": "Keyz.io",
5 "width": 19.25,
6 "height": 6,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"label":"Esc", "x":0, "y":0},
11 {"label":"1", "x":1, "y":0},
12 {"label":"2", "x":2, "y":0},
13 {"label":"3", "x":3.75, "y":0},
14 {"label":"4", "x":4.75, "y":0},
15 {"label":"5", "x":5.75, "y":0},
16 {"label":"6", "x":6.75, "y":0},
17 {"label":"7", "x":9.25, "y":0},
18 {"label":"8", "x":10.25, "y":0},
19 {"label":"9", "x":11.25, "y":0},
20 {"label":"0", "x":12.25, "y":0},
21 {"label":"-", "x":13.5, "y":0},
22 {"label":"=", "x":14.5, "y":0},
23 {"label":"~", "x":15.5, "y":0},
24 {"label":"Backspace", "x":16.5, "y":0},
25
26 {"label":"Tab", "x":0, "y":1, "w":1.5},
27 {"label":"Q", "x":1.5, "y":1},
28 {"label":"W", "x":3.25, "y":1},
29 {"label":"E", "x":4.25, "y":1},
30 {"label":"R", "x":5.25, "y":1},
31 {"label":"T", "x":6.25, "y":1},
32 {"label":"Y", "x":8.75, "y":1},
33 {"label":"U", "x":9.75, "y":1},
34 {"label":"I", "x":10.75, "y":1},
35 {"label":"O", "x":11.75, "y":1},
36 {"label":"P", "x":12.75, "y":1},
37 {"label":"{", "x":14.25, "y":1},
38 {"label":"}", "x":15.25, "y":1},
39 {"label":"|", "x":16.25, "y":1, "w":1.5},
40 {"label":"Pg Up", "x":18, "y":0},
41
42 {"label":"Caps Lock", "x":0, "y":2, "w":1.75},
43 {"label":"A", "x":1.75, "y":2},
44 {"label":"S", "x":3.5, "y":2},
45 {"label":"D", "x":4.5, "y":2},
46 {"label":"F", "x":5.5, "y":2},
47 {"label":"G", "x":6.5, "y":2},
48 {"label":"H", "x":9, "y":2},
49 {"label":"J", "x":10, "y":2},
50 {"label":"K", "x":11, "y":2},
51 {"label":"L", "x":12, "y":2},
52 {"label":":", "x":13.5, "y":2},
53 {"label":"\"", "x":14.5, "y":2},
54 {"label":"Enter", "x":15.5, "y":2, "w":2.25},
55 {"label":"Pg Dn", "x":18.25, "y":1},
56
57 {"label":"Shift", "x":0, "y":3, "w":2.25},
58 {"label":"Z", "x":2.25, "y":3},
59 {"label":"X", "x":3.75, "y":3},
60 {"label":"C", "x":4.75, "y":3},
61 {"label":"V", "x":5.75, "y":3},
62 {"label":"B", "x":6.75, "y":3},
63 {"label":"N", "x":9.25, "y":3},
64 {"label":"M", "x":10.25, "y":3},
65 {"label":"<", "x":11.25, "y":3},
66 {"label":">", "x":12.25, "y":3},
67 {"label":"?", "x":14.25, "y":3},
68 {"label":"Shift", "x":15.25, "y":3, "w":1.75},
69 {"label":"Up", "x":17.25, "y":3},
70 {"label":"End", "x":18.5, "y":2},
71
72 {"label":"L_Ctrl", "x":0, "y":4, "w":1.25},
73 {"label":"L_Alt", "x":3.75, "y":4, "w":1.5},
74 {"label":"L_Space", "x":5.25, "y":4, "w":2},
75 {"label":"Fn", "x":7.25, "y":4},
76 {"label":"R_Space", "x":9, "y":4, "w":2.75},
77
78 {"label":"R_Alt", "x":11.75, "y":4, "w":1.5},
79 {"label":"Left","x":16.25, "y":4},
80 {"label":"Down","x":17.25, "y":4},
81 {"label":"Right","x":18.25, "y":4}
82 ]
83 }
84 }
85}
diff --git a/keyboards/skergo/keymaps/default/keymap.c b/keyboards/skergo/keymaps/default/keymap.c
new file mode 100644
index 000000000..dd11616a4
--- /dev/null
+++ b/keyboards/skergo/keymaps/default/keymap.c
@@ -0,0 +1,36 @@
1/* Copyright (C) 2021 Keyz.io Ltd.
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 3 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_GRV, 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, KC_BSLS, KC_PGUP,
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, KC_PGDN,
25 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, KC_END,
26 KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_LCTL, KC_LEFT, KC_DOWN, KC_RGHT),
27
28 [1] = LAYOUT(
29 KC_GRV, 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_TRNS, KC_TRNS,
30 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
31 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
32 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
34
35
36};
diff --git a/keyboards/skergo/keymaps/via/keymap.c b/keyboards/skergo/keymaps/via/keymap.c
new file mode 100644
index 000000000..d393c3937
--- /dev/null
+++ b/keyboards/skergo/keymaps/via/keymap.c
@@ -0,0 +1,49 @@
1/* Copyright (C) 2021 Keyz.io Ltd.
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 3 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_GRV, 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, KC_BSLS, KC_PGUP,
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, KC_PGDN,
25 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, KC_END,
26 KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_LCTL, KC_LEFT, KC_DOWN, KC_RGHT),
27
28 [1] = LAYOUT(
29 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
30 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
31 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
32 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
34
35 [2] = LAYOUT(
36 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
37 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
38 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
39 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
40 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
41
42 [3] = LAYOUT(
43 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
44 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
45 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
46 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
47 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
48
49};
diff --git a/keyboards/skergo/keymaps/via/rules.mk b/keyboards/skergo/keymaps/via/rules.mk
new file mode 100644
index 000000000..36b7ba9cb
--- /dev/null
+++ b/keyboards/skergo/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
1VIA_ENABLE = yes
2LTO_ENABLE = yes
diff --git a/keyboards/skergo/readme.md b/keyboards/skergo/readme.md
new file mode 100644
index 000000000..ee10a5b7c
--- /dev/null
+++ b/keyboards/skergo/readme.md
@@ -0,0 +1,15 @@
1# SKErgo
2
3![skergo](https://i.imgur.com/WIqxiMfh.png)
4
5An ergonomic layout keyboard with a through-hole component design
6
7* Keyboard Maintainer: [Keyz.io](https://github.com/C1intMason)
8* Hardware Supported: SKErgo, Atmega32a
9* Hardware Availability: [Group Buy](https://keyz.io)
10
11Make example for this keyboard (after setting up your build environment):
12
13 make skergo:default
14
15See 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/skergo/rules.mk b/keyboards/skergo/rules.mk
new file mode 100644
index 000000000..307616647
--- /dev/null
+++ b/keyboards/skergo/rules.mk
@@ -0,0 +1,25 @@
1# MCU name
2MCU = atmega32a
3
4# Processor frequency
5F_CPU = 16000000
6
7# Bootloader selection
8BOOTLOADER = USBasp
9
10# Build Options
11# change yes to no to disable
12#
13BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
14MOUSEKEY_ENABLE = yes # Mouse keys
15EXTRAKEY_ENABLE = yes # Audio control and System control
16CONSOLE_ENABLE = no # Console for debug
17COMMAND_ENABLE = no # Commands for debug and configuration
18# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
19SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
20# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
21NKRO_ENABLE = no # USB Nkey Rollover
22BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
23RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
24BLUETOOTH_ENABLE = no # Enable Bluetooth
25AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/skergo/skergo.c b/keyboards/skergo/skergo.c
new file mode 100644
index 000000000..2d2f2b47a
--- /dev/null
+++ b/keyboards/skergo/skergo.c
@@ -0,0 +1,17 @@
1/* Copyright (C) 2021 Keyz.io Ltd.
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 3 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 "skergo.h"
diff --git a/keyboards/skergo/skergo.h b/keyboards/skergo/skergo.h
new file mode 100644
index 000000000..b12493e8d
--- /dev/null
+++ b/keyboards/skergo/skergo.h
@@ -0,0 +1,33 @@
1/* Copyright (C) 2021 Keyz.io Ltd.
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 3 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( \
22 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, \
23 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \
24 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K214, \
25 K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314, \
26 K400, K402, K404, K405, K407, K409, K412, K413, K414 \
27) { \
28 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \
29 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \
30 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, KC_NO, K214 }, \
31 { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, K314 }, \
32 { K400, KC_NO, K402, KC_NO, K404, K405, KC_NO, K407, KC_NO, K409, KC_NO, KC_NO, K412, K413, K414 } \
33}