summaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2025-09-09 16:28:48 +0000
committerQMK Bot <hello@qmk.fm>2025-09-09 16:28:48 +0000
commitc3ba5de9282ed09f130e558c571d5cfbcbaa74c2 (patch)
treefac2624dade446ea37e4e603c47344327af66011 /keyboards/handwired
parent592ee1b57fa58c9ad8e4a6052a79d31dde83efd3 (diff)
parentec515f21647d15f7a99702e57700fca12f51620b (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/planck/keyboard.json77
-rw-r--r--keyboards/handwired/planck/keymaps/default/keymap.c43
-rw-r--r--keyboards/handwired/planck/readme.md27
3 files changed, 147 insertions, 0 deletions
diff --git a/keyboards/handwired/planck/keyboard.json b/keyboards/handwired/planck/keyboard.json
new file mode 100644
index 0000000000..dde4ecb9e6
--- /dev/null
+++ b/keyboards/handwired/planck/keyboard.json
@@ -0,0 +1,77 @@
1{
2 "manufacturer": "OLKB",
3 "keyboard_name": "Planck",
4 "maintainer": "Wholteza <zackarias@montell.se>",
5 "bootloader": "halfkay",
6 "diode_direction": "COL2ROW",
7 "features": {
8 "bootmagic": true,
9 "extrakey": true,
10 "mousekey": true,
11 "nkro": true
12 },
13 "matrix_pins": {
14 "cols": ["C7", "D6", "D7", "B4", "B5", "B6", "F7", "F6", "F5", "F4", "F1", "F0"],
15 "rows": ["E6", "B3", "B7", "D0"]
16 },
17 "processor": "atmega32u4",
18 "url": "https://blog.roastpotatoes.co/guide/2015/11/04/how-to-handwire-a-planck/",
19 "usb": {
20 "device_version": "1.0.0",
21 "pid": "0x0053",
22 "vid": "0xFEED"
23 },
24 "layouts": {
25 "LAYOUT": {
26 "layout": [
27 {"matrix": [0, 0], "x": 0, "y": 0},
28 {"matrix": [0, 1], "x": 1, "y": 0},
29 {"matrix": [0, 2], "x": 2, "y": 0},
30 {"matrix": [0, 3], "x": 3, "y": 0},
31 {"matrix": [0, 4], "x": 4, "y": 0},
32 {"matrix": [0, 5], "x": 5, "y": 0},
33 {"matrix": [0, 6], "x": 6, "y": 0},
34 {"matrix": [0, 7], "x": 7, "y": 0},
35 {"matrix": [0, 8], "x": 8, "y": 0},
36 {"matrix": [0, 9], "x": 9, "y": 0},
37 {"matrix": [0, 10], "x": 10, "y": 0},
38 {"matrix": [0, 11], "x": 11, "y": 0},
39 {"matrix": [1, 0], "x": 0, "y": 1},
40 {"matrix": [1, 1], "x": 1, "y": 1},
41 {"matrix": [1, 2], "x": 2, "y": 1},
42 {"matrix": [1, 3], "x": 3, "y": 1},
43 {"matrix": [1, 4], "x": 4, "y": 1},
44 {"matrix": [1, 5], "x": 5, "y": 1},
45 {"matrix": [1, 6], "x": 6, "y": 1},
46 {"matrix": [1, 7], "x": 7, "y": 1},
47 {"matrix": [1, 8], "x": 8, "y": 1},
48 {"matrix": [1, 9], "x": 9, "y": 1},
49 {"matrix": [1, 10], "x": 10, "y": 1},
50 {"matrix": [1, 11], "x": 11, "y": 1},
51 {"matrix": [2, 0], "x": 0, "y": 2},
52 {"matrix": [2, 1], "x": 1, "y": 2},
53 {"matrix": [2, 2], "x": 2, "y": 2},
54 {"matrix": [2, 3], "x": 3, "y": 2},
55 {"matrix": [2, 4], "x": 4, "y": 2},
56 {"matrix": [2, 5], "x": 5, "y": 2},
57 {"matrix": [2, 6], "x": 6, "y": 2},
58 {"matrix": [2, 7], "x": 7, "y": 2},
59 {"matrix": [2, 8], "x": 8, "y": 2},
60 {"matrix": [2, 9], "x": 9, "y": 2},
61 {"matrix": [2, 10], "x": 10, "y": 2},
62 {"matrix": [2, 11], "x": 11, "y": 2},
63 {"matrix": [3, 0], "x": 0, "y": 3},
64 {"matrix": [3, 1], "x": 1, "y": 3},
65 {"matrix": [3, 2], "x": 2, "y": 3},
66 {"matrix": [3, 3], "x": 3, "y": 3},
67 {"matrix": [3, 4], "x": 4, "y": 3},
68 {"matrix": [3, 5], "x": 5, "y": 3},
69 {"matrix": [3, 7], "x": 7, "y": 3},
70 {"matrix": [3, 8], "x": 8, "y": 3},
71 {"matrix": [3, 9], "x": 9, "y": 3},
72 {"matrix": [3, 10], "x": 10, "y": 3},
73 {"matrix": [3, 11], "x": 11, "y": 3}
74 ]
75 }
76 }
77}
diff --git a/keyboards/handwired/planck/keymaps/default/keymap.c b/keyboards/handwired/planck/keymaps/default/keymap.c
new file mode 100644
index 0000000000..3783d37f95
--- /dev/null
+++ b/keyboards/handwired/planck/keymaps/default/keymap.c
@@ -0,0 +1,43 @@
1/* Copyright 2025 Zackarias Montel (@Wholteza)
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
18enum layer_names {
19 _BASE,
20 _NUM,
21 _SYM
22};
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25 [_BASE] = LAYOUT(
26 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
27 KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
28 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT ,
29 MO(3), KC_LCTL, KC_LALT, KC_LGUI, MO(1), KC_SPC, MO(2), KC_LEFT, KC_DOWN, KC_UP, KC_RGHT
30 ),
31 [_NUM] = LAYOUT(
32 KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
33 KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
34 KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, KC_TRNS,
35 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
36 ),
37 [_SYM] = LAYOUT(
38 KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC,
39 KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
40 KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, S(KC_NUHS), S(KC_NUBS), KC_HOME, KC_END, KC_TRNS,
41 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MNXT, KC_VOLD, KC_VOLU, QK_BOOT
42 )
43};
diff --git a/keyboards/handwired/planck/readme.md b/keyboards/handwired/planck/readme.md
new file mode 100644
index 0000000000..3bdbf87270
--- /dev/null
+++ b/keyboards/handwired/planck/readme.md
@@ -0,0 +1,27 @@
1# Plank Handwired
2
3![plank handwired](https://i.imgur.com/khseWs7.jpeg)
4
5A compact 40% (12x4) ortholinear keyboard kit sold by OLKB before the PCB was released.
6
7Keyboard Maintainer: [Wholteza](https://github.com/wholteza)
8Hardware Supported: [Teensy 2.0](https://www.pjrc.com/store/teensy.html)
9Hardware Availability: [PJRC](https://www.pjrc.com/store/teensy.html)
10
11Make example for this keyboard (after setting up your build environment):
12
13 make handwired/planck:default
14
15Flashing example for this keyboard:
16
17 make handwired/planck:default:flash
18
19See 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).
20
21## Bootloader
22
23Enter the bootloader in 3 ways:
24
25* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (The left key closest to the USB Port) and plug in the keyboard
26* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
27* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available