aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/keebio/foldkb/.noci0
-rw-r--r--keyboards/keebio/foldkb/config.h19
-rw-r--r--keyboards/keebio/foldkb/foldkb.c17
-rw-r--r--keyboards/keebio/foldkb/foldkb.h23
-rw-r--r--keyboards/keebio/foldkb/info.json89
-rw-r--r--keyboards/keebio/foldkb/keymaps/default/keymap.c50
-rw-r--r--keyboards/keebio/foldkb/keymaps/via/keymap.c64
-rw-r--r--keyboards/keebio/foldkb/keymaps/via/rules.mk3
-rw-r--r--keyboards/keebio/foldkb/readme.md19
-rw-r--r--keyboards/keebio/foldkb/rev1/config.h58
-rw-r--r--keyboards/keebio/foldkb/rev1/rev1.c26
-rw-r--r--keyboards/keebio/foldkb/rev1/rev1.h40
-rw-r--r--keyboards/keebio/foldkb/rev1/rules.mk3
-rw-r--r--keyboards/keebio/foldkb/rules.mk26
14 files changed, 437 insertions, 0 deletions
diff --git a/keyboards/keebio/foldkb/.noci b/keyboards/keebio/foldkb/.noci
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/keebio/foldkb/.noci
diff --git a/keyboards/keebio/foldkb/config.h b/keyboards/keebio/foldkb/config.h
new file mode 100644
index 000000000..d4a20c4bc
--- /dev/null
+++ b/keyboards/keebio/foldkb/config.h
@@ -0,0 +1,19 @@
1/* Copyright 2021 Danny Nguyen <danny@keeb.io>
2
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7
8This program is distributed in the hope that it will be useful,
9but WITHOUT ANY WARRANTY; without even the implied warranty of
10MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11GNU General Public License for more details.
12
13You should have received a copy of the GNU General Public License
14along with this program. If not, see <http://www.gnu.org/licenses/>.
15*/
16
17#pragma once
18
19#include "config_common.h"
diff --git a/keyboards/keebio/foldkb/foldkb.c b/keyboards/keebio/foldkb/foldkb.c
new file mode 100644
index 000000000..97641bf99
--- /dev/null
+++ b/keyboards/keebio/foldkb/foldkb.c
@@ -0,0 +1,17 @@
1/* Copyright 2021 Danny Nguyen <danny@keeb.io>
2
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7
8This program is distributed in the hope that it will be useful,
9but WITHOUT ANY WARRANTY; without even the implied warranty of
10MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11GNU General Public License for more details.
12
13You should have received a copy of the GNU General Public License
14along with this program. If not, see <http://www.gnu.org/licenses/>.
15*/
16
17#include "foldkb.h"
diff --git a/keyboards/keebio/foldkb/foldkb.h b/keyboards/keebio/foldkb/foldkb.h
new file mode 100644
index 000000000..bd02a4ef9
--- /dev/null
+++ b/keyboards/keebio/foldkb/foldkb.h
@@ -0,0 +1,23 @@
1/* Copyright 2021 Danny Nguyen <danny@keeb.io>
2
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7
8This program is distributed in the hope that it will be useful,
9but WITHOUT ANY WARRANTY; without even the implied warranty of
10MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11GNU General Public License for more details.
12
13You should have received a copy of the GNU General Public License
14along with this program. If not, see <http://www.gnu.org/licenses/>.
15*/
16
17#pragma once
18
19#include "quantum.h"
20
21#ifdef KEYBOARD_keebio_foldkb_rev1
22 #include "rev1.h"
23#endif
diff --git a/keyboards/keebio/foldkb/info.json b/keyboards/keebio/foldkb/info.json
new file mode 100644
index 000000000..cf248ae48
--- /dev/null
+++ b/keyboards/keebio/foldkb/info.json
@@ -0,0 +1,89 @@
1{
2 "keyboard_name": "FoldKB",
3 "url": "https://keeb.io",
4 "maintainer": "nooges",
5 "width": 17.5,
6 "height": 5,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 { "label": "Mute", "x": 0, "y": 0 },
11 { "label": "Esc", "x": 1.25, "y": 0 },
12 { "label": "~", "x": 2.25, "y": 0 },
13 { "label": "1", "x": 3.25, "y": 0 },
14 { "label": "2", "x": 4.25, "y": 0 },
15 { "label": "3", "x": 5.25, "y": 0 },
16 { "label": "4", "x": 6.25, "y": 0 },
17 { "label": "5", "x": 7.25, "y": 0 },
18 { "label": "6", "x": 9, "y": 0 },
19 { "label": "7", "x": 10, "y": 0 },
20 { "label": "8", "x": 11, "y": 0 },
21 { "label": "9", "x": 12, "y": 0 },
22 { "label": "0", "x": 13, "y": 0 },
23 { "label": "-", "x": 14, "y": 0 },
24 { "label": "=", "x": 15, "y": 0 },
25 { "label": "Bksp", "x": 16, "y": 0 },
26
27 { "label": "Home", "x": 0, "y": 1 },
28 { "label": "Tab", "x": 1.75, "y": 1, "w": 1.5 },
29 { "label": "Q", "x": 3.25, "y": 1 },
30 { "label": "W", "x": 4.25, "y": 1 },
31 { "label": "E", "x": 5.25, "y": 1 },
32 { "label": "R", "x": 6.25, "y": 1 },
33 { "label": "T", "x": 7.25, "y": 1 },
34 { "label": "Y", "x": 9, "y": 1 },
35 { "label": "U", "x": 10, "y": 1 },
36 { "label": "I", "x": 11, "y": 1 },
37 { "label": "O", "x": 12, "y": 1 },
38 { "label": "P", "x": 13, "y": 1 },
39 { "label": "[", "x": 14, "y": 1 },
40 { "label": "]", "x": 15, "y": 1 },
41 { "label": "\\", "x": 16, "y": 1, "w": 1.5 },
42
43 { "label": "End", "x": 0, "y": 2 },
44 { "label": "Caps", "x": 1.5, "y": 2, "w": 1.75 },
45 { "label": "A", "x": 3.25, "y": 2 },
46 { "label": "S", "x": 4.25, "y": 2 },
47 { "label": "D", "x": 5.25, "y": 2 },
48 { "label": "F", "x": 6.25, "y": 2 },
49 { "label": "G", "x": 7.25, "y": 2 },
50 { "label": "H", "x": 9, "y": 2 },
51 { "label": "J", "x": 10, "y": 2 },
52 { "label": "K", "x": 11, "y": 2 },
53 { "label": "L", "x": 12, "y": 2 },
54 { "label": ";", "x": 13, "y": 2 },
55 { "label": "'", "x": 14, "y": 2 },
56 { "label": "Enter", "x": 15, "y": 2, "w": 2.25 },
57
58 { "label": "PgUp", "x": 0, "y": 3 },
59 { "label": "Shift", "x": 1, "y": 3, "w": 2.25 },
60 { "label": "Z", "x": 3.25, "y": 3 },
61 { "label": "X", "x": 4.25, "y": 3 },
62 { "label": "C", "x": 5.25, "y": 3 },
63 { "label": "V", "x": 6.25, "y": 3 },
64 { "label": "B", "x": 7.25, "y": 3 },
65 { "label": "N", "x": 9, "y": 3 },
66 { "label": "M", "x": 10, "y": 3 },
67 { "label": ",", "x": 11, "y": 3 },
68 { "label": ".", "x": 12, "y": 3 },
69 { "label": "/", "x": 13, "y": 3 },
70 { "label": "Shift", "x": 14, "y": 3, "w": 1.75 },
71 { "label": "Fn1", "x": 15.75, "y": 3 },
72
73 { "label": "PgDn", "x": 0, "y": 4 },
74 { "label": "Ctrl", "x": 1.5, "y": 4, "w": 1.25 },
75 { "label": "Win", "x": 2.75, "y": 4, "w": 1.25 },
76 { "label": "Alt", "x": 4, "y": 4, "w": 1.25 },
77 { "label": "Fn1", "x": 5.25, "y": 4 },
78 { "label": "Space", "x": 6.25, "y": 4 },
79 { "label": "Space", "x": 7.25, "y": 4 },
80 { "label": "Space", "x": 9, "y": 4, "w": 1.25 },
81 { "label": "Space", "x": 10.25, "y": 4, "w": 1.5 },
82 { "label": "Alt", "x": 11.75, "y": 4, "w": 1.25 },
83 { "label": "Win", "x": 13, "y": 4, "w": 1.25 },
84 { "label": "Menu", "x": 14.25, "y": 4, "w": 1.25 },
85 { "label": "Ctrl", "x": 15.5, "y": 4, "w": 1.25 }
86 ]
87 }
88 }
89}
diff --git a/keyboards/keebio/foldkb/keymaps/default/keymap.c b/keyboards/keebio/foldkb/keymaps/default/keymap.c
new file mode 100644
index 000000000..9d339080f
--- /dev/null
+++ b/keyboards/keebio/foldkb/keymaps/default/keymap.c
@@ -0,0 +1,50 @@
1/* Copyright 2021 Danny Nguyen <danny@keeb.io>
2
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7
8This program is distributed in the hope that it will be useful,
9but WITHOUT ANY WARRANTY; without even the implied warranty of
10MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11GNU General Public License for more details.
12
13You should have received a copy of the GNU General Public License
14along 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 [0] = LAYOUT(
21 KC_MUTE, KC_ESC, KC_GRV, 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_BSPC,
22 KC_HOME, 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,
23 KC_END, 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,
24 KC_PGUP, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
25 KC_PGDN, KC_LCTL, KC_LGUI, KC_LALT, MO(1), KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_MENU, KC_RCTL
26 ),
27 [1] = LAYOUT(
28 KC_MUTE, RESET, _______, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL,
29 BL_STEP, _______, RGB_SAD, RGB_SAI, _______, _______, _______, _______, KC_7, KC_8, KC_9, _______, _______, _______, _______,
30 RGB_MOD, _______, RGB_VAD, RGB_VAI, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, _______,
31 KC_VOLU, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, _______, _______, _______,
32 KC_VOLD, _______, _______, _______, _______, _______, _______, _______, KC_0, _______, _______, _______, _______
33 ),
34};
35
36void encoder_update_user(uint8_t index, bool clockwise) {
37 if (index == 0) {
38 if (clockwise) {
39 tap_code(KC_VOLU);
40 } else {
41 tap_code(KC_VOLD);
42 }
43 } else if (index == 1) {
44 if (clockwise) {
45 tap_code(KC_PGDN);
46 } else {
47 tap_code(KC_PGUP);
48 }
49 }
50}
diff --git a/keyboards/keebio/foldkb/keymaps/via/keymap.c b/keyboards/keebio/foldkb/keymaps/via/keymap.c
new file mode 100644
index 000000000..f7f19ea7c
--- /dev/null
+++ b/keyboards/keebio/foldkb/keymaps/via/keymap.c
@@ -0,0 +1,64 @@
1/* Copyright 2021 Danny Nguyen <danny@keeb.io>
2
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7
8This program is distributed in the hope that it will be useful,
9but WITHOUT ANY WARRANTY; without even the implied warranty of
10MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11GNU General Public License for more details.
12
13You should have received a copy of the GNU General Public License
14along 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 [0] = LAYOUT(
21 KC_MUTE, KC_ESC, KC_GRV, 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_BSPC,
22 KC_HOME, 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,
23 KC_END, 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,
24 KC_PGUP, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
25 KC_PGDN, KC_LCTL, KC_LGUI, KC_LALT, MO(1), KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_MENU, KC_RCTL
26 ),
27 [1] = LAYOUT(
28 KC_MUTE, RESET, _______, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL,
29 BL_STEP, _______, RGB_SAD, RGB_SAI, _______, _______, _______, _______, KC_7, KC_8, KC_9, _______, _______, _______, _______,
30 RGB_MOD, _______, RGB_VAD, RGB_VAI, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, _______,
31 KC_VOLU, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, _______, _______, _______,
32 KC_VOLD, _______, _______, _______, _______, _______, _______, _______, KC_0, _______, _______, _______, _______
33 ),
34 [2] = LAYOUT(
35 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
36 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
38 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
39 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
40 ),
41 [3] = LAYOUT(
42 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
43 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
44 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
45 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
46 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
47 )
48};
49
50void encoder_update_user(uint8_t index, bool clockwise) {
51 if (index == 0) {
52 if (clockwise) {
53 tap_code(KC_VOLU);
54 } else {
55 tap_code(KC_VOLD);
56 }
57 } else if (index == 1) {
58 if (clockwise) {
59 tap_code(KC_PGDN);
60 } else {
61 tap_code(KC_PGUP);
62 }
63 }
64}
diff --git a/keyboards/keebio/foldkb/keymaps/via/rules.mk b/keyboards/keebio/foldkb/keymaps/via/rules.mk
new file mode 100644
index 000000000..4b1bcabda
--- /dev/null
+++ b/keyboards/keebio/foldkb/keymaps/via/rules.mk
@@ -0,0 +1,3 @@
1VIA_ENABLE = yes
2CONSOLE_ENABLE = yes
3LTO_ENABLE = yes
diff --git a/keyboards/keebio/foldkb/readme.md b/keyboards/keebio/foldkb/readme.md
new file mode 100644
index 000000000..2ac505120
--- /dev/null
+++ b/keyboards/keebio/foldkb/readme.md
@@ -0,0 +1,19 @@
1# FoldKB
2
3A split 60% ortholinear keyboard that uses a standard keyset, made and sold by Keebio. [More info at Keebio](https://keeb.io).
4Layout design by friglesnart.
5
6* Keyboard Maintainer: [Bakingpy/nooges](https://github.com/nooges)
7* Hardware Availability: [Keebio](https://keeb.io/)
8
9Make example for this keyboard (after setting up your build environment):
10
11 make keebio/foldkb/rev1:default
12
13Example of flashing this keyboard:
14
15 make keebio/foldkb/rev1:default:flash
16
17See 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).
18
19A build guide for this keyboard can be found here: [Keebio Build Guides](https://docs.keeb.io)
diff --git a/keyboards/keebio/foldkb/rev1/config.h b/keyboards/keebio/foldkb/rev1/config.h
new file mode 100644
index 000000000..ab4751f1f
--- /dev/null
+++ b/keyboards/keebio/foldkb/rev1/config.h
@@ -0,0 +1,58 @@
1/* Copyright 2021 Danny Nguyen <danny@keeb.io>
2
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7
8This program is distributed in the hope that it will be useful,
9but WITHOUT ANY WARRANTY; without even the implied warranty of
10MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11GNU General Public License for more details.
12
13You should have received a copy of the GNU General Public License
14along with this program. If not, see <http://www.gnu.org/licenses/>.
15*/
16
17#pragma once
18
19/* USB Device descriptor parameter */
20#define VENDOR_ID 0xCB10
21#define PRODUCT_ID 0x1258
22#define DEVICE_VER 0x0100
23#define MANUFACTURER Keebio
24#define PRODUCT FoldKB Rev. 1
25
26/* key matrix size */
27// Rows are doubled-up
28#define MATRIX_ROWS 10
29#define MATRIX_COLS 8
30
31#define DIODE_DIRECTION COL2ROW
32// wiring of each half
33#define MATRIX_ROW_PINS { B1, B2, C7, B4, D7 }
34#define MATRIX_COL_PINS { F4, F1, F0, B7, B3, D2, D3, D5 }
35#define SPLIT_HAND_PIN F7
36#define ENCODERS_PAD_A { F5 }
37#define ENCODERS_PAD_B { F6 }
38
39/* Set 0 if debouncing isn't needed */
40#define DEBOUNCE 5
41
42#define BACKLIGHT_PIN B5
43
44/* serial.c configuration for split keyboard */
45#define SOFT_SERIAL_PIN D0
46
47/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
48#define LOCKING_SUPPORT_ENABLE
49/* Locking resynchronize hack */
50#define LOCKING_RESYNC_ENABLE
51
52/* ws2812 RGB LED */
53#define RGB_DI_PIN E6
54#define RGBLIGHT_ANIMATIONS
55#define RGBLED_NUM 16 // Number of LEDs
56#define RGBLED_SPLIT { 8, 8 }
57#define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 12, 13, 14, 15, 4, 5, 6, 7, 8, 9, 10, 11 }
58#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
diff --git a/keyboards/keebio/foldkb/rev1/rev1.c b/keyboards/keebio/foldkb/rev1/rev1.c
new file mode 100644
index 000000000..bab267400
--- /dev/null
+++ b/keyboards/keebio/foldkb/rev1/rev1.c
@@ -0,0 +1,26 @@
1/* Copyright 2021 Danny Nguyen <danny@keeb.io>
2
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7
8This program is distributed in the hope that it will be useful,
9but WITHOUT ANY WARRANTY; without even the implied warranty of
10MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11GNU General Public License for more details.
12
13You should have received a copy of the GNU General Public License
14along with this program. If not, see <http://www.gnu.org/licenses/>.
15*/
16
17#include "foldkb.h"
18
19void eeconfig_init_kb(void) {
20#ifdef BACKLIGHT_ENABLE
21 backlight_enable();
22 backlight_level(3);
23#endif
24 eeconfig_update_kb(0);
25 eeconfig_init_user();
26}
diff --git a/keyboards/keebio/foldkb/rev1/rev1.h b/keyboards/keebio/foldkb/rev1/rev1.h
new file mode 100644
index 000000000..d07152538
--- /dev/null
+++ b/keyboards/keebio/foldkb/rev1/rev1.h
@@ -0,0 +1,40 @@
1/* Copyright 2021 Danny Nguyen <danny@keeb.io>
2
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7
8This program is distributed in the hope that it will be useful,
9but WITHOUT ANY WARRANTY; without even the implied warranty of
10MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11GNU General Public License for more details.
12
13You should have received a copy of the GNU General Public License
14along with this program. If not, see <http://www.gnu.org/licenses/>.
15*/
16
17#pragma once
18
19#include "foldkb.h"
20#include "quantum.h"
21
22#define LAYOUT( \
23 LA1, LA2, LA3, LA4, LA5, LA6, LA7, LA8, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, \
24 LB1, LB3, LB4, LB5, LB6, LB7, LB8, RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, \
25 LC1, LC3, LC4, LC5, LC6, LC7, LC8, RC1, RC2, RC3, RC4, RC5, RC6, RC8, \
26 LD1, LD3, LD4, LD5, LD6, LD7, LD8, RD1, RD2, RD3, RD4, RD5, RD6, RD8, \
27 LE1, LE3, LE4, LE5, LE6, LE7, LE8, RE1, RE2, RE4, RE5, RE6, RE8 \
28 ) \
29 { \
30 { LA1, LA2, LA3, LA4, LA5, LA6, LA7, LA8 }, \
31 { LB1, KC_NO, LB3, LB4, LB5, LB6, LB7, LB8 }, \
32 { LC1, KC_NO, LC3, LC4, LC5, LC6, LC7, LC8 }, \
33 { LD1, KC_NO, LD3, LD4, LD5, LD6, LD7, LD8 }, \
34 { LE1, KC_NO, LE3, LE4, LE5, LE6, LE7, LE8 }, \
35 { RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8 }, \
36 { RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8 }, \
37 { RC1, RC2, RC3, RC4, RC5, RC6, KC_NO, RC8 }, \
38 { RD1, RD2, RD3, RD4, RD5, RD6, KC_NO, RD8 }, \
39 { RE1, RE2, KC_NO, RE4, RE5, RE6, KC_NO, RE8 }, \
40 }
diff --git a/keyboards/keebio/foldkb/rev1/rules.mk b/keyboards/keebio/foldkb/rev1/rules.mk
new file mode 100644
index 000000000..32e788159
--- /dev/null
+++ b/keyboards/keebio/foldkb/rev1/rules.mk
@@ -0,0 +1,3 @@
1BACKLIGHT_ENABLE = yes
2RGBLIGHT_ENABLE = yes
3ENCODER_ENABLE = yes
diff --git a/keyboards/keebio/foldkb/rules.mk b/keyboards/keebio/foldkb/rules.mk
new file mode 100644
index 000000000..4f3a43261
--- /dev/null
+++ b/keyboards/keebio/foldkb/rules.mk
@@ -0,0 +1,26 @@
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 = no # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = yes # 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 = no # USB Nkey Rollover
19BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
23LTO_ENABLE = yes
24SPLIT_KEYBOARD = yes
25
26DEFAULT_FOLDER = keebio/foldkb/rev1