From fbe7f961ee430ed1e55e4098d77f9bd019a64d94 Mon Sep 17 00:00:00 2001 From: Alden Johnson Date: Sat, 9 Nov 2024 17:25:55 -0800 Subject: [PATCH 1/6] Added keyboard: handle_68 --- keyboards/handwired/handle_68/keyboard.json | 99 +++++++++++++++++++ .../handle_68/keymaps/default/keymap.c | 27 +++++ keyboards/handwired/handle_68/readme.md | 27 +++++ 3 files changed, 153 insertions(+) create mode 100644 keyboards/handwired/handle_68/keyboard.json create mode 100644 keyboards/handwired/handle_68/keymaps/default/keymap.c create mode 100644 keyboards/handwired/handle_68/readme.md diff --git a/keyboards/handwired/handle_68/keyboard.json b/keyboards/handwired/handle_68/keyboard.json new file mode 100644 index 00000000000..29741575027 --- /dev/null +++ b/keyboards/handwired/handle_68/keyboard.json @@ -0,0 +1,99 @@ +{ + "manufacturer": "Alden Johnson", + "keyboard_name": "handwired/handle_68", + "maintainer": "Alden Johnson", + "bootloader": "stm32-dfu", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["B2", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "B7", "B6", "B5", "B4", "B3", "A15", "A14"], + "rows": ["A2", "F0", "C15", "C14", "C13"] + }, + "processor": "STM32F072", + "url": "", + "usb": { + "device_version": "1.0.0", + "pid": "0x0000", + "vid": "0xFEED" + }, + "layouts": { + "LAYOUT_handle_68": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0, "w": 2}, + {"matrix": [0, 14], "x": 15, "y": 0}, + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 1], "x": 1.5, "y": 1}, + {"matrix": [1, 2], "x": 2.5, "y": 1}, + {"matrix": [1, 3], "x": 3.5, "y": 1}, + {"matrix": [1, 4], "x": 4.5, "y": 1}, + {"matrix": [1, 5], "x": 5.5, "y": 1}, + {"matrix": [1, 6], "x": 6.5, "y": 1}, + {"matrix": [1, 7], "x": 7.5, "y": 1}, + {"matrix": [1, 8], "x": 8.5, "y": 1}, + {"matrix": [1, 9], "x": 9.5, "y": 1}, + {"matrix": [1, 10], "x": 10.5, "y": 1}, + {"matrix": [1, 11], "x": 11.5, "y": 1}, + {"matrix": [1, 12], "x": 12.5, "y": 1}, + {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [1, 14], "x": 15, "y": 1}, + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 1], "x": 1.75, "y": 2}, + {"matrix": [2, 2], "x": 2.75, "y": 2}, + {"matrix": [2, 3], "x": 3.75, "y": 2}, + {"matrix": [2, 4], "x": 4.75, "y": 2}, + {"matrix": [2, 5], "x": 5.75, "y": 2}, + {"matrix": [2, 6], "x": 6.75, "y": 2}, + {"matrix": [2, 7], "x": 7.75, "y": 2}, + {"matrix": [2, 8], "x": 8.75, "y": 2}, + {"matrix": [2, 9], "x": 9.75, "y": 2}, + {"matrix": [2, 10], "x": 10.75, "y": 2}, + {"matrix": [2, 11], "x": 11.75, "y": 2}, + {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [2, 14], "x": 15, "y": 2}, + {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 1], "x": 2.25, "y": 3}, + {"matrix": [3, 2], "x": 3.25, "y": 3}, + {"matrix": [3, 3], "x": 4.25, "y": 3}, + {"matrix": [3, 4], "x": 5.25, "y": 3}, + {"matrix": [3, 5], "x": 6.25, "y": 3}, + {"matrix": [3, 6], "x": 7.25, "y": 3}, + {"matrix": [3, 7], "x": 8.25, "y": 3}, + {"matrix": [3, 8], "x": 9.25, "y": 3}, + {"matrix": [3, 9], "x": 10.25, "y": 3}, + {"matrix": [3, 10], "x": 11.25, "y": 3}, + {"matrix": [3, 11], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 13], "x": 14, "y": 3}, + {"matrix": [3, 14], "x": 15, "y": 3}, + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 5], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 9], "x": 10, "y": 4, "w": 1.5}, + {"matrix": [4, 10], "x": 11.5, "y": 4, "w": 1.5}, + {"matrix": [4, 11], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 15, "y": 4} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/handwired/handle_68/keymaps/default/keymap.c b/keyboards/handwired/handle_68/keymaps/default/keymap.c new file mode 100644 index 00000000000..71a4a7bafdf --- /dev/null +++ b/keyboards/handwired/handle_68/keymaps/default/keymap.c @@ -0,0 +1,27 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐┌───┬───┐ + * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ Backsp││Ins│PgU│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤├───┼───┤ + * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ ││Del│PgD│ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤└───┴───┘ + * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤┌───┐ + * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift ││ ↑ │ + * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬─┬──┴┼───┼───┐ + * │Ctrl│GUI │Alt │ │ Alt│ GUI│Ctrl│ │ ← │ ↓ │ → │ + * └────┴────┴────┴────────────────────────┴────┴────┴────┘ └───┴───┴───┘ + */ + [0] = LAYOUT_handle_68( + KC_ESC, 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, KC_GRV, + 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, KC_DEL, + 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, 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, KC_UP, KC_PGDN, + KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT + ) +}; diff --git a/keyboards/handwired/handle_68/readme.md b/keyboards/handwired/handle_68/readme.md new file mode 100644 index 00000000000..fb6d761c7b9 --- /dev/null +++ b/keyboards/handwired/handle_68/readme.md @@ -0,0 +1,27 @@ +# handwired/handle_68 + +![handwired/handle_68](imgur.com image replace me!) + +*A short description of the keyboard/project* + +* Keyboard Maintainer: [Alden Johnson](https://github.com/Alden Johnson) +* Hardware Supported: *The PCBs, controllers supported* +* Hardware Availability: *Links to where you can find this hardware* + +Make example for this keyboard (after setting up your build environment): + + make handwired/handle_68:default + +Flashing example for this keyboard: + + make handwired/handle_68:default:flash + +See 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). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available From 3fc97491efd6d09a8a84d70a99088f4aacf69372 Mon Sep 17 00:00:00 2001 From: Alden Johnson <36417277+Alden5@users.noreply.github.com> Date: Sat, 9 Nov 2024 17:42:44 -0800 Subject: [PATCH 2/6] Update readme.md --- keyboards/handwired/handle_68/readme.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/keyboards/handwired/handle_68/readme.md b/keyboards/handwired/handle_68/readme.md index fb6d761c7b9..be24ad8c8a0 100644 --- a/keyboards/handwired/handle_68/readme.md +++ b/keyboards/handwired/handle_68/readme.md @@ -1,12 +1,10 @@ # handwired/handle_68 -![handwired/handle_68](imgur.com image replace me!) - -*A short description of the keyboard/project* +* a 68% keyboard with a handle! * Keyboard Maintainer: [Alden Johnson](https://github.com/Alden Johnson) -* Hardware Supported: *The PCBs, controllers supported* -* Hardware Availability: *Links to where you can find this hardware* +* Hardware Supported: handle_68_pcb +* Hardware Availability: rob alden for it Make example for this keyboard (after setting up your build environment): @@ -22,6 +20,5 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to Enter the bootloader in 3 ways: -* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard -* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead -* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available +* **Bootmagic reset**: Hold down the esc key and plug in the keyboard +* **Physical reset button**: Briefly short the two pins labeled boot0 with tweezers. From 6a8fc3bdbb4988f36d97e06940e11923dc3e9392 Mon Sep 17 00:00:00 2001 From: Alden Johnson <36417277+Alden5@users.noreply.github.com> Date: Sat, 9 Nov 2024 17:43:39 -0800 Subject: [PATCH 3/6] Update keymap.c --- .../handwired/handle_68/keymaps/default/keymap.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/keyboards/handwired/handle_68/keymaps/default/keymap.c b/keyboards/handwired/handle_68/keymaps/default/keymap.c index 71a4a7bafdf..95a89137da7 100644 --- a/keyboards/handwired/handle_68/keymaps/default/keymap.c +++ b/keyboards/handwired/handle_68/keymaps/default/keymap.c @@ -4,20 +4,7 @@ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐┌───┬───┐ - * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ Backsp││Ins│PgU│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤├───┼───┤ - * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ ││Del│PgD│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤└───┴───┘ - * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────────┤┌───┐ - * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift ││ ↑ │ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬─┬──┴┼───┼───┐ - * │Ctrl│GUI │Alt │ │ Alt│ GUI│Ctrl│ │ ← │ ↓ │ → │ - * └────┴────┴────┴────────────────────────┴────┴────┴────┘ └───┴───┴───┘ - */ - [0] = LAYOUT_handle_68( + [0] = LAYOUT_68_mac( KC_ESC, 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, KC_GRV, 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, KC_DEL, 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, KC_PGUP, From 6eff9b20e832f7005e76eaeb385ad2ae17ede6a4 Mon Sep 17 00:00:00 2001 From: Alden Johnson <36417277+Alden5@users.noreply.github.com> Date: Sat, 9 Nov 2024 17:44:03 -0800 Subject: [PATCH 4/6] Update keyboard.json --- keyboards/handwired/handle_68/keyboard.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/handwired/handle_68/keyboard.json b/keyboards/handwired/handle_68/keyboard.json index 29741575027..b86821538cf 100644 --- a/keyboards/handwired/handle_68/keyboard.json +++ b/keyboards/handwired/handle_68/keyboard.json @@ -24,7 +24,7 @@ "vid": "0xFEED" }, "layouts": { - "LAYOUT_handle_68": { + "LAYOUT_68_mac": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -96,4 +96,4 @@ ] } } -} \ No newline at end of file +} From c0f08b5409708c00db272933ae1e0ccd22fbf87f Mon Sep 17 00:00:00 2001 From: Alden Johnson <36417277+Alden5@users.noreply.github.com> Date: Sun, 10 Nov 2024 20:03:34 -0800 Subject: [PATCH 5/6] Update readme.md fixed broken github link, added image of project --- keyboards/handwired/handle_68/readme.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/keyboards/handwired/handle_68/readme.md b/keyboards/handwired/handle_68/readme.md index be24ad8c8a0..d1a7b0c8732 100644 --- a/keyboards/handwired/handle_68/readme.md +++ b/keyboards/handwired/handle_68/readme.md @@ -2,9 +2,11 @@ * a 68% keyboard with a handle! -* Keyboard Maintainer: [Alden Johnson](https://github.com/Alden Johnson) +# photo of handle_68 keyboard + +* Keyboard Maintainer: [Alden Johnson](https://github.com/Alden5) * Hardware Supported: handle_68_pcb -* Hardware Availability: rob alden for it +* Hardware Availability: rob alden for it (group buy hopefully coming soon) Make example for this keyboard (after setting up your build environment): @@ -20,5 +22,5 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to Enter the bootloader in 3 ways: -* **Bootmagic reset**: Hold down the esc key and plug in the keyboard -* **Physical reset button**: Briefly short the two pins labeled boot0 with tweezers. +* **Bootmagic reset**: Hold down the esc key and plug in keyboard +* **Physical reset button**: Short the two pins on back of pcba labeled boot0 with tweezers and plug in keyboard From 2ae4aefdce00f9fcfa5e080d37a891878891e39c Mon Sep 17 00:00:00 2001 From: Alden Johnson <36417277+Alden5@users.noreply.github.com> Date: Sun, 10 Nov 2024 20:10:36 -0800 Subject: [PATCH 6/6] Update keyboard.json updated keyboard_name last minute, sorry so many commits im new to github :( --- keyboards/handwired/handle_68/keyboard.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/handwired/handle_68/keyboard.json b/keyboards/handwired/handle_68/keyboard.json index b86821538cf..5fbf55ed5c8 100644 --- a/keyboards/handwired/handle_68/keyboard.json +++ b/keyboards/handwired/handle_68/keyboard.json @@ -1,6 +1,6 @@ { "manufacturer": "Alden Johnson", - "keyboard_name": "handwired/handle_68", + "keyboard_name": "Handle 68", "maintainer": "Alden Johnson", "bootloader": "stm32-dfu", "diode_direction": "COL2ROW",