aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/spaceman/pancake/rev1/config.h (renamed from keyboards/spaceman/pancake/config.h)0
-rw-r--r--keyboards/spaceman/pancake/rev1/feather/config.h (renamed from keyboards/spaceman/pancake/feather/config.h)0
-rw-r--r--keyboards/spaceman/pancake/rev1/feather/rules.mk (renamed from keyboards/spaceman/pancake/feather/rules.mk)0
-rw-r--r--keyboards/spaceman/pancake/rev1/info.json (renamed from keyboards/spaceman/pancake/info.json)0
-rw-r--r--keyboards/spaceman/pancake/rev1/keymaps/default/keymap.c (renamed from keyboards/spaceman/pancake/keymaps/default/keymap.c)0
-rw-r--r--keyboards/spaceman/pancake/rev1/keymaps/default/readme.md (renamed from keyboards/spaceman/pancake/keymaps/default/readme.md)0
-rw-r--r--keyboards/spaceman/pancake/rev1/keymaps/via/keymap.c (renamed from keyboards/spaceman/pancake/keymaps/via/keymap.c)0
-rw-r--r--keyboards/spaceman/pancake/rev1/keymaps/via/rules.mk (renamed from keyboards/spaceman/pancake/keymaps/via/rules.mk)0
-rw-r--r--keyboards/spaceman/pancake/rev1/promicro/config.h (renamed from keyboards/spaceman/pancake/promicro/config.h)0
-rw-r--r--keyboards/spaceman/pancake/rev1/promicro/rules.mk (renamed from keyboards/spaceman/pancake/promicro/rules.mk)0
-rw-r--r--keyboards/spaceman/pancake/rev1/readme.md (renamed from keyboards/spaceman/pancake/readme.md)7
-rw-r--r--keyboards/spaceman/pancake/rev1/rev1.c (renamed from keyboards/spaceman/pancake/pancake.c)2
-rw-r--r--keyboards/spaceman/pancake/rev1/rev1.h (renamed from keyboards/spaceman/pancake/pancake.h)0
-rw-r--r--keyboards/spaceman/pancake/rev2/config.h34
-rw-r--r--keyboards/spaceman/pancake/rev2/info.json62
-rw-r--r--keyboards/spaceman/pancake/rev2/keymaps/default/keymap.c84
-rw-r--r--keyboards/spaceman/pancake/rev2/keymaps/default/readme.md3
-rw-r--r--keyboards/spaceman/pancake/rev2/readme.md12
-rw-r--r--keyboards/spaceman/pancake/rev2/rev2.c54
-rw-r--r--keyboards/spaceman/pancake/rev2/rev2.h31
-rw-r--r--keyboards/spaceman/pancake/rev2/rules.mk25
21 files changed, 310 insertions, 4 deletions
diff --git a/keyboards/spaceman/pancake/config.h b/keyboards/spaceman/pancake/rev1/config.h
index e05a618e4..e05a618e4 100644
--- a/keyboards/spaceman/pancake/config.h
+++ b/keyboards/spaceman/pancake/rev1/config.h
diff --git a/keyboards/spaceman/pancake/feather/config.h b/keyboards/spaceman/pancake/rev1/feather/config.h
index e72b25f3d..e72b25f3d 100644
--- a/keyboards/spaceman/pancake/feather/config.h
+++ b/keyboards/spaceman/pancake/rev1/feather/config.h
diff --git a/keyboards/spaceman/pancake/feather/rules.mk b/keyboards/spaceman/pancake/rev1/feather/rules.mk
index 993388ffb..993388ffb 100644
--- a/keyboards/spaceman/pancake/feather/rules.mk
+++ b/keyboards/spaceman/pancake/rev1/feather/rules.mk
diff --git a/keyboards/spaceman/pancake/info.json b/keyboards/spaceman/pancake/rev1/info.json
index 6f88d5337..6f88d5337 100644
--- a/keyboards/spaceman/pancake/info.json
+++ b/keyboards/spaceman/pancake/rev1/info.json
diff --git a/keyboards/spaceman/pancake/keymaps/default/keymap.c b/keyboards/spaceman/pancake/rev1/keymaps/default/keymap.c
index cebc6fccb..cebc6fccb 100644
--- a/keyboards/spaceman/pancake/keymaps/default/keymap.c
+++ b/keyboards/spaceman/pancake/rev1/keymaps/default/keymap.c
diff --git a/keyboards/spaceman/pancake/keymaps/default/readme.md b/keyboards/spaceman/pancake/rev1/keymaps/default/readme.md
index 7eb8cc6d8..7eb8cc6d8 100644
--- a/keyboards/spaceman/pancake/keymaps/default/readme.md
+++ b/keyboards/spaceman/pancake/rev1/keymaps/default/readme.md
diff --git a/keyboards/spaceman/pancake/keymaps/via/keymap.c b/keyboards/spaceman/pancake/rev1/keymaps/via/keymap.c
index a0cda2ee7..a0cda2ee7 100644
--- a/keyboards/spaceman/pancake/keymaps/via/keymap.c
+++ b/keyboards/spaceman/pancake/rev1/keymaps/via/keymap.c
diff --git a/keyboards/spaceman/pancake/keymaps/via/rules.mk b/keyboards/spaceman/pancake/rev1/keymaps/via/rules.mk
index 36b7ba9cb..36b7ba9cb 100644
--- a/keyboards/spaceman/pancake/keymaps/via/rules.mk
+++ b/keyboards/spaceman/pancake/rev1/keymaps/via/rules.mk
diff --git a/keyboards/spaceman/pancake/promicro/config.h b/keyboards/spaceman/pancake/rev1/promicro/config.h
index ee02bff2b..ee02bff2b 100644
--- a/keyboards/spaceman/pancake/promicro/config.h
+++ b/keyboards/spaceman/pancake/rev1/promicro/config.h
diff --git a/keyboards/spaceman/pancake/promicro/rules.mk b/keyboards/spaceman/pancake/rev1/promicro/rules.mk
index 5669ee955..5669ee955 100644
--- a/keyboards/spaceman/pancake/promicro/rules.mk
+++ b/keyboards/spaceman/pancake/rev1/promicro/rules.mk
diff --git a/keyboards/spaceman/pancake/readme.md b/keyboards/spaceman/pancake/rev1/readme.md
index 34cf6382b..2537db9ec 100644
--- a/keyboards/spaceman/pancake/readme.md
+++ b/keyboards/spaceman/pancake/rev1/readme.md
@@ -2,11 +2,12 @@
2 2
3Ortho 40% Ortho Keyboard with an option for the adafruit feather 3Ortho 40% Ortho Keyboard with an option for the adafruit feather
4 4
5Keyboard Maintainer: [Spaceman](https://github.com/Spaceman) 5* Keyboard Maintainer: [Spaceman](https://github.com/Spaceman)
6Hardware Availability: [GB](https://geekhack.org/index.php?topic=101371.0) 6* Hardware Availability: [MKUltra.Click](https://mkultra.click/group-buy-pancake-keyboard-kit)
7 7
8Make example for this keyboard (after setting up your build environment): 8Make example for this keyboard (after setting up your build environment):
9 9
10 make spaceman/pancake:default 10 make spaceman/pancake/rev1/feather:default
11 make spaceman/pancake/rev1/promicro:default
11 12
12See 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). 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/spaceman/pancake/pancake.c b/keyboards/spaceman/pancake/rev1/rev1.c
index d77dbfbe0..d22665329 100644
--- a/keyboards/spaceman/pancake/pancake.c
+++ b/keyboards/spaceman/pancake/rev1/rev1.c
@@ -13,4 +13,4 @@
13 * You should have received a copy of the GNU General Public License 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/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#include "pancake.h" 16#include "rev1.h"
diff --git a/keyboards/spaceman/pancake/pancake.h b/keyboards/spaceman/pancake/rev1/rev1.h
index 312d789b4..312d789b4 100644
--- a/keyboards/spaceman/pancake/pancake.h
+++ b/keyboards/spaceman/pancake/rev1/rev1.h
diff --git a/keyboards/spaceman/pancake/rev2/config.h b/keyboards/spaceman/pancake/rev2/config.h
new file mode 100644
index 000000000..a4d3b439c
--- /dev/null
+++ b/keyboards/spaceman/pancake/rev2/config.h
@@ -0,0 +1,34 @@
1/* Copyright 2020 Spaceman
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#pragma once
17#include "config_common.h"
18
19/* USB Device descriptor parameter */
20#define VENDOR_ID 0x5342 // SB
21#define PRODUCT_ID 0x5032 // P2
22#define DEVICE_VER 0x0002
23#define MANUFACTURER Spaceman
24#define PRODUCT Pancake 2
25
26/* key matrix size */
27#define MATRIX_ROWS 4
28#define MATRIX_COLS 12
29
30#define DIODE_DIRECTION COL2ROW
31
32#define MATRIX_ROW_PINS { C7, C6, B6, B5 }
33#define MATRIX_COL_PINS { B7, B3, B2, B1 ,B0, E6, F0, F1, F4, F5, F6, F7 }
34#define UNUSED_PINS
diff --git a/keyboards/spaceman/pancake/rev2/info.json b/keyboards/spaceman/pancake/rev2/info.json
new file mode 100644
index 000000000..d8451fec5
--- /dev/null
+++ b/keyboards/spaceman/pancake/rev2/info.json
@@ -0,0 +1,62 @@
1{
2 "keyboard_name": "Pancake 2",
3 "keyboard_folder": "pancake/rev2",
4 "url": "",
5 "maintainer": "Spaceman",
6 "width": 13,
7 "height": 4,
8 "layouts": {
9 "LAYOUT_ortho_4x12": {
10 "layout": [
11 {"x":0, "y":0},
12 {"x":1, "y":0},
13 {"x":2, "y":0},
14 {"x":3, "y":0},
15 {"x":4, "y":0},
16 {"x":5, "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, "y":0},
23 {"x":0, "y":1},
24 {"x":1, "y":1},
25 {"x":2, "y":1},
26 {"x":3, "y":1},
27 {"x":4, "y":1},
28 {"x":5, "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 {"x":12, "y":1},
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":7, "y":2},
42 {"x":8, "y":2},
43 {"x":9, "y":2},
44 {"x":10, "y":2},
45 {"x":11, "y":2},
46 {"x":12, "y":2},
47 {"x":0, "y":3},
48 {"x":1, "y":3},
49 {"x":2, "y":3},
50 {"x":3, "y":3},
51 {"x":4, "y":3},
52 {"x":5, "y":3, "w":1.5},
53 {"x":6.5, "y":3, "w":1.5},
54 {"x":8, "y":3},
55 {"x":9, "y":3},
56 {"x":10, "y":3},
57 {"x":11, "y":3},
58 {"x":12, "y":3}
59 ]
60 }
61 }
62}
diff --git a/keyboards/spaceman/pancake/rev2/keymaps/default/keymap.c b/keyboards/spaceman/pancake/rev2/keymaps/default/keymap.c
new file mode 100644
index 000000000..33a27bc49
--- /dev/null
+++ b/keyboards/spaceman/pancake/rev2/keymaps/default/keymap.c
@@ -0,0 +1,84 @@
1 /* Copyright Spaceman 2021
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
18enum layers {
19 _DEFAULT,
20 _RAISE,
21 _FN
22};
23
24#define RAISE MO(_RAISE)
25#define FN MO(_FN)
26
27const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
28
29/* Default
30 * ,-----------------------------------------------------------------------------------.
31 * | Esc | Q | W | E | R | T | Y | U | I | O | P | Bksp |
32 * |------+------+------+------+------+-------------+------+------+------+------+------|
33 * | Tab | A | S | D | F | G | H | J | K | L | " | ; |
34 * |------+------+------+------+------+------|------+------+------+------+------+------|
35 * | Shift| Z | X | C | V | B | N | M | , | . | Up |Enter |
36 * |------+------+------+------+------+------+------+------+------+------+------+------|
37 * | Ctrl | Alt | GUI | FN | Lower| Space | Del | / | Left | Down |Right |
38 * `-----------------------------------------------------------------------------------'
39 */
40[_DEFAULT] = LAYOUT_ortho_4x12(
41 KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
42 KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_SCLN,
43 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_ENT ,
44 KC_LCTL, KC_LALT, KC_LGUI, FN, RAISE, KC_SPC, KC_SPC, KC_DEL, KC_SLSH, KC_LEFT, KC_DOWN, KC_RGHT
45),
46
47/* Raise
48 * ,-----------------------------------------------------------------------------------.
49 * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp |
50 * |------+------+------+------+------+-------------+------+------+------+------+------|
51 * | | | | | | | | | - | = | | \ |
52 * |------+------+------+------+------+------|------+------+------+------+------+------|
53 * | | | | | | | | | [ | ] | Vol- | |
54 * |------+------+------+------+------+------+------+------+------+------+------+------|
55 * | | | | | | | | | | Vol+ | |
56 * `-----------------------------------------------------------------------------------'
57 */
58[_RAISE] = LAYOUT_ortho_4x12(
59 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
60 _______, _______, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, _______, KC_BSLS,
61 _______, _______, _______, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, KC_VOLU, _______,
62 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, _______
63),
64
65 /* FN
66 * ,-----------------------------------------------------------------------------------.
67 * | Reset| F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | |
68 * |------+------+------+------+------+-------------+------+------+------+------+------|
69 * | | | | | | | | | | F11 | F12 | |
70 * |------+------+------+------+------+------|------+------+------+------+------+------|
71 * | | | | | | | | | | | | |
72 * |------+------+------+------+------+------+------+------+------+------+------+------|
73 * | | | | TRNS | | | | | | | |
74 * `-----------------------------------------------------------------------------------'
75 */
76[_FN] = LAYOUT_ortho_4x12(
77 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______,
78 _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F11, KC_F12, _______,
79 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
80 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
81),
82
83
84};
diff --git a/keyboards/spaceman/pancake/rev2/keymaps/default/readme.md b/keyboards/spaceman/pancake/rev2/keymaps/default/readme.md
new file mode 100644
index 000000000..7eb8cc6d8
--- /dev/null
+++ b/keyboards/spaceman/pancake/rev2/keymaps/default/readme.md
@@ -0,0 +1,3 @@
1# Default keymap for Pancake
2
3designed by: Spaceman
diff --git a/keyboards/spaceman/pancake/rev2/readme.md b/keyboards/spaceman/pancake/rev2/readme.md
new file mode 100644
index 000000000..e8b65c488
--- /dev/null
+++ b/keyboards/spaceman/pancake/rev2/readme.md
@@ -0,0 +1,12 @@
1# Pancake 2
2
3Ortho 40% Ortho Keyboard with an OLED Display
4
5* Keyboard Maintainer: [Spaceman](https://github.com/Spaceman)
6* Hardware Availability: [MKUltra.Click](https://mkultra.click/pancake-2/)
7
8Make example for this keyboard (after setting up your build environment):
9
10 make spaceman/pancake/rev2:default
11
12See 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/spaceman/pancake/rev2/rev2.c b/keyboards/spaceman/pancake/rev2/rev2.c
new file mode 100644
index 000000000..c1786cb01
--- /dev/null
+++ b/keyboards/spaceman/pancake/rev2/rev2.c
@@ -0,0 +1,54 @@
1/* Copyright 2020 Spaceman
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 "rev2.h"
17
18
19#ifdef OLED_DRIVER_ENABLE
20__attribute__((weak)) oled_rotation_t oled_init_user(oled_rotation_t rotation) {
21 return OLED_ROTATION_270;
22}
23__attribute__((weak)) void oled_task_user(void) {
24 static const char PROGMEM pancake_logo[] = {
25 0x00, 0x00, 0x3e, 0x0a, 0x04, 0x00, 0x3c, 0x0a, 0x3c, 0x00, 0x3e, 0x0c, 0x18, 0x3e, 0x00, 0x3e,
26 0x22, 0x22, 0x00, 0x3c, 0x0a, 0x3c, 0x00, 0x3e, 0x08, 0x36, 0x00, 0x3e, 0x2a, 0x22, 0x00, 0x00,
27 0x00, 0x30, 0xc8, 0x84, 0x84, 0x02, 0x02, 0x02, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x19, 0x1d,
28 0x1d, 0x0d, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02, 0x84, 0x84, 0xc8, 0x30, 0x00,
29 0x00, 0x63, 0x94, 0x08, 0x08, 0x11, 0x71, 0x17, 0x13, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x62,
30 0xe2, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x11, 0x11, 0x11, 0x31, 0x08, 0x08, 0x94, 0x63, 0x00,
31 0x00, 0x00, 0x03, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04,
32 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x06, 0x02, 0x02, 0x02, 0x01, 0x01, 0x00, 0x00, 0x00 };
33 oled_write_raw_P(pancake_logo, sizeof(pancake_logo));
34 // Host Keyboard Layer Status
35 oled_set_cursor(0, 4);
36 oled_write_P(PSTR("\nLAYER\n-----\n"), false);
37
38 switch (get_highest_layer(layer_state)) {
39 case 0:
40 oled_write_P(PSTR("DEFLT\n"), false);
41 break;
42 case 2:
43 oled_write_P(PSTR("FUNCT\n"), false);
44 break;
45 case 1:
46 oled_write_P(PSTR("RAISE\n"), false);
47 break;
48 default:
49 // Or use the write_ln shortcut over adding '\n' to the end of your string
50 oled_write_ln_P(PSTR("Undefined"), false);
51 break;
52 }
53}
54#endif
diff --git a/keyboards/spaceman/pancake/rev2/rev2.h b/keyboards/spaceman/pancake/rev2/rev2.h
new file mode 100644
index 000000000..628b1b39a
--- /dev/null
+++ b/keyboards/spaceman/pancake/rev2/rev2.h
@@ -0,0 +1,31 @@
1/* Copyright 2020 Spaceman
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#pragma once
17
18#include "quantum.h"
19
20#define LAYOUT_ortho_4x12( \
21 k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, \
22 k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, \
23 k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, \
24 k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311 \
25) \
26{ \
27 { k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011 }, \
28 { k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111 }, \
29 { k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211 }, \
30 { k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311 } \
31}
diff --git a/keyboards/spaceman/pancake/rev2/rules.mk b/keyboards/spaceman/pancake/rev2/rules.mk
new file mode 100644
index 000000000..5b5ccc369
--- /dev/null
+++ b/keyboards/spaceman/pancake/rev2/rules.mk
@@ -0,0 +1,25 @@
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 = full # 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 = yes # 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
23OLED_DRIVER_ENABLE = yes
24
25LAYOUTS = ortho_4x12