aboutsummaryrefslogtreecommitdiff
path: root/keyboards/panc40
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2020-02-16 12:14:19 -0800
committerGitHub <noreply@github.com>2020-02-16 12:14:19 -0800
commiteabdef3b4d304e668fcd9711c0e661a64cc96ba6 (patch)
tree94161763b14e701f1f3ced32233adee74be3df2e /keyboards/panc40
parente279b0a1a243638f811184284013288921e1a123 (diff)
downloadqmk_firmware-eabdef3b4d304e668fcd9711c0e661a64cc96ba6.tar.gz
qmk_firmware-eabdef3b4d304e668fcd9711c0e661a64cc96ba6.zip
[Keyboard] Add Panc40 by Panc Interactive (#8175)
* Add Panc40 by Panc Interactive * Fix LAYOUT_sebright macro
Diffstat (limited to 'keyboards/panc40')
-rw-r--r--keyboards/panc40/config.h41
-rw-r--r--keyboards/panc40/info.json152
-rw-r--r--keyboards/panc40/keymaps/default/keymap.c20
-rw-r--r--keyboards/panc40/keymaps/default/readme.md33
-rw-r--r--keyboards/panc40/keymaps/default_minorca/keymap.c19
-rw-r--r--keyboards/panc40/keymaps/default_minorca/readme.md15
-rw-r--r--keyboards/panc40/keymaps/default_sebright/keymap.c20
-rw-r--r--keyboards/panc40/keymaps/default_sebright/readme.md15
-rw-r--r--keyboards/panc40/panc40.c1
-rw-r--r--keyboards/panc40/panc40.h39
-rw-r--r--keyboards/panc40/readme.md15
-rw-r--r--keyboards/panc40/rules.mk32
12 files changed, 402 insertions, 0 deletions
diff --git a/keyboards/panc40/config.h b/keyboards/panc40/config.h
new file mode 100644
index 000000000..8a5243a44
--- /dev/null
+++ b/keyboards/panc40/config.h
@@ -0,0 +1,41 @@
1#pragma once
2
3#include "config_common.h"
4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0xFEED
7#define PRODUCT_ID 0x6060
8#define DEVICE_VER 0x0001
9#define MANUFACTURER Panc Interactive
10#define PRODUCT Panc40
11#define DESCRIPTION QMK Firmware for Panc40
12
13/* key matrix size */
14#define MATRIX_ROWS 4
15#define MATRIX_COLS 12
16
17/* key matrix pins */
18#define MATRIX_ROW_PINS { F0, F1, F4, F5 }
19#define MATRIX_COL_PINS { F6, F7, C7, C6, B6, B5, B4, D7, D6, D4, D0, D1 }
20#define UNUSED_PINS
21
22/* COL2ROW or ROW2COL */
23#define DIODE_DIRECTION COL2ROW
24
25/* Set 0 if debouncing isn't needed */
26#define DEBOUNCE 5
27
28/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
29#define LOCKING_SUPPORT_ENABLE
30
31/* Locking resynchronize hack */
32#define LOCKING_RESYNC_ENABLE
33
34#define RGB_DI_PIN D2
35#ifdef RGB_DI_PIN
36#define RGBLIGHT_ANIMATIONS
37#define RGBLED_NUM 8
38#define RGBLIGHT_HUE_STEP 8
39#define RGBLIGHT_SAT_STEP 8
40#define RGBLIGHT_VAL_STEP 8
41#endif
diff --git a/keyboards/panc40/info.json b/keyboards/panc40/info.json
new file mode 100644
index 000000000..dc6b9e152
--- /dev/null
+++ b/keyboards/panc40/info.json
@@ -0,0 +1,152 @@
1{
2 "keyboard_name": "Panc40",
3 "url": "",
4 "maintainer": "qmk",
5 "width": 12,
6 "height": 4,
7 "layouts": {
8 "LAYOUT_all": {
9 "key_count": 45,
10 "layout": [
11 {"label":"K00", "x":0, "y":0},
12 {"label":"K01", "x":1, "y":0},
13 {"label":"K02", "x":2, "y":0},
14 {"label":"K03", "x":3, "y":0},
15 {"label":"K04", "x":4, "y":0},
16 {"label":"K05", "x":5, "y":0},
17 {"label":"K06", "x":6, "y":0},
18 {"label":"K07", "x":7, "y":0},
19 {"label":"K08", "x":8, "y":0},
20 {"label":"K09", "x":9, "y":0},
21 {"label":"K0A", "x":10, "y":0},
22 {"label":"K0B", "x":11, "y":0},
23 {"label":"K10", "x":0, "y":1, "w":1.25},
24 {"label":"K11", "x":1.25, "y":1},
25 {"label":"K12", "x":2.25, "y":1},
26 {"label":"K13", "x":3.25, "y":1},
27 {"label":"K14", "x":4.25, "y":1},
28 {"label":"K15", "x":5.25, "y":1},
29 {"label":"K16", "x":6.25, "y":1},
30 {"label":"K17", "x":7.25, "y":1},
31 {"label":"K18", "x":8.25, "y":1},
32 {"label":"K19", "x":9.25, "y":1},
33 {"label":"K1A", "x":10.25, "y":1, "w":1.75},
34 {"label":"K20", "x":0, "y":2, "w":1.75},
35 {"label":"K21", "x":1.75, "y":2},
36 {"label":"K22", "x":2.75, "y":2},
37 {"label":"K23", "x":3.75, "y":2},
38 {"label":"K24", "x":4.75, "y":2},
39 {"label":"K25", "x":5.75, "y":2},
40 {"label":"K26", "x":6.75, "y":2},
41 {"label":"K27", "x":7.75, "y":2},
42 {"label":"K28", "x":8.75, "y":2},
43 {"label":"K29", "x":9.75, "y":2},
44 {"label":"K2B", "x":10.75, "y":2, "w":1.25},
45 {"label":"K30", "x":0, "y":3, "w":1.25},
46 {"label":"K31", "x":1.25, "y":3, "w":1.25},
47 {"label":"K32", "x":2.5, "y":3, "w":1.25},
48 {"label":"K33", "x":3.75, "y":3},
49 {"label":"K34", "x":4.75, "y":3},
50 {"label":"K35", "x":5.75, "y":3},
51 {"label":"K36", "x":6.75, "y":3},
52 {"label":"K37", "x":7.75, "y":3},
53 {"label":"K38", "x":8.75, "y":3},
54 {"label":"K39", "x":9.75, "y":3},
55 {"label":"K3B", "x":10.75, "y":3, "w":1.25}
56 ]
57 },
58 "LAYOUT_minorca": {
59 "key_count": 42,
60 "layout": [
61 {"label":"K00", "x":0, "y":0},
62 {"label":"K01", "x":1, "y":0},
63 {"label":"K02", "x":2, "y":0},
64 {"label":"K03", "x":3, "y":0},
65 {"label":"K04", "x":4, "y":0},
66 {"label":"K05", "x":5, "y":0},
67 {"label":"K06", "x":6, "y":0},
68 {"label":"K07", "x":7, "y":0},
69 {"label":"K08", "x":8, "y":0},
70 {"label":"K09", "x":9, "y":0},
71 {"label":"K0A", "x":10, "y":0},
72 {"label":"K0B", "x":11, "y":0},
73 {"label":"K10", "x":0, "y":1, "w":1.25},
74 {"label":"K11", "x":1.25, "y":1},
75 {"label":"K12", "x":2.25, "y":1},
76 {"label":"K13", "x":3.25, "y":1},
77 {"label":"K14", "x":4.25, "y":1},
78 {"label":"K15", "x":5.25, "y":1},
79 {"label":"K16", "x":6.25, "y":1},
80 {"label":"K17", "x":7.25, "y":1},
81 {"label":"K18", "x":8.25, "y":1},
82 {"label":"K19", "x":9.25, "y":1},
83 {"label":"K1A", "x":10.25, "y":1, "w":1.75},
84 {"label":"K20", "x":0, "y":2, "w":1.75},
85 {"label":"K21", "x":1.75, "y":2},
86 {"label":"K22", "x":2.75, "y":2},
87 {"label":"K23", "x":3.75, "y":2},
88 {"label":"K24", "x":4.75, "y":2},
89 {"label":"K25", "x":5.75, "y":2},
90 {"label":"K26", "x":6.75, "y":2},
91 {"label":"K27", "x":7.75, "y":2},
92 {"label":"K28", "x":8.75, "y":2},
93 {"label":"K29", "x":9.75, "y":2},
94 {"label":"K2B", "x":10.75, "y":2, "w":1.25},
95 {"label":"K30", "x":0, "y":3, "w":1.25},
96 {"label":"K31", "x":1.25, "y":3, "w":1.25},
97 {"label":"K32", "x":2.5, "y":3, "w":1.25},
98 {"label":"K34", "x":3.75, "y":3, "w":2.25},
99 {"label":"K36", "x":6, "y":3, "w":2.25},
100 {"label":"K38", "x":8.25, "y":3, "w":1.25},
101 {"label":"K39", "x":9.5, "y":3},
102 {"label":"K3B", "x":10.5, "y":3, "w":1.5}
103 ]
104 },
105 "LAYOUT_sebright": {
106 "key_count": 41,
107 "layout": [
108 {"label":"K00", "x":0, "y":0},
109 {"label":"K01", "x":1, "y":0},
110 {"label":"K02", "x":2, "y":0},
111 {"label":"K03", "x":3, "y":0},
112 {"label":"K04", "x":4, "y":0},
113 {"label":"K05", "x":5, "y":0},
114 {"label":"K06", "x":6, "y":0},
115 {"label":"K07", "x":7, "y":0},
116 {"label":"K08", "x":8, "y":0},
117 {"label":"K09", "x":9, "y":0},
118 {"label":"K0A", "x":10, "y":0},
119 {"label":"K0B", "x":11, "y":0},
120 {"label":"K10", "x":0, "y":1, "w":1.25},
121 {"label":"K11", "x":1.25, "y":1},
122 {"label":"K12", "x":2.25, "y":1},
123 {"label":"K13", "x":3.25, "y":1},
124 {"label":"K14", "x":4.25, "y":1},
125 {"label":"K15", "x":5.25, "y":1},
126 {"label":"K16", "x":6.25, "y":1},
127 {"label":"K17", "x":7.25, "y":1},
128 {"label":"K18", "x":8.25, "y":1},
129 {"label":"K19", "x":9.25, "y":1},
130 {"label":"K1A", "x":10.25, "y":1, "w":1.75},
131 {"label":"K20", "x":0, "y":2, "w":1.75},
132 {"label":"K21", "x":1.75, "y":2},
133 {"label":"K22", "x":2.75, "y":2},
134 {"label":"K23", "x":3.75, "y":2},
135 {"label":"K24", "x":4.75, "y":2},
136 {"label":"K25", "x":5.75, "y":2},
137 {"label":"K26", "x":6.75, "y":2},
138 {"label":"K27", "x":7.75, "y":2},
139 {"label":"K28", "x":8.75, "y":2},
140 {"label":"K29", "x":9.75, "y":2},
141 {"label":"K2B", "x":10.75, "y":2, "w":1.25},
142 {"label":"K31", "x":1.25, "y":3, "w":1.25},
143 {"label":"K32", "x":2.5, "y":3, "w":1.25},
144 {"label":"K33", "x":3.75, "y":3, "w":1.25},
145 {"label":"K35", "x":5, "y":3, "w":2.75},
146 {"label":"K37", "x":7.75, "y":3},
147 {"label":"K38", "x":8.75, "y":3},
148 {"label":"K39", "x":9.75, "y":3}
149 ]
150 }
151 }
152}
diff --git a/keyboards/panc40/keymaps/default/keymap.c b/keyboards/panc40/keymaps/default/keymap.c
new file mode 100644
index 000000000..95bfa32c7
--- /dev/null
+++ b/keyboards/panc40/keymaps/default/keymap.c
@@ -0,0 +1,20 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4
5 [0] = LAYOUT_all(
6 KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
7 KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_BSLS,
8 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, MO(1),
9 KC_LCTL, KC_LGUI, KC_LALT, KC_ENT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, RGB_TOG
10 ),
11
12 [1] = LAYOUT_all(
13 RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
14 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
15 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
16 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
17 ),
18
19
20};
diff --git a/keyboards/panc40/keymaps/default/readme.md b/keyboards/panc40/keymaps/default/readme.md
new file mode 100644
index 000000000..619243389
--- /dev/null
+++ b/keyboards/panc40/keymaps/default/readme.md
@@ -0,0 +1,33 @@
1# The default keymap for Panc40
2
3Supports both Minorca and Sebright layouts with one firmware.
4
5## Minorca layout
6
7```
8┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
9│Esc| Q | W | E | R | T | Y | U | I | O | P |BS │
10├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤
11│Tab │ A | S | D | F | G | H | J | K | L | \ | │
12├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬────┤
13│Shift │ Z | X | C | V | B | N | M |, <│. >│Fn │
14├────┬─┴──┬┴───┼───┴───┴┬──┴───┴─┬─┴──┬┴──┬┴────┤
15│Ctrl│GUI │Alt │ Space | Space │GUI │Ctl│RGBTg|
16└────┴────┴────┴────────┴────────┴────┴───┴─────┘
17```
18
19## Sebright layout
20
21```
22┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
23│Esc| Q | W | E | R | T | Y | U | I | O | P |BS │
24├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤
25│Tab │ A | S | D | F | G | H | J | K | L | \ | │
26├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬────┤
27│Shift │ Z | X | C | V | B | N | M |, <│. >│Fn │
28└────┬─┴──┬┴───┼───┴┬──┴───┴───┼───┼───┼───┼────┘
29 │GUI │Alt │Ent │ Space │Alt│GUI│Ctl│
30 └────┴────┴────┴──────────┴───┴───┴───┘
31```
32
33Both layouts use `Fn+Esc` to Reset.
diff --git a/keyboards/panc40/keymaps/default_minorca/keymap.c b/keyboards/panc40/keymaps/default_minorca/keymap.c
new file mode 100644
index 000000000..76889bb7d
--- /dev/null
+++ b/keyboards/panc40/keymaps/default_minorca/keymap.c
@@ -0,0 +1,19 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4
5 [0] = LAYOUT_minorca(
6 KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
7 KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_BSLS,
8 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, MO(1),
9 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_RGUI, KC_RCTL, RGB_TOG
10 ),
11
12 [1] = LAYOUT_minorca(
13 RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
14 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
15 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
16 _______, _______, _______, _______, _______, _______, _______, _______
17 ),
18
19};
diff --git a/keyboards/panc40/keymaps/default_minorca/readme.md b/keyboards/panc40/keymaps/default_minorca/readme.md
new file mode 100644
index 000000000..224d011c8
--- /dev/null
+++ b/keyboards/panc40/keymaps/default_minorca/readme.md
@@ -0,0 +1,15 @@
1# default_minorca
2
3```
4┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
5│Esc| Q | W | E | R | T | Y | U | I | O | P |BS │
6├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤
7│Tab │ A | S | D | F | G | H | J | K | L | \ | │
8├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬────┤
9│Shift │ Z | X | C | V | B | N | M |, <│. >│Fn │
10├────┬─┴──┬┴───┼───┴───┴┬──┴───┴─┬─┴──┬┴──┬┴────┤
11│Ctrl│GUI │Alt │ Space | Space │GUI │Ctl│RGBTg|
12└────┴────┴────┴────────┴────────┴────┴───┴─────┘
13```
14
15`Fn+Esc` = `RESET`
diff --git a/keyboards/panc40/keymaps/default_sebright/keymap.c b/keyboards/panc40/keymaps/default_sebright/keymap.c
new file mode 100644
index 000000000..f6ab057a9
--- /dev/null
+++ b/keyboards/panc40/keymaps/default_sebright/keymap.c
@@ -0,0 +1,20 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4
5 [0] = LAYOUT_sebright(
6 KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
7 KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_BSLS,
8 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, MO(1),
9 KC_LGUI, KC_LALT, KC_ENT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL
10 ),
11
12 [1] = LAYOUT_sebright(
13 RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
14 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
15 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
16 _______, _______, _______, _______, _______, _______, _______
17 ),
18
19
20};
diff --git a/keyboards/panc40/keymaps/default_sebright/readme.md b/keyboards/panc40/keymaps/default_sebright/readme.md
new file mode 100644
index 000000000..8d3de22e1
--- /dev/null
+++ b/keyboards/panc40/keymaps/default_sebright/readme.md
@@ -0,0 +1,15 @@
1# default_sebright
2
3```
4┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
5│Esc| Q | W | E | R | T | Y | U | I | O | P |BS │
6├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤
7│Tab │ A | S | D | F | G | H | J | K | L | \ | │
8├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬────┤
9│Shift │ Z | X | C | V | B | N | M |, <│. >│Fn │
10└────┬─┴──┬┴───┼───┴┬──┴───┴───┼───┼───┼───┼────┘
11 │GUI │Alt │Ent │ Space │Alt│GUI│Ctl│
12 └────┴────┴────┴──────────┴───┴───┴───┘
13```
14
15`Fn+Esc` = `RESET`
diff --git a/keyboards/panc40/panc40.c b/keyboards/panc40/panc40.c
new file mode 100644
index 000000000..8f6bd92df
--- /dev/null
+++ b/keyboards/panc40/panc40.c
@@ -0,0 +1 @@
#include "panc40.h"
diff --git a/keyboards/panc40/panc40.h b/keyboards/panc40/panc40.h
new file mode 100644
index 000000000..f1e317d49
--- /dev/null
+++ b/keyboards/panc40/panc40.h
@@ -0,0 +1,39 @@
1#pragma once
2
3#include "quantum.h"
4
5#define LAYOUT_all( \
6 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
7 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
8 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2B, \
9 K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3B \
10) { \
11 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
12 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, KC_NO }, \
13 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, KC_NO, K2B }, \
14 { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, KC_NO, K3B } \
15}
16
17#define LAYOUT_minorca( \
18 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
19 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
20 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2B, \
21 K30, K31, K32, K34, K36, K38, K39, K3B \
22) { \
23 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
24 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, KC_NO }, \
25 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, KC_NO, K2B }, \
26 { K30, K31, K32, KC_NO, K34, KC_NO, K36, KC_NO, K38, K39, KC_NO, K3B } \
27}
28
29#define LAYOUT_sebright( \
30 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
31 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
32 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2B, \
33 K31, K32, K33, K35, K37, K38, K39 \
34) { \
35 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
36 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, KC_NO }, \
37 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, KC_NO, K2B }, \
38 { KC_NO, K31, K32, K33, KC_NO, K35, KC_NO, K37, K38, K39, KC_NO, KC_NO } \
39}
diff --git a/keyboards/panc40/readme.md b/keyboards/panc40/readme.md
new file mode 100644
index 000000000..2549906e1
--- /dev/null
+++ b/keyboards/panc40/readme.md
@@ -0,0 +1,15 @@
1# Panc40
2
3![Panc40](https://www.panc.co/uploads/4/0/3/7/4037410/dsc-1460-orig_orig.jpg)
4
5A 40% keyboard by [Panc Interactive](https://panc.co/) featuring hotswap sockets, RGB underglow and USB-C. Supports the Minorca and Sebright layouts.
6
7* Keyboard Maintainer: [The QMK Community](https://github.com/qmk)
8* Hardware Supported: Panc40 PCB, ATmega32U4
9* Hardware Availability: [Reddit Group Buy](https://www.reddit.com/r/mechmarket/comments/cdi2y2/gb_panc40_40_keyboard_group_buy_update/)
10
11Make example for this keyboard (after setting up your build environment):
12
13 make panc40: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/panc40/rules.mk b/keyboards/panc40/rules.mk
new file mode 100644
index 000000000..e8087f50f
--- /dev/null
+++ b/keyboards/panc40/rules.mk
@@ -0,0 +1,32 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = atmel-dfu
13
14# Build Options
15# change yes to no to disable
16#
17BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
18MOUSEKEY_ENABLE = yes # Mouse keys
19EXTRAKEY_ENABLE = yes # Audio control and System control
20CONSOLE_ENABLE = no # Console for debug
21COMMAND_ENABLE = no # Commands for debug and configuration
22# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
23SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
24# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
25NKRO_ENABLE = yes # USB Nkey Rollover
26BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
27RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
28MIDI_ENABLE = no # MIDI support
29BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
30AUDIO_ENABLE = no # Audio output on port C6
31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
32HD44780_ENABLE = no # Enable support for HD44780 based LCDs