aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormelonbred <61572569+melonbred@users.noreply.github.com>2020-12-16 21:27:47 -0800
committerGitHub <noreply@github.com>2020-12-16 21:27:47 -0800
commit58107ebedf1a2d9a1fb9c0cafc9f994df435d63c (patch)
tree6fb9a63d7d1886c0a922015896299739d1cb1463
parentd82ab56a14fa9986a7651e6be78a73d10b5629df (diff)
downloadqmk_firmware-58107ebedf1a2d9a1fb9c0cafc9f994df435d63c.tar.gz
qmk_firmware-58107ebedf1a2d9a1fb9c0cafc9f994df435d63c.zip
[Keyboard] Add program_yoink (#10963)
* Add new keyboard: program_yoink * Updated rules.mk * Updated split_space keymap Fixed split_space keymap and now builds with no errors. * Update keyboards/program_yoink/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/program_yoink/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/program_yoink/rules.mk Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/program_yoink/program_yoink.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/program_yoink/program_yoink.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/program_yoink/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/program_yoink/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/program_yoink/keymaps/split_bar/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/program_yoink/keymaps/split_bar/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/program_yoink/keymaps/split_bar/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/program_yoink/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update readme.md * Apply suggestions from code review Co-authored-by: Drashna Jaelre <drashna@live.com> * Apply suggestions from code review Co-authored-by: Joel Challis <git@zvecr.com> * Update keyboards/program_yoink/readme.md per code review * Apply suggestions from code review * Update keyboards/program_yoink/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/program_yoink/config.h Co-authored-by: Joel Challis <git@zvecr.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/program_yoink/config.h102
-rw-r--r--keyboards/program_yoink/info.json107
-rw-r--r--keyboards/program_yoink/keymaps/default/config.h25
-rw-r--r--keyboards/program_yoink/keymaps/default/keymap.c75
-rw-r--r--keyboards/program_yoink/keymaps/default/readme.md1
-rw-r--r--keyboards/program_yoink/keymaps/default/rules.mk1
-rw-r--r--keyboards/program_yoink/keymaps/split_bar/config.h25
-rw-r--r--keyboards/program_yoink/keymaps/split_bar/keymap.c75
-rw-r--r--keyboards/program_yoink/keymaps/split_bar/readme.md1
-rw-r--r--keyboards/program_yoink/keymaps/split_bar/rules.mk1
-rw-r--r--keyboards/program_yoink/program_yoink.c17
-rw-r--r--keyboards/program_yoink/program_yoink.h57
-rw-r--r--keyboards/program_yoink/readme.md15
-rw-r--r--keyboards/program_yoink/rules.mk23
14 files changed, 525 insertions, 0 deletions
diff --git a/keyboards/program_yoink/config.h b/keyboards/program_yoink/config.h
new file mode 100644
index 000000000..d1fc28ef4
--- /dev/null
+++ b/keyboards/program_yoink/config.h
@@ -0,0 +1,102 @@
1/*
2Copyright 2020 melonbred
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 0xFEED
24#define PRODUCT_ID 0xF10B
25#define DEVICE_VER 0x0001
26#define MANUFACTURER melonbred
27#define PRODUCT program_yoink
28
29/* key matrix size */
30#define MATRIX_ROWS 4
31#define MATRIX_COLS 13
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 *
42 */
43#define MATRIX_ROW_PINS { D2, D3, B1, B0 }
44#define MATRIX_COL_PINS { C4, C5, C6, C7, B7, B6, B5, B4, B3, B2, D6, C2, D5 }
45#define UNUSED_PINS
46
47/* COL2ROW, ROW2COL*/
48#define DIODE_DIRECTION COL2ROW
49
50/*Encoder Definition*/
51#define ENCODERS_PAD_A { D1 }
52#define ENCODERS_PAD_B { D0 }
53
54/*RGB*/
55#define RGB_DI_PIN D4
56 #ifdef RGB_DI_PIN
57 #define RGBLED_NUM 5
58 #define RGBLIGHT_HUE_STEP 8
59 #define RGBLIGHT_SAT_STEP 8
60 #define RGBLIGHT_VAL_STEP 8
61 #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
62 #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
63 /*== all animations enable ==*/
64 //#define RGBLIGHT_ANIMATIONS
65 /*== or choose animations ==*/
66 //#define RGBLIGHT_EFFECT_BREATHING
67 #define RGBLIGHT_EFFECT_RAINBOW_MOOD
68 #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
69 //#define RGBLIGHT_EFFECT_SNAKE
70 #define RGBLIGHT_EFFECT_KNIGHT
71 //#define RGBLIGHT_EFFECT_CHRISTMAS
72 #define RGBLIGHT_EFFECT_STATIC_GRADIENT
73 //#define RGBLIGHT_EFFECT_RGB_TEST
74 //#define RGBLIGHT_EFFECT_ALTERNATING
75 /*== customize breathing effect ==*/
76 /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
77 //#define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
78 /*==== use exp() and sin() ====*/
79 //#define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
80 //#define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
81 #endif
82
83/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
84#define DEBOUNCE 5
85
86/* define if matrix has ghost (lacks anti-ghosting diodes) */
87//#define MATRIX_HAS_GHOST
88
89/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
90#define LOCKING_SUPPORT_ENABLE
91/* Locking resynchronize hack */
92#define LOCKING_RESYNC_ENABLE
93
94
95/* disable action features */
96//#define NO_ACTION_LAYER
97//#define NO_ACTION_TAPPING
98//#define NO_ACTION_ONESHOT
99
100/* disable these deprecated features by default */
101#define NO_ACTION_MACRO
102#define NO_ACTION_FUNCTION
diff --git a/keyboards/program_yoink/info.json b/keyboards/program_yoink/info.json
new file mode 100644
index 000000000..ddce59b65
--- /dev/null
+++ b/keyboards/program_yoink/info.json
@@ -0,0 +1,107 @@
1{
2 "keyboard_name": "program_yoink",
3 "url": "",
4 "maintainer": "melonbred",
5 "width": 13.75,
6 "height": 4.25,
7 "layouts": {
8 "LAYOUT_default": {
9 "layout": [
10 {"x":0, "y":0},
11 {"x":1, "y":0},
12 {"x":2, "y":0},
13 {"x":3, "y":0},
14 {"x":4, "y":0},
15 {"x":5, "y":0},
16 {"x":6, "y":0},
17 {"x":7, "y":0},
18 {"x":8, "y":0},
19 {"x":9, "y":0},
20 {"x":10, "y":0},
21 {"x":11, "y":0},
22 {"x":12.75, "y":0},
23 {"x":0, "y":1, "w":1.25},
24 {"x":1.25, "y":1},
25 {"x":2.25, "y":1},
26 {"x":3.25, "y":1},
27 {"x":4.25, "y":1},
28 {"x":5.25, "y":1},
29 {"x":6.25, "y":1},
30 {"x":7.25, "y":1},
31 {"x":8.25, "y":1},
32 {"x":9.25, "y":1},
33 {"x":10.25, "y":1, "w":1.75},
34 {"x":12.75, "y":1},
35 {"x":0, "y":2, "w":1.75},
36 {"x":1.75, "y":2},
37 {"x":2.75, "y":2},
38 {"x":3.75, "y":2},
39 {"x":4.75, "y":2},
40 {"x":5.75, "y":2},
41 {"x":6.75, "y":2},
42 {"x":7.75, "y":2},
43 {"x":8.75, "y":2},
44 {"x":9.75, "y":2, "w":1.25},
45 {"x":12.75, "y":2},
46 {"x":11.25, "y":2.25},
47 {"x":0, "y":3, "w":1.25},
48 {"x":1.25, "y":3, "w":1.25},
49 {"x":2.5, "y":3, "w":6.25},
50 {"x":8.75, "y":3, "w":1.25},
51 {"x":10.25, "y":3.25},
52 {"x":11.25, "y":3.25},
53 {"x":12.25, "y":3.25}]
54 },
55 "LAYOUT_split_bar": {
56 "layout": [
57 {"x":0, "y":0},
58 {"x":1, "y":0},
59 {"x":2, "y":0},
60 {"x":3, "y":0},
61 {"x":4, "y":0},
62 {"x":5, "y":0},
63 {"x":6, "y":0},
64 {"x":7, "y":0},
65 {"x":8, "y":0},
66 {"x":9, "y":0},
67 {"x":10, "y":0},
68 {"x":11, "y":0},
69 {"x":12.75, "y":0},
70 {"x":0, "y":1, "w":1.25},
71 {"x":1.25, "y":1},
72 {"x":2.25, "y":1},
73 {"x":3.25, "y":1},
74 {"x":4.25, "y":1},
75 {"x":5.25, "y":1},
76 {"x":6.25, "y":1},
77 {"x":7.25, "y":1},
78 {"x":8.25, "y":1},
79 {"x":9.25, "y":1},
80 {"x":10.25, "y":1, "w":1.75},
81 {"x":12.75, "y":1},
82 {"x":0, "y":2, "w":1.75},
83 {"x":1.75, "y":2},
84 {"x":2.75, "y":2},
85 {"x":3.75, "y":2},
86 {"x":4.75, "y":2},
87 {"x":5.75, "y":2},
88 {"x":6.75, "y":2},
89 {"x":7.75, "y":2},
90 {"x":8.75, "y":2},
91 {"x":9.75, "y":2, "w":1.25},
92 {"x":12.75, "y":2},
93 {"x":11.25, "y":2.25},
94 {"x":0, "y":3},
95 {"x":1, "y":3},
96 {"x":2, "y":3},
97 {"x":3, "y":3, "w":2.75},
98 {"x":5.75, "y":3, "w":2.25},
99 {"x":8, "y":3},
100 {"x":9, "y":3},
101 {"x":10.25, "y":3.25},
102 {"x":11.25, "y":3.25},
103 {"x":12.25, "y":3.25}]
104 }
105 }
106}
107
diff --git a/keyboards/program_yoink/keymaps/default/config.h b/keyboards/program_yoink/keymaps/default/config.h
new file mode 100644
index 000000000..c4b4470e9
--- /dev/null
+++ b/keyboards/program_yoink/keymaps/default/config.h
@@ -0,0 +1,25 @@
1/* Copyright 2020 melonbred
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// place overrides here
20#define TAPPING_TERM 200
21
22#ifdef COMBO_ENABLE
23# define COMBO_COUNT 10
24# define COMBO_TERM 200
25#endif \ No newline at end of file
diff --git a/keyboards/program_yoink/keymaps/default/keymap.c b/keyboards/program_yoink/keymaps/default/keymap.c
new file mode 100644
index 000000000..1baeeb757
--- /dev/null
+++ b/keyboards/program_yoink/keymaps/default/keymap.c
@@ -0,0 +1,75 @@
1/* Copyright 2020 melonbred
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#include QMK_KEYBOARD_H
17
18
19// Defines names for use in layer keycodes and the keymap
20enum layer_names {
21 _BASE,
22 _LAYER1,
23 _LAYER2
24};
25
26// Defines Combos for use in the keymap
27enum combo_events {
28 COMBO_SLSH,
29};
30
31
32const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
33 [_BASE] = LAYOUT_default(
34 KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_MUTE,
35 KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, RGB_VAI,
36 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, MT(MOD_RSFT, KC_DOT), KC_UP, RGB_VAD,
37 KC_LCTL, MT(MOD_LALT, KC_CAPS), LT(_LAYER2, KC_SPC), LT(_LAYER1, KC_DEL), KC_LEFT, KC_DOWN, KC_RGHT
38 ),
39
40 [_LAYER1] = LAYOUT_default(
41 KC_MINS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, _______,
42 KC_EQL, _______, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, KC_SCLN, KC_QUOT, _______,
43 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
44 KC_LGUI, KC_LALT, _______, _______, _______, _______, _______
45 ),
46
47 [_LAYER2] = LAYOUT_default(
48 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______,
49 _______, _______, _______, _______, _______, _______, RGB_M_B, RGB_M_P, RGB_M_K, RGB_M_G, RGB_M_R, RGB_HUI,
50 _______, _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, RGB_HUD,
51 _______, RGB_TOG, XXXXXXX, RESET, _______, _______, _______
52 ),
53};
54
55
56void encoder_update_user(uint8_t index, bool clockwise) {
57 if (index == 0) {
58 if (clockwise) {
59 tap_code(KC_VOLU);
60 } else {
61 tap_code(KC_VOLD);
62 }
63 }
64}
65
66#ifdef COMBO_ENABLE
67const uint16_t PROGMEM combo_slsh[] = {MT(MOD_RSFT, KC_DOT), KC_COMM, COMBO_END};
68
69
70combo_t key_combos[COMBO_COUNT] = {
71 [COMBO_SLSH] = COMBO(combo_slsh,KC_SLSH),
72
73};
74#endif
75
diff --git a/keyboards/program_yoink/keymaps/default/readme.md b/keyboards/program_yoink/keymaps/default/readme.md
new file mode 100644
index 000000000..4e0a314f4
--- /dev/null
+++ b/keyboards/program_yoink/keymaps/default/readme.md
@@ -0,0 +1 @@
# The default keymap for program_yoink
diff --git a/keyboards/program_yoink/keymaps/default/rules.mk b/keyboards/program_yoink/keymaps/default/rules.mk
new file mode 100644
index 000000000..ab1e43818
--- /dev/null
+++ b/keyboards/program_yoink/keymaps/default/rules.mk
@@ -0,0 +1 @@
COMBO_ENABLE = yes
diff --git a/keyboards/program_yoink/keymaps/split_bar/config.h b/keyboards/program_yoink/keymaps/split_bar/config.h
new file mode 100644
index 000000000..842b3b801
--- /dev/null
+++ b/keyboards/program_yoink/keymaps/split_bar/config.h
@@ -0,0 +1,25 @@
1/* Copyright 2020 melonbred
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// place overrides here
20#define TAPPING_TERM 200
21
22#ifdef COMBO_ENABLE
23# define COMBO_COUNT 10
24# define COMBO_TERM 200
25#endif
diff --git a/keyboards/program_yoink/keymaps/split_bar/keymap.c b/keyboards/program_yoink/keymaps/split_bar/keymap.c
new file mode 100644
index 000000000..f72c152f7
--- /dev/null
+++ b/keyboards/program_yoink/keymaps/split_bar/keymap.c
@@ -0,0 +1,75 @@
1/* Copyright 2020 melonbred
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#include QMK_KEYBOARD_H
17
18// Defines names for use in layer keycodes and the keymap
19enum layer_names {
20 _BASE,
21 _LAYER1,
22 _LAYER2
23};
24
25// Defines Combos for use in the keymap
26enum combo_events {
27 COMBO_SLSH,
28};
29
30const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
31 [_BASE] = LAYOUT_split_bar(
32 KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_MPLY,
33 CTL_T(KC_TAB), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, KC_PGUP,
34 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, MT(MOD_RSFT, KC_DOT), KC_UP, KC_PGDN,
35 MO(_LAYER2), KC_LGUI, KC_LALT, LT(_LAYER1, KC_SPC), KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
36 ),
37
38 [_LAYER1] = LAYOUT_split_bar(
39 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, _______,
40 KC_CAPS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, _______, _______, KC_SCLN, KC_QUOT, _______, _______,
41 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
42 _______, KC_LGUI, _______, _______, _______, _______, _______, _______, _______, _______
43 ),
44
45 [_LAYER2] = LAYOUT_split_bar(
46 KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______,
47 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_M_K, RGB_M_G, RGB_M_R, RGB_M_SW, RGB_HUI,
48 XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RESET, XXXXXXX, XXXXXXX, XXXXXXX, RGB_VAI, RGB_VAD, RGB_HUD,
49 _______, RGB_TOG, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_DEL, KC_RALT, KC_RCTL
50 ),
51};
52
53
54void encoder_update_user(uint8_t index, bool clockwise) {
55 if (index == 0) {
56 if (clockwise) {
57 tap_code(KC_VOLU);
58 } else {
59 tap_code(KC_VOLD);
60 }
61 }
62}
63
64#ifdef COMBO_ENABLE
65const uint16_t PROGMEM combo_slsh[] = {MT(MOD_RSFT, KC_DOT), KC_COMM, COMBO_END};
66
67
68combo_t key_combos[COMBO_COUNT] = {
69 [COMBO_SLSH] = COMBO(combo_slsh,KC_SLSH),
70
71};
72#endif
73
74
75
diff --git a/keyboards/program_yoink/keymaps/split_bar/readme.md b/keyboards/program_yoink/keymaps/split_bar/readme.md
new file mode 100644
index 000000000..4e0a314f4
--- /dev/null
+++ b/keyboards/program_yoink/keymaps/split_bar/readme.md
@@ -0,0 +1 @@
# The default keymap for program_yoink
diff --git a/keyboards/program_yoink/keymaps/split_bar/rules.mk b/keyboards/program_yoink/keymaps/split_bar/rules.mk
new file mode 100644
index 000000000..ab1e43818
--- /dev/null
+++ b/keyboards/program_yoink/keymaps/split_bar/rules.mk
@@ -0,0 +1 @@
COMBO_ENABLE = yes
diff --git a/keyboards/program_yoink/program_yoink.c b/keyboards/program_yoink/program_yoink.c
new file mode 100644
index 000000000..e549c98e9
--- /dev/null
+++ b/keyboards/program_yoink/program_yoink.c
@@ -0,0 +1,17 @@
1/* Copyright 2020 melonbred
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 "program_yoink.h"
diff --git a/keyboards/program_yoink/program_yoink.h b/keyboards/program_yoink/program_yoink.h
new file mode 100644
index 000000000..2b64fb306
--- /dev/null
+++ b/keyboards/program_yoink/program_yoink.h
@@ -0,0 +1,57 @@
1/* Copyright 2020 melonbred
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/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define XXX KC_NO
30
31#define LAYOUT_default( \
32 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, \
33 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1C, \
34 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2C, \
35 K30, K31, K34, K38, K39, K3A, K3C \
36) \
37{ \
38 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C }, \
39 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, XXX, K1C }, \
40 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, XXX, K2C }, \
41 { K30, K31, XXX, XXX, K34, XXX, XXX, XXX, K38, K39, K3A, XXX, K3C } \
42}
43
44#define LAYOUT_split_bar( \
45 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, \
46 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1C, \
47 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2C, \
48 K30, K31, K32, K33, K35, K37, K38, K39, K3A, K3C \
49) \
50{ \
51 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C }, \
52 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, XXX, K1C }, \
53 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, XXX, K2C }, \
54 { K30, K31, K32, K33, XXX, K35, XXX, K37, K38, K39, K3A, XXX, K3C } \
55}
56
57
diff --git a/keyboards/program_yoink/readme.md b/keyboards/program_yoink/readme.md
new file mode 100644
index 000000000..6fa3bf4f7
--- /dev/null
+++ b/keyboards/program_yoink/readme.md
@@ -0,0 +1,15 @@
1# program_yoink
2
3![program_yoink](https://i.imgur.com/2bBLKJrl.jpeg)
4
5Program Yoink is a 12u main cluster board accompanied by a macro column with optional encoder support and arrow keys.
6
7* Keyboard Maintainer: [melonbred](https://github.com/yourusername)
8* Hardware Supported: The PCBs, controllers supported
9* Hardware Availability: Links to where you can find this hardware
10
11Make example for this keyboard (after setting up your build environment):
12
13 make program_yoink: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/program_yoink/rules.mk b/keyboards/program_yoink/rules.mk
new file mode 100644
index 000000000..4384a0f01
--- /dev/null
+++ b/keyboards/program_yoink/rules.mk
@@ -0,0 +1,23 @@
1# MCU name
2MCU = atmega32u2
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 = no # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
23ENCODER_ENABLE = yes # Enable rotary encoder