aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqpockets <69164255+qpockets@users.noreply.github.com>2021-01-14 01:01:58 -0500
committerGitHub <noreply@github.com>2021-01-13 22:01:58 -0800
commiteb0ce0abc7f04a56d11250f37f56cc6bd84d9eeb (patch)
tree6382acb406aa8f34e9585674b11b412aeaca7280
parent501f3ed419cc8a07d156e2cac0f40cfad2485847 (diff)
downloadqmk_firmware-eb0ce0abc7f04a56d11250f37f56cc6bd84d9eeb.tar.gz
qmk_firmware-eb0ce0abc7f04a56d11250f37f56cc6bd84d9eeb.zip
[Keyboard] Add space space keyboard (#11425)
* add space_space keyboard * update space_space readme * fix space_space formatting issue * add layout readme, vid & pid * experiment * readme fix * readme fix * readme fix * readme formatting * readme formatting * readme formatting * Update keymap.c change I+O combo to O+P because of accidental activation * Update keymap.c change I+O combo to O+P because of accidental activation * Update readme.md change keymap readme to reflect keymap changes * Apply suggestions from code review remove deprecated "key count" from .json Co-authored-by: Drashna Jaelre <drashna@live.com> * Apply suggestions from code review -move combo and modtap defines to the keymap level -formatting issues Co-authored-by: Joel Challis <git@zvecr.com> * move combo defines to keymap level and update config.h * Apply suggestions from code review add lower resolution readme picture and sleep LED note Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
-rw-r--r--keyboards/space_space/config.h50
-rw-r--r--keyboards/space_space/info.json92
-rw-r--r--keyboards/space_space/keymaps/big_space/config.h27
-rw-r--r--keyboards/space_space/keymaps/big_space/keymap.c131
-rw-r--r--keyboards/space_space/keymaps/big_space/rules.mk1
-rw-r--r--keyboards/space_space/keymaps/default/config.h27
-rw-r--r--keyboards/space_space/keymaps/default/keymap.c133
-rw-r--r--keyboards/space_space/keymaps/default/rules.mk1
-rw-r--r--keyboards/space_space/keymaps/readme.md76
-rw-r--r--keyboards/space_space/readme.md18
-rw-r--r--keyboards/space_space/rules.mk23
-rw-r--r--keyboards/space_space/space_space.c17
-rw-r--r--keyboards/space_space/space_space.h48
13 files changed, 644 insertions, 0 deletions
diff --git a/keyboards/space_space/config.h b/keyboards/space_space/config.h
new file mode 100644
index 000000000..20b1180d3
--- /dev/null
+++ b/keyboards/space_space/config.h
@@ -0,0 +1,50 @@
1/* Copyright 2020 qpockets
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 "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0x7170
23#define PRODUCT_ID 0x7373
24#define DEVICE_VER 0x3000
25#define MANUFACTURER qpockets
26#define PRODUCT space_space
27
28/* key matrix size */
29#define MATRIX_ROWS 4
30#define MATRIX_COLS 11
31
32#define MATRIX_ROW_PINS { F1, F4, F5, C7 }
33#define MATRIX_COL_PINS { D4, B4, B5, B6, C6, F7, F6, F0, B0, E6, B1 }
34
35#define UNUSED_PINS
36
37/* COL2ROW, ROW2COL*/
38#define DIODE_DIRECTION COL2ROW
39
40/* ROTARY ENCODERS */
41#define ENCODERS_PAD_A { B3, D6 }
42#define ENCODERS_PAD_B { B2, D7 }
43
44#define ENCODER_RESOLUTIONS { 3, 4 }
45//#define ENCODER_DIRECTION_FLIP
46
47
48#define DEBOUNCE 7
49
50#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/space_space/info.json b/keyboards/space_space/info.json
new file mode 100644
index 000000000..b0dcdc859
--- /dev/null
+++ b/keyboards/space_space/info.json
@@ -0,0 +1,92 @@
1{
2 "keyboard_name": "space_space",
3 "url": "",
4 "maintainer": "qpockets",
5 "width": 11.5,
6 "height": 4.35,
7 "layouts": {
8 "LAYOUT_default": {
9 "layout": [
10 {"label":"Q", "x":0, "y":0},
11 {"label":"W", "x":1, "y":0},
12 {"label":"E", "x":2, "y":0},
13 {"label":"R", "x":3, "y":0},
14 {"label":"T", "x":4, "y":0},
15 {"label":"Delete", "x":5, "y":0, "w":1.5},
16 {"label":"Y", "x":6.5, "y":0},
17 {"label":"U", "x":7.5, "y":0},
18 {"label":"I", "x":8.5, "y":0},
19 {"label":"O", "x":9.5, "y":0},
20 {"label":"P", "x":10.5, "y":0},
21 {"label":"A", "x":0, "y":1},
22 {"label":"S", "x":1, "y":1},
23 {"label":"D", "x":2, "y":1},
24 {"label":"F", "x":3, "y":1},
25 {"label":"G", "x":4, "y":1},
26 {"label":"Tab", "x":5, "y":1, "w":1.5},
27 {"label":"H", "x":6.5, "y":1},
28 {"label":"J", "x":7.5, "y":1},
29 {"label":"K", "x":8.5, "y":1},
30 {"label":"L", "x":9.5, "y":1},
31 {"label":"\"", "x":10.5, "y":1},
32 {"label":"Z", "x":0, "y":2},
33 {"label":"X", "x":1, "y":2},
34 {"label":"C", "x":2, "y":2},
35 {"label":"V", "x":3, "y":2},
36 {"label":"B", "x":4, "y":2},
37 {"label":"Shift", "x":5, "y":2, "w":1.5},
38 {"label":"N", "x":6.5, "y":2},
39 {"label":"M", "x":7.5, "y":2},
40 {"label":"<", "x":8.5, "y":2},
41 {"label":">", "x":9.5, "y":2},
42 {"label":"?", "x":10.5, "y":2},
43 {"label":"Ctrl", "x":1.25, "y":3.35, "w":1.25},
44 {"label":"Fn", "x":2.5, "y":3.35},
45 {"label":"Backspace", "x":3.5, "y":3.35, "w":2},
46 {"label":"Space", "x":5.5, "y":3.35, "w":2.25},
47 {"label":"Gui", "x":7.75, "y":3.35},
48 {"label":"Alt", "x":8.75, "y":3.35, "w":1.25}
49 ]
50 },
51 "LAYOUT_big_space": {
52 "layout": [
53 {"label":"Q", "x":0, "y":0},
54 {"label":"W", "x":1, "y":0},
55 {"label":"E", "x":2, "y":0},
56 {"label":"R", "x":3, "y":0},
57 {"label":"T", "x":4, "y":0},
58 {"label":"Delete", "x":5, "y":0, "w":1.5},
59 {"label":"Y", "x":6.5, "y":0},
60 {"label":"U", "x":7.5, "y":0},
61 {"label":"I", "x":8.5, "y":0},
62 {"label":"O", "x":9.5, "y":0},
63 {"label":"P", "x":10.5, "y":0},
64 {"label":"A", "x":0, "y":1},
65 {"label":"S", "x":1, "y":1},
66 {"label":"D", "x":2, "y":1},
67 {"label":"F", "x":3, "y":1},
68 {"label":"G", "x":4, "y":1},
69 {"label":"Tab", "x":5, "y":1, "w":1.5},
70 {"label":"H", "x":6.5, "y":1},
71 {"label":"J", "x":7.5, "y":1},
72 {"label":"K", "x":8.5, "y":1},
73 {"label":"L", "x":9.5, "y":1},
74 {"label":"\"", "x":10.5, "y":1},
75 {"label":"Z", "x":0, "y":2},
76 {"label":"X", "x":1, "y":2},
77 {"label":"C", "x":2, "y":2},
78 {"label":"V", "x":3, "y":2},
79 {"label":"B", "x":4, "y":2},
80 {"label":"Shift", "x":5, "y":2, "w":1.5},
81 {"label":"N", "x":6.5, "y":2},
82 {"label":"M", "x":7.5, "y":2},
83 {"label":"<", "x":8.5, "y":2},
84 {"label":">", "x":9.5, "y":2},
85 {"label":"?", "x":10.5, "y":2},
86 {"label":"Ctrl", "x":1.25, "y":3.35, "w":1.25},
87 {"label":"Space", "x":2.5, "y":3.35, "w":6.25},
88 {"label":"Alt", "x":8.75, "y":3.35, "w":1.25}
89 ]
90 }
91 }
92}
diff --git a/keyboards/space_space/keymaps/big_space/config.h b/keyboards/space_space/keymaps/big_space/config.h
new file mode 100644
index 000000000..ffc2124e1
--- /dev/null
+++ b/keyboards/space_space/keymaps/big_space/config.h
@@ -0,0 +1,27 @@
1/* Copyright 2021 qpockets
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/*Modtaps*/
20#define TAPPING_TERM 175
21#define IGNORE_MOD_TAP_INTERRUPT
22
23/*Combos*/
24#ifdef COMBO_ENABLE
25# define COMBO_COUNT 5
26# define COMBO_TERM 50
27#endif \ No newline at end of file
diff --git a/keyboards/space_space/keymaps/big_space/keymap.c b/keyboards/space_space/keymaps/big_space/keymap.c
new file mode 100644
index 000000000..9aeeb2ef4
--- /dev/null
+++ b/keyboards/space_space/keymaps/big_space/keymap.c
@@ -0,0 +1,131 @@
1/* Copyright 2020 qpockets
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 _BASE,
21 _SYM,
22 _NUM,
23 _NAV
24};
25
26enum combo_events {
27 COMBO_BSPC,
28 COMBO_ENT,
29 COMBO_TAB,
30 COMBO_ESC,
31 COMBO_DEL
32};
33#define KC_UP_SPC LT(_SYM, KC_SPC)
34#define KC_GZ LGUI_T(KC_Z)
35#define KC_AA LALT_T(KC_A)
36#define KC_CC LCTL_T(KC_C)
37#define KC_SF LSFT_T(KC_F)
38#define KC_SJ RSFT_T(KC_J)
39#define KC_CCOMM RCTL_T(KC_COMM)
40#define KC_AQUOT RALT_T(KC_QUOT)
41#define KC_GSLSH RGUI_T(KC_SLSH)
42
43const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
44 [_BASE] = LAYOUT_big_space(
45 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_DEL, KC_Y, KC_U, KC_I, KC_O, KC_P,
46 KC_AA, KC_S, KC_D, KC_SF, KC_G, KC_BSPC, KC_H, KC_SJ, KC_K, KC_L, KC_AQUOT,
47 KC_GZ, KC_X, KC_CC, KC_V, KC_B, KC_LSFT, KC_N, KC_M, KC_CCOMM, KC_DOT, KC_GSLSH,
48 MO(_NAV), KC_UP_SPC, KC_RALT
49 ),
50
51 [_SYM] = LAYOUT_big_space(
52 KC_1, KC_2, KC_3, KC_4, KC_5, KC_TRNS, KC_6, KC_7, KC_8, KC_9, KC_0,
53 KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_TRNS, KC_CIRC, KC_AMPR, KC_ASTR, KC_EQUAL, KC_MINS,
54 KC_PIPE, KC_BSLS, KC_LPRN, KC_LBRC, KC_SCLN, KC_TRNS, KC_COLN, KC_RBRC, KC_RPRN, KC_PLUS, KC_UNDS,
55 KC_TRNS, KC_TRNS, KC_TRNS
56 ),
57
58 [_NAV] = LAYOUT_big_space(
59 KC_HOME, KC_UP, KC_END, KC_PGUP, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BSPC,
60 KC_LEFT, KC_DOWN, KC_RIGHT, KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TAB,
61 KC_MPRV, KC_MPLY, KC_MNXT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_ENT,
62 KC_TRNS, KC_TRNS, KC_TRNS
63 ),
64};
65
66void encoder_update_user(uint8_t index, bool clockwise) {
67 if (index == 1) { /* left encoder*/
68 switch(get_highest_layer(layer_state)){
69
70 case _NAV:
71 if (clockwise) {
72 tap_code16(C(KC_TAB));
73 } else {
74 tap_code16(C(S(KC_TAB)));
75 }
76 break;
77
78 case _SYM:
79 if (clockwise) {
80 tap_code(KC_PGUP);
81 } else {
82 tap_code(KC_PGDN);
83
84 }
85 break;
86
87 default:
88 if (clockwise){
89 tap_code(KC_WH_U);
90 } else{
91 tap_code(KC_WH_D);
92 }
93 break;
94 }
95 } else if (index == 0) { /* right encoder */
96 switch(get_highest_layer(layer_state)){
97
98 case _SYM:
99 if (clockwise) {
100 tap_code(KC_MPRV);
101 } else {
102 tap_code(KC_MNXT);
103 }
104 break;
105
106 default:
107 if (clockwise){
108 tap_code(KC_VOLU);
109 } else{
110 tap_code(KC_VOLD);
111 }
112 break;
113 }
114 }
115}
116
117#ifdef COMBO_ENABLE
118const uint16_t PROGMEM combo_bspc[] = {KC_O, KC_P, COMBO_END};
119const uint16_t PROGMEM combo_ent[] = {KC_K, KC_L, COMBO_END};
120const uint16_t PROGMEM combo_tab[] = {KC_S, KC_D, COMBO_END};
121const uint16_t PROGMEM combo_esc[] = {KC_T, KC_Y, COMBO_END};
122const uint16_t PROGMEM combo_del[] = {KC_Q, KC_W, COMBO_END};
123
124combo_t key_combos[COMBO_COUNT] = {
125 [COMBO_BSPC] = COMBO(combo_bspc,KC_BSPC),
126 [COMBO_ENT] = COMBO(combo_ent,KC_ENT),
127 [COMBO_TAB] = COMBO(combo_tab,KC_TAB),
128 [COMBO_ESC] = COMBO(combo_esc,KC_ESC),
129 [COMBO_DEL] = COMBO(combo_del,KC_DEL)
130};
131#endif
diff --git a/keyboards/space_space/keymaps/big_space/rules.mk b/keyboards/space_space/keymaps/big_space/rules.mk
new file mode 100644
index 000000000..ff681299e
--- /dev/null
+++ b/keyboards/space_space/keymaps/big_space/rules.mk
@@ -0,0 +1 @@
COMBO_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/space_space/keymaps/default/config.h b/keyboards/space_space/keymaps/default/config.h
new file mode 100644
index 000000000..ffc2124e1
--- /dev/null
+++ b/keyboards/space_space/keymaps/default/config.h
@@ -0,0 +1,27 @@
1/* Copyright 2021 qpockets
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/*Modtaps*/
20#define TAPPING_TERM 175
21#define IGNORE_MOD_TAP_INTERRUPT
22
23/*Combos*/
24#ifdef COMBO_ENABLE
25# define COMBO_COUNT 5
26# define COMBO_TERM 50
27#endif \ No newline at end of file
diff --git a/keyboards/space_space/keymaps/default/keymap.c b/keyboards/space_space/keymaps/default/keymap.c
new file mode 100644
index 000000000..81b53abfe
--- /dev/null
+++ b/keyboards/space_space/keymaps/default/keymap.c
@@ -0,0 +1,133 @@
1/* Copyright 2020 qpockets
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 _BASE,
21 _SYM,
22 _NUM,
23 _NAV
24};
25
26enum combo_events {
27 COMBO_BSPC,
28 COMBO_ENT,
29 COMBO_TAB,
30 COMBO_ESC,
31 COMBO_DEL
32};
33#define KC_DN_BSPC LT(_NUM, KC_BSPC)
34#define KC_UP_SPC LT(_SYM, KC_SPC)
35#define KC_SF LSFT_T(KC_F)
36#define KC_SJ RSFT_T(KC_J)
37
38const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
39 [_BASE] = LAYOUT_default(
40 KC_Q, KC_W, KC_E, KC_R, KC_T, KC_DEL, KC_Y, KC_U, KC_I, KC_O, KC_P,
41 KC_A, KC_S, KC_D, KC_SF, KC_G, KC_TAB, KC_H, KC_SJ, KC_K, KC_L, KC_QUOT,
42 KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LSFT, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
43 KC_LCTL, MO(_NAV), KC_DN_BSPC, KC_UP_SPC, KC_LGUI, KC_RALT
44 ),
45
46 [_SYM] = LAYOUT_default(
47 KC_1, KC_2, KC_3, KC_4, KC_5, KC_TRNS, KC_6, KC_7, KC_8, KC_9, KC_0,
48 KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_TRNS, KC_CIRC, KC_AMPR, KC_ASTR, KC_EQUAL, KC_MINS,
49 KC_PIPE, KC_BSLS, KC_LPRN, KC_LBRC, KC_SCLN, KC_TRNS, KC_COLN, KC_RBRC, KC_RPRN, KC_PLUS, KC_UNDS,
50 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
51 ),
52
53 [_NUM] = LAYOUT_default(
54 KC_PSLS, KC_P7, KC_P8, KC_P9, KC_PMNS, KC_EQL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BSPC,
55 KC_PLUS, KC_P4, KC_P5, KC_P6, KC_BSPC, KC_LSFT, KC_TRNS, KC_TRNS, KC_SCLN, KC_COLN, KC_TAB,
56 KC_PAST, KC_P1, KC_P2, KC_P3, KC_ENT, KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_ENT,
57 KC_P0, KC_PDOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
58 ),
59
60 [_NAV] = LAYOUT_default(
61 KC_HOME, KC_UP, KC_END, KC_PGUP, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BSPC,
62 KC_LEFT, KC_DOWN, KC_RIGHT, KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TAB,
63 KC_MPRV, KC_MPLY, KC_MNXT, KC_TRNS, KC_TRNS, KC_LCAP, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_ENT,
64 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
65 ),
66};
67
68void encoder_update_user(uint8_t index, bool clockwise) {
69 if (index == 1) { /* left encoder*/
70 switch(get_highest_layer(layer_state)){
71
72 case _NAV:
73 if (clockwise) {
74 tap_code16(C(KC_TAB));
75 } else {
76 tap_code16(C(S(KC_TAB)));
77 }
78 break;
79
80 case _NUM:
81 if (clockwise) {
82 tap_code(KC_PGUP);
83 } else {
84 tap_code(KC_PGDN);
85
86 }
87 break;
88
89 default:
90 if (clockwise){
91 tap_code(KC_WH_U);
92 } else{
93 tap_code(KC_WH_D);
94 }
95 break;
96 }
97 } else if (index == 0) { /* right encoder */
98 switch(get_highest_layer(layer_state)){
99
100 case _SYM:
101 if (clockwise) {
102 tap_code(KC_MPRV);
103 } else {
104 tap_code(KC_MNXT);
105 }
106 break;
107
108 default:
109 if (clockwise){
110 tap_code(KC_VOLU);
111 } else{
112 tap_code(KC_VOLD);
113 }
114 break;
115 }
116 }
117}
118
119#ifdef COMBO_ENABLE
120const uint16_t PROGMEM combo_bspc[] = {KC_O, KC_P, COMBO_END};
121const uint16_t PROGMEM combo_ent[] = {KC_K, KC_L, COMBO_END};
122const uint16_t PROGMEM combo_tab[] = {KC_S, KC_D, COMBO_END};
123const uint16_t PROGMEM combo_esc[] = {KC_T, KC_Y, COMBO_END};
124const uint16_t PROGMEM combo_del[] = {KC_Q, KC_W, COMBO_END};
125
126combo_t key_combos[COMBO_COUNT] = {
127 [COMBO_BSPC] = COMBO(combo_bspc,KC_BSPC),
128 [COMBO_ENT] = COMBO(combo_ent,KC_ENT),
129 [COMBO_TAB] = COMBO(combo_tab,KC_TAB),
130 [COMBO_ESC] = COMBO(combo_esc,KC_ESC),
131 [COMBO_DEL] = COMBO(combo_del,KC_DEL)
132};
133#endif
diff --git a/keyboards/space_space/keymaps/default/rules.mk b/keyboards/space_space/keymaps/default/rules.mk
new file mode 100644
index 000000000..ff681299e
--- /dev/null
+++ b/keyboards/space_space/keymaps/default/rules.mk
@@ -0,0 +1 @@
COMBO_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/space_space/keymaps/readme.md b/keyboards/space_space/keymaps/readme.md
new file mode 100644
index 000000000..79e944c71
--- /dev/null
+++ b/keyboards/space_space/keymaps/readme.md
@@ -0,0 +1,76 @@
1space space default layout
2
3Default layout on space space uses 3 layers + base, 5 combos, layer taps on the split space bars, and tap-hold for shift on F & J.
4
5* combos include:
6
7O+P = backspace
8
9K+L = enter
10
11S+D = tab
12
13T+Y = escape
14
15Q+W = delete
16
17
18* The encoders are also set to function differently depending on layer:
19
20right encoder
21default = volume up/down
22
23symbol layer (hold space) = media next/previous
24
25left encoder
26default = mousewheel up/down
27
28number layer (hold backspace) = page up/down
29
30nav layer (hold Fn) = control tab/control shift tab
31
32Default Layout:
33
34```
35Base
36
37 ,-------------------------------------------------------------------.
38 | Q | W | E | R | T | Del | Y | U | I | O | P |
39 |-----+-----+-----+-----+-----+-------+-----+-----+-----+-----+-----|
40 | A | S | D | F | G | Tab | H | J | K | L | " |
41 |-----+-----+-----+-----+-----+-------+-----+-----+-----+-----+-----|
42 | Z | X | C | V | B | Shift | N | M | , | . | / |
43 `-----+-----+-----+-----+-----+-------+-----+-----+-----+-----+-----'
44 | Ctrl | FN | Back | Space | Gui | Alt |
45 `-------------------------------------------------'
46Symbols
47 ,-------------------------------------------------------------------.
48 | 1 | 2 | 3 | 4 | 5 | Del | 6 | 7 | 8 | 9 | 0 |
49 |-----+-----+-----+-----+-----+-------+-----+-----+-----+-----+-----|
50 | ! | @ | # | $ | % | Tab | ^ | & | * | = | - |
51 |-----+-----+-----+-----+-----+-------+-----+-----+-----+-----+-----|
52 | | | \ | ( | [ | ; | Shift | : | ] | ) | + | _ |
53 `-----+-----+-----+-----+-----+-------+-----+-----+-----+-----+-----'
54 | Ctrl | FN | Back | Space | Gui | Alt |
55 `-------------------------------------------------'
56Numpad
57 ,-------------------------------------------------------------------.
58 | / | 7 | 8 | 9 | - | = | Y | U | I | O | Bsp |
59 |-----+-----+-----+-----+-----+-------+-----+-----+-----+-----+-----|
60 | + | 4 | 5 | 6 | Bsp | Shift | H | J | K | L | Tab |
61 |-----+-----+-----+-----+-----+-------+-----+-----+-----+-----+-----|
62 | * | 1 | 2 | 3 | Ent | Tab | N | M | , | . | Ent |
63 `-----+-----+-----+-----+-----+-------+-----+-----+-----+-----+-----'
64 | 0 | . | Back | Space | Gui | Alt |
65 `-------------------------------------------------'
66Nav
67 ,-------------------------------------------------------------------.
68 | Hm | Up | End | PgU | T | Del | Y | U | I | O | Bsp |
69 |-----+-----+-----+-----+-----+-------+-----+-----+-----+-----+-----|
70 | Lft | Dn | Rgt | PgD | G | Tab | H | J | K | L | Tab |
71 |-----+-----+-----+-----+-----+-------+-----+-----+-----+-----+-----|
72 | Prv | Pse | Nxt | V | B | Caps | N | M | , | . | Ent |
73 `-----+-----+-----+-----+-----+-------+-----+-----+-----+-----+-----'
74 | Ctrl | FN | Back | Space | Gui | Alt |
75 `-------------------------------------------------'
76
diff --git a/keyboards/space_space/readme.md b/keyboards/space_space/readme.md
new file mode 100644
index 000000000..c0d254faa
--- /dev/null
+++ b/keyboards/space_space/readme.md
@@ -0,0 +1,18 @@
1# space_space
2
3![space_space](https://i.imgur.com/qdkG8K7l.jpg)
4
5Give your space some space
6
7* Keyboard Maintainer: https://github.com/qpockets
8* Hardware Availability:
9
10Make example for this keyboard (after setting up your build environment):
11
12 make space_space:default
13
14Flashing example for this keyboard:
15
16 make space_space:default:flash
17
18See 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/space_space/rules.mk b/keyboards/space_space/rules.mk
new file mode 100644
index 000000000..831de6dc5
--- /dev/null
+++ b/keyboards/space_space/rules.mk
@@ -0,0 +1,23 @@
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 = 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
23ENCODER_ENABLE = yes
diff --git a/keyboards/space_space/space_space.c b/keyboards/space_space/space_space.c
new file mode 100644
index 000000000..5fb853a01
--- /dev/null
+++ b/keyboards/space_space/space_space.c
@@ -0,0 +1,17 @@
1
2/* Copyright 2020 qpockets
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17#include "space_space.h"
diff --git a/keyboards/space_space/space_space.h b/keyboards/space_space/space_space.h
new file mode 100644
index 000000000..25e9a083d
--- /dev/null
+++ b/keyboards/space_space/space_space.h
@@ -0,0 +1,48 @@
1/* Copyright 2020 qpockets
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 XXX KC_NO
22
23#define LAYOUT_default( \
24 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K50, \
25 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K51, \
26 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K52, \
27 K32, K33, K34, K36, K37, K38 \
28) \
29{ \
30{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K50 }, \
31{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K51 }, \
32{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K52 }, \
33{ XXX, XXX, K32, K33, K34, XXX, K36, K37, K38, XXX, XXX } \
34}
35
36#define LAYOUT_big_space( \
37 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K50, \
38 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K51, \
39 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K52, \
40 K32, K35, K38 \
41) \
42{ \
43{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K50 }, \
44{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K51 }, \
45{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K52 }, \
46{ XXX, XXX, K32, XXX, XXX, K35, XXX, XXX, K38, XXX, XXX } \
47}
48