diff options
| author | JamesWilson1996 <47866504+JamesWilson1996@users.noreply.github.com> | 2025-04-17 19:50:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-17 12:50:41 -0600 |
| commit | 576325e2f489b888fda9c74df08534856cfea5c2 (patch) | |
| tree | 33619742e5ad6f6f9e128c1e3b60c14a5e2e3213 | |
| parent | 76413592402ae2ede4d9deef0f7d91bf73026d33 (diff) | |
[Keyboard] Add voidhhkb-hotswap (#25007)
* Added files for voidhhkb-hotswap
* Updated keyboard name to resolve build errors
* Implement suggestions from PR. Use 60_hhkb community layout.
* Update keyboards/void/voidhhkb_hotswap/readme.md
Co-authored-by: Ryan <fauxpark@gmail.com>
* Apply suggestions from code review
Co-authored-by: jack <jack@pngu.org>
---------
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: jack <jack@pngu.org>
| -rw-r--r-- | keyboards/void/voidhhkb_hotswap/keyboard.json | 97 | ||||
| -rw-r--r-- | keyboards/void/voidhhkb_hotswap/keymaps/default/keymap.c | 21 | ||||
| -rw-r--r-- | keyboards/void/voidhhkb_hotswap/readme.md | 29 |
3 files changed, 147 insertions, 0 deletions
diff --git a/keyboards/void/voidhhkb_hotswap/keyboard.json b/keyboards/void/voidhhkb_hotswap/keyboard.json new file mode 100644 index 0000000000..460454cc5f --- /dev/null +++ b/keyboards/void/voidhhkb_hotswap/keyboard.json | |||
| @@ -0,0 +1,97 @@ | |||
| 1 | { | ||
| 2 | "manufacturer": "James Wilson", | ||
| 3 | "keyboard_name": "voidhhkb_hotswap", | ||
| 4 | "maintainer": "JamesWilson1996", | ||
| 5 | "bootloader": "stm32-dfu", | ||
| 6 | "diode_direction": "COL2ROW", | ||
| 7 | "features": { | ||
| 8 | "bootmagic": true, | ||
| 9 | "command": false, | ||
| 10 | "console": false, | ||
| 11 | "extrakey": true, | ||
| 12 | "mousekey": true, | ||
| 13 | "nkro": true | ||
| 14 | }, | ||
| 15 | "matrix_pins": { | ||
| 16 | "cols": ["B12", "B13", "A3", "A4", "B14", "B15", "A8", "A5", "A9", "A10", "A6", "A7", "A15", "B3", "B4"], | ||
| 17 | "rows": ["B11", "B10", "B2", "B1", "B0"] | ||
| 18 | }, | ||
| 19 | "processor": "STM32F072", | ||
| 20 | "url": "", | ||
| 21 | "usb": { | ||
| 22 | "device_version": "1.0.0", | ||
| 23 | "pid": "0x0002", | ||
| 24 | "vid": "0x4A57" | ||
| 25 | }, | ||
| 26 | "community_layouts": [ "60_hhkb" ], | ||
| 27 | "layouts": { | ||
| 28 | "LAYOUT_60_hhkb": { | ||
| 29 | "layout": [ | ||
| 30 | {"matrix": [0, 0], "x": 0, "y": 0}, | ||
| 31 | {"matrix": [0, 1], "x": 1, "y": 0}, | ||
| 32 | {"matrix": [0, 2], "x": 2, "y": 0}, | ||
| 33 | {"matrix": [0, 3], "x": 3, "y": 0}, | ||
| 34 | {"matrix": [0, 4], "x": 4, "y": 0}, | ||
| 35 | {"matrix": [0, 5], "x": 5, "y": 0}, | ||
| 36 | {"matrix": [0, 6], "x": 6, "y": 0}, | ||
| 37 | {"matrix": [0, 7], "x": 7, "y": 0}, | ||
| 38 | {"matrix": [0, 8], "x": 8, "y": 0}, | ||
| 39 | {"matrix": [0, 9], "x": 9, "y": 0}, | ||
| 40 | {"matrix": [0, 10], "x": 10, "y": 0}, | ||
| 41 | {"matrix": [0, 11], "x": 11, "y": 0}, | ||
| 42 | {"matrix": [0, 12], "x": 12, "y": 0}, | ||
| 43 | {"matrix": [0, 13], "x": 13, "y": 0}, | ||
| 44 | {"matrix": [0, 14], "x": 14, "y": 0}, | ||
| 45 | |||
| 46 | {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, | ||
| 47 | {"matrix": [1, 2], "x": 1.5, "y": 1}, | ||
| 48 | {"matrix": [1, 3], "x": 2.5, "y": 1}, | ||
| 49 | {"matrix": [1, 4], "x": 3.5, "y": 1}, | ||
| 50 | {"matrix": [1, 5], "x": 4.5, "y": 1}, | ||
| 51 | {"matrix": [1, 6], "x": 5.5, "y": 1}, | ||
| 52 | {"matrix": [1, 7], "x": 6.5, "y": 1}, | ||
| 53 | {"matrix": [1, 8], "x": 7.5, "y": 1}, | ||
| 54 | {"matrix": [1, 9], "x": 8.5, "y": 1}, | ||
| 55 | {"matrix": [1, 10], "x": 9.5, "y": 1}, | ||
| 56 | {"matrix": [1, 11], "x": 10.5, "y": 1}, | ||
| 57 | {"matrix": [1, 12], "x": 11.5, "y": 1}, | ||
| 58 | {"matrix": [1, 13], "x": 12.5, "y": 1}, | ||
| 59 | {"matrix": [1, 14], "x": 13.5, "y": 1, "w": 1.5}, | ||
| 60 | |||
| 61 | {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, | ||
| 62 | {"matrix": [2, 2], "x": 1.75, "y": 2}, | ||
| 63 | {"matrix": [2, 3], "x": 2.75, "y": 2}, | ||
| 64 | {"matrix": [2, 4], "x": 3.75, "y": 2}, | ||
| 65 | {"matrix": [2, 5], "x": 4.75, "y": 2}, | ||
| 66 | {"matrix": [2, 6], "x": 5.75, "y": 2}, | ||
| 67 | {"matrix": [2, 7], "x": 6.75, "y": 2}, | ||
| 68 | {"matrix": [2, 8], "x": 7.75, "y": 2}, | ||
| 69 | {"matrix": [2, 9], "x": 8.75, "y": 2}, | ||
| 70 | {"matrix": [2, 10], "x": 9.75, "y": 2}, | ||
| 71 | {"matrix": [2, 11], "x": 10.75, "y": 2}, | ||
| 72 | {"matrix": [2, 12], "x": 11.75, "y": 2}, | ||
| 73 | {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, | ||
| 74 | |||
| 75 | {"matrix": [3, 1], "x": 0, "y": 3, "w": 2.25}, | ||
| 76 | {"matrix": [3, 2], "x": 2.25, "y": 3}, | ||
| 77 | {"matrix": [3, 3], "x": 3.25, "y": 3}, | ||
| 78 | {"matrix": [3, 4], "x": 4.25, "y": 3}, | ||
| 79 | {"matrix": [3, 5], "x": 5.25, "y": 3}, | ||
| 80 | {"matrix": [3, 6], "x": 6.25, "y": 3}, | ||
| 81 | {"matrix": [3, 7], "x": 7.25, "y": 3}, | ||
| 82 | {"matrix": [3, 8], "x": 8.25, "y": 3}, | ||
| 83 | {"matrix": [3, 9], "x": 9.25, "y": 3}, | ||
| 84 | {"matrix": [3, 10], "x": 10.25, "y": 3}, | ||
| 85 | {"matrix": [3, 11], "x": 11.25, "y": 3}, | ||
| 86 | {"matrix": [3, 13], "x": 12.25, "y": 3, "w": 1.75}, | ||
| 87 | {"matrix": [3, 14], "x": 14.0, "y": 3}, | ||
| 88 | |||
| 89 | {"matrix": [4, 2], "x": 1.5, "y": 4}, | ||
| 90 | {"matrix": [4, 3], "x": 2.5, "y": 4, "w": 1.5}, | ||
| 91 | {"matrix": [4, 7], "x": 4, "y": 4, "w": 6}, | ||
| 92 | {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.5}, | ||
| 93 | {"matrix": [4, 11], "x": 11.5, "y": 4} | ||
| 94 | ] | ||
| 95 | } | ||
| 96 | } | ||
| 97 | } | ||
diff --git a/keyboards/void/voidhhkb_hotswap/keymaps/default/keymap.c b/keyboards/void/voidhhkb_hotswap/keymaps/default/keymap.c new file mode 100644 index 0000000000..3b28a0c1c2 --- /dev/null +++ b/keyboards/void/voidhhkb_hotswap/keymaps/default/keymap.c | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | // Copyright 2023 QMK | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_H | ||
| 5 | |||
| 6 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 7 | [0] = LAYOUT_60_hhkb( | ||
| 8 | 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_BSLS, KC_GRV, | ||
| 9 | 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_BSPC, | ||
| 10 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 11 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
| 12 | KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT | ||
| 13 | ), | ||
| 14 | [1] = LAYOUT_60_hhkb( | ||
| 15 | KC_PWR, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, | ||
| 16 | KC_CAPS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, KC_NO, KC_CLAG, | ||
| 17 | KC_NO, KC_VOLU, KC_VOLD, KC_MUTE, KC_EJCT, KC_NO, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_RETN, | ||
| 18 | KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, KC_NO, KC_TRNS, | ||
| 19 | KC_NO, KC_NO, KC_NO, KC_MSTP, KC_NO | ||
| 20 | ) | ||
| 21 | }; | ||
diff --git a/keyboards/void/voidhhkb_hotswap/readme.md b/keyboards/void/voidhhkb_hotswap/readme.md new file mode 100644 index 0000000000..a9b78eefe7 --- /dev/null +++ b/keyboards/void/voidhhkb_hotswap/readme.md | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | # VoidHHKB-Hotswap | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | VoidHHKB-Hotswap 60% PCB designed for the [HSKB project](https://github.com/Dev01-D/HSKB). | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [James Wilson](https://github.com/JamesWilson1996) | ||
| 8 | * Hardware Supported: STM32F072CBT6 | ||
| 9 | * Hardware Availability: [HSKB](https://github.com/Dev01-D/HSKB) | ||
| 10 | |||
| 11 | # Compiling | ||
| 12 | |||
| 13 | Make example for this keyboard (after setting up your build environment): | ||
| 14 | |||
| 15 | make void/voidhhkb_hotswap:default | ||
| 16 | |||
| 17 | Flashing example for this keyboard: | ||
| 18 | |||
| 19 | make void/voidhhkb_hotswap:default:flash | ||
| 20 | |||
| 21 | 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). | ||
| 22 | |||
| 23 | # Bootloader | ||
| 24 | |||
| 25 | Enter the bootloader in 3 ways: | ||
| 26 | |||
| 27 | * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
| 28 | * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead | ||
| 29 | * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available | ||
