From eefac4e9126b194092abf6a78d7e078a51d48be1 Mon Sep 17 00:00:00 2001 From: Alexis St-Pierre Cadieux Date: Tue, 10 Jun 2025 21:04:07 -0400 Subject: [PATCH 01/19] Adding new keyboard for manufacturer HNK --- keyboards/hnk/hnk65/config.h | 20 +++ keyboards/hnk/hnk65/info.json | 100 +++++++++++++ keyboards/hnk/hnk65/keymaps/default/keymap.c | 48 +++++++ keyboards/hnk/hnk65/keymaps/via/keymap.c | 48 +++++++ keyboards/hnk/hnk65/keymaps/via/rules.mk | 2 + keyboards/hnk/hnk65/readme.md | 28 ++++ keyboards/hnk/hnk65/rules.mk | 1 + keyboards/hnk/hnk65_backlight/config.h | 20 +++ keyboards/hnk/hnk65_backlight/info.json | 120 ++++++++++++++++ .../hnk65_backlight/keymaps/default/keymap.c | 55 ++++++++ .../hnk/hnk65_backlight/keymaps/via/keymap.c | 55 ++++++++ .../hnk/hnk65_backlight/keymaps/via/rules.mk | 2 + keyboards/hnk/hnk65_backlight/readme.md | 27 ++++ keyboards/hnk/hnk65_backlight/rules.mk | 1 + keyboards/hnk/hnk65_rgb/config.h | 20 +++ keyboards/hnk/hnk65_rgb/info.json | 132 ++++++++++++++++++ .../hnk/hnk65_rgb/keymaps/default/keymap.c | 55 ++++++++ keyboards/hnk/hnk65_rgb/keymaps/via/keymap.c | 55 ++++++++ keyboards/hnk/hnk65_rgb/keymaps/via/rules.mk | 2 + keyboards/hnk/hnk65_rgb/readme.md | 27 ++++ keyboards/hnk/hnk65_rgb/rules.mk | 1 + 21 files changed, 819 insertions(+) create mode 100644 keyboards/hnk/hnk65/config.h create mode 100644 keyboards/hnk/hnk65/info.json create mode 100644 keyboards/hnk/hnk65/keymaps/default/keymap.c create mode 100644 keyboards/hnk/hnk65/keymaps/via/keymap.c create mode 100644 keyboards/hnk/hnk65/keymaps/via/rules.mk create mode 100644 keyboards/hnk/hnk65/readme.md create mode 100644 keyboards/hnk/hnk65/rules.mk create mode 100644 keyboards/hnk/hnk65_backlight/config.h create mode 100644 keyboards/hnk/hnk65_backlight/info.json create mode 100644 keyboards/hnk/hnk65_backlight/keymaps/default/keymap.c create mode 100644 keyboards/hnk/hnk65_backlight/keymaps/via/keymap.c create mode 100644 keyboards/hnk/hnk65_backlight/keymaps/via/rules.mk create mode 100644 keyboards/hnk/hnk65_backlight/readme.md create mode 100644 keyboards/hnk/hnk65_backlight/rules.mk create mode 100644 keyboards/hnk/hnk65_rgb/config.h create mode 100644 keyboards/hnk/hnk65_rgb/info.json create mode 100644 keyboards/hnk/hnk65_rgb/keymaps/default/keymap.c create mode 100644 keyboards/hnk/hnk65_rgb/keymaps/via/keymap.c create mode 100644 keyboards/hnk/hnk65_rgb/keymaps/via/rules.mk create mode 100644 keyboards/hnk/hnk65_rgb/readme.md create mode 100644 keyboards/hnk/hnk65_rgb/rules.mk diff --git a/keyboards/hnk/hnk65/config.h b/keyboards/hnk/hnk65/config.h new file mode 100644 index 00000000000..d21612b7a30 --- /dev/null +++ b/keyboards/hnk/hnk65/config.h @@ -0,0 +1,20 @@ +// Copyright 2024 HNKbd (@ascYAOBT) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT diff --git a/keyboards/hnk/hnk65/info.json b/keyboards/hnk/hnk65/info.json new file mode 100644 index 00000000000..956d6605482 --- /dev/null +++ b/keyboards/hnk/hnk65/info.json @@ -0,0 +1,100 @@ +{ + "manufacturer": "hnkbd", + "keyboard_name": "hnk65", + "maintainer": "ascYAOBT", + "bootloader": "atmel-dfu", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], + "rows": ["C7", "C6", "B6", "B5", "B4"] + }, + "processor": "atmega32u4", + "url": "", + "usb": { + "device_version": "1.0.0", + "pid": "0x0000", + "vid": "0x484E" + }, + "layouts": { + "LAYOUT_65_ansi": { + "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, 8], "x": 10, "y": 4}, + {"matrix": [4, 9], "x": 11, "y": 4}, + {"matrix": [4, 10], "x": 12, "y": 4}, + {"matrix": [4, 11], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 14, "y": 4} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/hnk/hnk65/keymaps/default/keymap.c b/keyboards/hnk/hnk65/keymaps/default/keymap.c new file mode 100644 index 00000000000..125dd89bc4b --- /dev/null +++ b/keyboards/hnk/hnk65/keymaps/default/keymap.c @@ -0,0 +1,48 @@ +// 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│Hom│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ + * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │PgU│ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ + * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgD│ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ + * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End│ + * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ + * │Ctrl│GUI │Alt │ │Alt│ Fn│Ctl│ ← │ ↓ │ → │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ + */ + [0] = LAYOUT_65_ansi( + 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_HOME, + 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_PGUP, + 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_PGDN, + 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_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐.é + * │ ` │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ Delete│ │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ + * │ │ │ │ │ │ │Ins│ │ │ │ │PSc│Scr│Pause│ │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ + * │ │ │ │ │ │ │ │Mut│Vl-│Vl+│ │ │ │ │ + * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ + * │ │ │ │ │ │ │ │ │ │ │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ + */ + [1] = LAYOUT_65_ansi( + KC_GRV, 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, + _______, _______, KC_VOLU, _______, _______, _______, _______, KC_SCRL, _______, KC_7, KC_8, KC_9, KC_BSLS, _______, _______, + _______, KC_MUTE, KC_VOLD, KC_PAUS, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, + _______, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, _______, _______, + _______, _______, _______, KC_PSCR, _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/hnk/hnk65/keymaps/via/keymap.c b/keyboards/hnk/hnk65/keymaps/via/keymap.c new file mode 100644 index 00000000000..125dd89bc4b --- /dev/null +++ b/keyboards/hnk/hnk65/keymaps/via/keymap.c @@ -0,0 +1,48 @@ +// 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│Hom│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ + * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │PgU│ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ + * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgD│ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ + * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End│ + * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ + * │Ctrl│GUI │Alt │ │Alt│ Fn│Ctl│ ← │ ↓ │ → │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ + */ + [0] = LAYOUT_65_ansi( + 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_HOME, + 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_PGUP, + 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_PGDN, + 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_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT + ), + + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐.é + * │ ` │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ Delete│ │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ + * │ │ │ │ │ │ │Ins│ │ │ │ │PSc│Scr│Pause│ │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ + * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ + * │ │ │ │ │ │ │ │Mut│Vl-│Vl+│ │ │ │ │ + * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ + * │ │ │ │ │ │ │ │ │ │ │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ + */ + [1] = LAYOUT_65_ansi( + KC_GRV, 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, + _______, _______, KC_VOLU, _______, _______, _______, _______, KC_SCRL, _______, KC_7, KC_8, KC_9, KC_BSLS, _______, _______, + _______, KC_MUTE, KC_VOLD, KC_PAUS, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, + _______, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, _______, _______, + _______, _______, _______, KC_PSCR, _______, _______, _______, _______, _______, _______ + ) +}; diff --git a/keyboards/hnk/hnk65/keymaps/via/rules.mk b/keyboards/hnk/hnk65/keymaps/via/rules.mk new file mode 100644 index 00000000000..86dbb82cb49 --- /dev/null +++ b/keyboards/hnk/hnk65/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +# This file intentionally left blank +VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/hnk/hnk65/readme.md b/keyboards/hnk/hnk65/readme.md new file mode 100644 index 00000000000..08f7498eccf --- /dev/null +++ b/keyboards/hnk/hnk65/readme.md @@ -0,0 +1,28 @@ +# hnk65 + +![hnk65] image to be added in the future + +Our Hide Nothing Keyboard version of the traditional 65%. For more information visit https://hnkbd.ca + + +* Keyboard Maintainer: [hnkbd](https://github.com/ascYAOBT) +* Hardware Supported: hnk65 no led +* Hardware Availability: https://hnkbd.ca + +Make example for this keyboard (after setting up your build environment): + + make hnk65:default + +Flashing example for this keyboard: + + make hnk65: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 while plugged in and with QMK Toolbox opened. +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/hnk/hnk65/rules.mk b/keyboards/hnk/hnk65/rules.mk new file mode 100644 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/hnk/hnk65/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank diff --git a/keyboards/hnk/hnk65_backlight/config.h b/keyboards/hnk/hnk65_backlight/config.h new file mode 100644 index 00000000000..8efe886bc6b --- /dev/null +++ b/keyboards/hnk/hnk65_backlight/config.h @@ -0,0 +1,20 @@ +// Copyright 2024 Hide Nothing Keyboard (@hnkbd) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT diff --git a/keyboards/hnk/hnk65_backlight/info.json b/keyboards/hnk/hnk65_backlight/info.json new file mode 100644 index 00000000000..d0721324968 --- /dev/null +++ b/keyboards/hnk/hnk65_backlight/info.json @@ -0,0 +1,120 @@ +{ + "manufacturer": "hnkbd", + "keyboard_name": "hnk65_backlight", + "maintainer": "ascYAOBT", + "bootloader": "atmel-dfu", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "rgblight_sleep": true + }, + "matrix_pins": { + "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], + "rows": ["C7", "C6", "B6", "B5", "B4"] + }, + "rgblight": { + "animations": { + }, + "brightness_steps": 20, + "hue_steps": 22, + "led_count": 68, + "saturation_steps": 22, + "sleep": true, + "max_brightness":200, + "default":{ + "val":200, + "hue": 169, + "sat": 247 + } + }, + "ws2812": { + "pin": "B2" + }, + "processor": "atmega32u4", + "url": "", + "usb": { + "device_version": "1.0.0", + "pid": "0x0002", + "vid": "0x484E" + }, + "layouts": { + "LAYOUT_65_ansi": { + "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, 8], "x": 10, "y": 4}, + {"matrix": [4, 9], "x": 11, "y": 4}, + {"matrix": [4, 10], "x": 12, "y": 4}, + {"matrix": [4, 11], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 14, "y": 4} + ] + } + } +} diff --git a/keyboards/hnk/hnk65_backlight/keymaps/default/keymap.c b/keyboards/hnk/hnk65_backlight/keymaps/default/keymap.c new file mode 100644 index 00000000000..efda0cf2428 --- /dev/null +++ b/keyboards/hnk/hnk65_backlight/keymaps/default/keymap.c @@ -0,0 +1,55 @@ +// 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│Home│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼────┤ + * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │PgUp│ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼────┤ + * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgDn│ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼────┤ + * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End │ + * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼────┤ + * │Ctrl│GUI │Alt │ │Alt│ Fn│Ctl│ ← │ ↓ │ → │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴────┘ + */ + + + [0] = LAYOUT_65_ansi( + 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_HOME, + 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_PGUP, + 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_PGDN, + 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_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT,KC_DOWN, KC_RGHT + ), + + + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────────┬────┐ + * │Grv│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ Ins │Del │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬──────┼────┤ + * │ │ │Vl+│ │ │ │ │SrL│ │ 7 │ 8 │ 9 │ \ │ SAI │HUI │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴──────┼────┤ + * │ │Mut│Vl-│Pau│ │ │ │ │ │ 4 │ 5 │ 6 │ SAD │HUD │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─────┬───┼────┤ + * │ │ | │ │ │ │ │ │ │ │ 1 │ 2 │ 3 │VAI│Tog │ + * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬────┼───┼────┤ + * │ │ │ │ PScr │ │ │ │ModR│VAD│ModF│ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴────┴───┴────┘ + */ + + + + [1] = LAYOUT_65_ansi( + KC_GRV, 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, + _______, _______, KC_VOLU, _______, _______, _______, _______, KC_SCRL, _______, KC_7, KC_8, KC_9, KC_BSLS, _______, _______, + _______, KC_MUTE, KC_VOLD, KC_PAUS, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, + _______, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, _______, _______, + _______, _______, _______, KC_PSCR, _______, _______, _______, _______,_______ , + ) +}; \ No newline at end of file diff --git a/keyboards/hnk/hnk65_backlight/keymaps/via/keymap.c b/keyboards/hnk/hnk65_backlight/keymaps/via/keymap.c new file mode 100644 index 00000000000..efda0cf2428 --- /dev/null +++ b/keyboards/hnk/hnk65_backlight/keymaps/via/keymap.c @@ -0,0 +1,55 @@ +// 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│Home│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼────┤ + * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │PgUp│ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼────┤ + * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgDn│ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼────┤ + * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End │ + * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼────┤ + * │Ctrl│GUI │Alt │ │Alt│ Fn│Ctl│ ← │ ↓ │ → │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴────┘ + */ + + + [0] = LAYOUT_65_ansi( + 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_HOME, + 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_PGUP, + 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_PGDN, + 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_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT,KC_DOWN, KC_RGHT + ), + + + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────────┬────┐ + * │Grv│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ Ins │Del │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬──────┼────┤ + * │ │ │Vl+│ │ │ │ │SrL│ │ 7 │ 8 │ 9 │ \ │ SAI │HUI │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴──────┼────┤ + * │ │Mut│Vl-│Pau│ │ │ │ │ │ 4 │ 5 │ 6 │ SAD │HUD │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─────┬───┼────┤ + * │ │ | │ │ │ │ │ │ │ │ 1 │ 2 │ 3 │VAI│Tog │ + * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬────┼───┼────┤ + * │ │ │ │ PScr │ │ │ │ModR│VAD│ModF│ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴────┴───┴────┘ + */ + + + + [1] = LAYOUT_65_ansi( + KC_GRV, 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, + _______, _______, KC_VOLU, _______, _______, _______, _______, KC_SCRL, _______, KC_7, KC_8, KC_9, KC_BSLS, _______, _______, + _______, KC_MUTE, KC_VOLD, KC_PAUS, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, + _______, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, _______, _______, + _______, _______, _______, KC_PSCR, _______, _______, _______, _______,_______ , + ) +}; \ No newline at end of file diff --git a/keyboards/hnk/hnk65_backlight/keymaps/via/rules.mk b/keyboards/hnk/hnk65_backlight/keymaps/via/rules.mk new file mode 100644 index 00000000000..86dbb82cb49 --- /dev/null +++ b/keyboards/hnk/hnk65_backlight/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +# This file intentionally left blank +VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/hnk/hnk65_backlight/readme.md b/keyboards/hnk/hnk65_backlight/readme.md new file mode 100644 index 00000000000..192e5119b70 --- /dev/null +++ b/keyboards/hnk/hnk65_backlight/readme.md @@ -0,0 +1,27 @@ +# hnk65_backlight + +![hnk65_backlight] image to be added in the future + +Our Hide Nothing Keyboard version of the traditionnal 65%, with backlight light (no per-key RGB). For more information visit https://hnkbd.ca + +* Keyboard Maintainer: [hnkbd](https://github.com/ascYAOBT) +* Hardware Supported: hnk65 with backlight only (no per key RGB LED) +* Hardware Availability: https://hnkbd.ca + +Make example for this keyboard (after setting up your build environment): + + make hnk65_backlight:default + +Flashing example for this keyboard: + + make hnk65_backlight: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 while plugged in and with QMK Toolbox opened. +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/hnk/hnk65_backlight/rules.mk b/keyboards/hnk/hnk65_backlight/rules.mk new file mode 100644 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/hnk/hnk65_backlight/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank diff --git a/keyboards/hnk/hnk65_rgb/config.h b/keyboards/hnk/hnk65_rgb/config.h new file mode 100644 index 00000000000..d21612b7a30 --- /dev/null +++ b/keyboards/hnk/hnk65_rgb/config.h @@ -0,0 +1,20 @@ +// Copyright 2024 HNKbd (@ascYAOBT) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT diff --git a/keyboards/hnk/hnk65_rgb/info.json b/keyboards/hnk/hnk65_rgb/info.json new file mode 100644 index 00000000000..81cbf5fd391 --- /dev/null +++ b/keyboards/hnk/hnk65_rgb/info.json @@ -0,0 +1,132 @@ +{ + "keyboard_name": "hnk65_rgb", + "manufacturer": "hnkbd", + "maintainer": "ascYAOBT", + "bootloader": "atmel-dfu", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "backlight": true, + "rgblight": true, + "rgblight_sleep": true + }, + "matrix_pins": { + "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], + "rows": ["C7", "C6", "B6", "B5", "B4"] + }, + "rgblight": { + "animations": { + "alternating": true, + "breathing": true, + "christmas": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "rgb_test": true, + "snake": true, + "static_gradient": true, + "twinkle": true + }, + "brightness_steps": 20, + "hue_steps": 22, + "led_count": 68, + "saturation_steps": 22, + "sleep": true, + "max_brightness":170, + "default":{ + "val":120 + } + }, + "ws2812": { + "pin": "B2" + }, + "processor": "atmega32u4", + "url": "", + "usb": { + "device_version": "1.0.0", + "pid": "0x0001", + "vid": "0x484E" + }, + "backlight": { + "driver": "custom" + }, + "layouts": { + "LAYOUT_65_ansi": { + "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, 8], "x": 10, "y": 4}, + {"matrix": [4, 9], "x": 11, "y": 4}, + {"matrix": [4, 10], "x": 12, "y": 4}, + {"matrix": [4, 11], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 14, "y": 4} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/hnk/hnk65_rgb/keymaps/default/keymap.c b/keyboards/hnk/hnk65_rgb/keymaps/default/keymap.c new file mode 100644 index 00000000000..9a2000428bb --- /dev/null +++ b/keyboards/hnk/hnk65_rgb/keymaps/default/keymap.c @@ -0,0 +1,55 @@ +// 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│Home│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼────┤ + * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │PgUp│ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼────┤ + * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgDn│ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼────┤ + * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End │ + * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼────┤ + * │Ctrl│GUI │Alt │ │Alt│ Fn│Ctl│ ← │ ↓ │ → │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴────┘ + */ + + + [0] = LAYOUT_65_ansi( + 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_HOME, + 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_PGUP, + 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_PGDN, + 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_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT,KC_DOWN, KC_RGHT + ), + + + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────────┬────┐ + * │Grv│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ Ins │Del │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬──────┼────┤ + * │ │ │Vl+│ │ │ │ │SrL│ │ 7 │ 8 │ 9 │ \ │ SAI │HUI │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴──────┼────┤ + * │ │Mut│Vl-│Pau│ │ │ │ │ │ 4 │ 5 │ 6 │ SAD │HUD │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─────┬───┼────┤ + * │ │ | │ │ │ │ │ │ │ │ 1 │ 2 │ 3 │VAI│Tog │ + * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬────┼───┼────┤ + * │ │ │ │ PScr │ │ │ │ModR│VAD│ModF│ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴────┴───┴────┘ + */ + + + + [1] = LAYOUT_65_ansi( + KC_GRV, 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, + _______, _______, KC_VOLU, _______, _______, _______, _______, KC_SCRL, _______, KC_7, KC_8, KC_9, KC_BSLS, RGB_SAI, RGB_HUI, + _______, KC_MUTE, KC_VOLD, KC_PAUS, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, RGB_SAD, RGB_HUD, + _______, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, RGB_VAI, RGB_TOG, + _______, _______, _______, KC_PSCR, _______, _______, _______, RGB_MODE_REVERSE, RGB_VAD, RGB_MODE_FORWARD + ) +}; \ No newline at end of file diff --git a/keyboards/hnk/hnk65_rgb/keymaps/via/keymap.c b/keyboards/hnk/hnk65_rgb/keymaps/via/keymap.c new file mode 100644 index 00000000000..9a2000428bb --- /dev/null +++ b/keyboards/hnk/hnk65_rgb/keymaps/via/keymap.c @@ -0,0 +1,55 @@ +// 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│Home│ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼────┤ + * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │PgUp│ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼────┤ + * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgDn│ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼────┤ + * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End │ + * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼────┤ + * │Ctrl│GUI │Alt │ │Alt│ Fn│Ctl│ ← │ ↓ │ → │ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴────┘ + */ + + + [0] = LAYOUT_65_ansi( + 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_HOME, + 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_PGUP, + 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_PGDN, + 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_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT,KC_DOWN, KC_RGHT + ), + + + /* + * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────────┬────┐ + * │Grv│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ Ins │Del │ + * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬──────┼────┤ + * │ │ │Vl+│ │ │ │ │SrL│ │ 7 │ 8 │ 9 │ \ │ SAI │HUI │ + * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴──────┼────┤ + * │ │Mut│Vl-│Pau│ │ │ │ │ │ 4 │ 5 │ 6 │ SAD │HUD │ + * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─────┬───┼────┤ + * │ │ | │ │ │ │ │ │ │ │ 1 │ 2 │ 3 │VAI│Tog │ + * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬────┼───┼────┤ + * │ │ │ │ PScr │ │ │ │ModR│VAD│ModF│ + * └────┴────┴────┴────────────────────────┴───┴───┴───┴────┴───┴────┘ + */ + + + + [1] = LAYOUT_65_ansi( + KC_GRV, 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, + _______, _______, KC_VOLU, _______, _______, _______, _______, KC_SCRL, _______, KC_7, KC_8, KC_9, KC_BSLS, RGB_SAI, RGB_HUI, + _______, KC_MUTE, KC_VOLD, KC_PAUS, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, RGB_SAD, RGB_HUD, + _______, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, RGB_VAI, RGB_TOG, + _______, _______, _______, KC_PSCR, _______, _______, _______, RGB_MODE_REVERSE, RGB_VAD, RGB_MODE_FORWARD + ) +}; \ No newline at end of file diff --git a/keyboards/hnk/hnk65_rgb/keymaps/via/rules.mk b/keyboards/hnk/hnk65_rgb/keymaps/via/rules.mk new file mode 100644 index 00000000000..86dbb82cb49 --- /dev/null +++ b/keyboards/hnk/hnk65_rgb/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +# This file intentionally left blank +VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/hnk/hnk65_rgb/readme.md b/keyboards/hnk/hnk65_rgb/readme.md new file mode 100644 index 00000000000..6600689a06e --- /dev/null +++ b/keyboards/hnk/hnk65_rgb/readme.md @@ -0,0 +1,27 @@ +# hnk65_rgb + +![hnk65_rgb] image to be added in the future + +Our Hide Nothing Keyboard version of the traditional 65%, with RGB support. For more information visit https://hnkbd.ca + +* Keyboard Maintainer: [hnkbd](https://github.com/ascYAOBT) +* Hardware Supported: hnk65 with per key RGB LED +* Hardware Availability: https://hnkbd.ca + +Make example for this keyboard (after setting up your build environment): + + make hnk65_rgb:default + +Flashing example for this keyboard: + + make hnk65_rgb: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 while plugged in and with QMK Toolbox opened. +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/hnk/hnk65_rgb/rules.mk b/keyboards/hnk/hnk65_rgb/rules.mk new file mode 100644 index 00000000000..7ff128fa692 --- /dev/null +++ b/keyboards/hnk/hnk65_rgb/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank \ No newline at end of file From 93c772a5496fa51d96bf82dab8af05af69e943dc Mon Sep 17 00:00:00 2001 From: Alexis St-Pierre Cadieux Date: Fri, 13 Jun 2025 15:10:04 -0400 Subject: [PATCH 02/19] adding new keyboard, commiting after reviewing PR guidelines --- keyboards/hnk/hnk65/info.json | 2 +- keyboards/hnk/hnk65_backlight/info.json | 31 +++++++-------- keyboards/hnk/hnk65_rgb/info.json | 52 ++++++++++++------------- 3 files changed, 42 insertions(+), 43 deletions(-) diff --git a/keyboards/hnk/hnk65/info.json b/keyboards/hnk/hnk65/info.json index 956d6605482..2a4fe33192a 100644 --- a/keyboards/hnk/hnk65/info.json +++ b/keyboards/hnk/hnk65/info.json @@ -17,7 +17,7 @@ "rows": ["C7", "C6", "B6", "B5", "B4"] }, "processor": "atmega32u4", - "url": "", + "url": "https://hnkbd.ca/", "usb": { "device_version": "1.0.0", "pid": "0x0000", diff --git a/keyboards/hnk/hnk65_backlight/info.json b/keyboards/hnk/hnk65_backlight/info.json index d0721324968..44e828510f9 100644 --- a/keyboards/hnk/hnk65_backlight/info.json +++ b/keyboards/hnk/hnk65_backlight/info.json @@ -18,31 +18,30 @@ "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], "rows": ["C7", "C6", "B6", "B5", "B4"] }, + "processor": "atmega32u4", "rgblight": { - "animations": { - }, + "animations": {}, "brightness_steps": 20, + "default": { + "hue": 169, + "sat": 247, + "val": 200 + }, "hue_steps": 22, "led_count": 68, + "max_brightness": 200, "saturation_steps": 22, - "sleep": true, - "max_brightness":200, - "default":{ - "val":200, - "hue": 169, - "sat": 247 - } - }, - "ws2812": { - "pin": "B2" - }, - "processor": "atmega32u4", - "url": "", + "sleep": true + }, + "url": "https://hnkbd.ca/", "usb": { "device_version": "1.0.0", "pid": "0x0002", "vid": "0x484E" }, + "ws2812": { + "pin": "B2" + }, "layouts": { "LAYOUT_65_ansi": { "layout": [ @@ -117,4 +116,4 @@ ] } } -} +} \ No newline at end of file diff --git a/keyboards/hnk/hnk65_rgb/info.json b/keyboards/hnk/hnk65_rgb/info.json index 81cbf5fd391..c6f633baa0b 100644 --- a/keyboards/hnk/hnk65_rgb/info.json +++ b/keyboards/hnk/hnk65_rgb/info.json @@ -1,17 +1,20 @@ { - "keyboard_name": "hnk65_rgb", "manufacturer": "hnkbd", + "keyboard_name": "hnk65_rgb", "maintainer": "ascYAOBT", + "backlight": { + "driver": "custom" + }, "bootloader": "atmel-dfu", "diode_direction": "COL2ROW", "features": { + "backlight": true, "bootmagic": true, "command": false, "console": false, "extrakey": true, "mousekey": true, "nkro": true, - "backlight": true, "rgblight": true, "rgblight_sleep": true }, @@ -19,42 +22,39 @@ "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], "rows": ["C7", "C6", "B6", "B5", "B4"] }, + "processor": "atmega32u4", "rgblight": { "animations": { - "alternating": true, - "breathing": true, - "christmas": true, - "knight": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "rgb_test": true, - "snake": true, - "static_gradient": true, - "twinkle": true + "alternating": true, + "breathing": true, + "christmas": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "rgb_test": true, + "snake": true, + "static_gradient": true, + "twinkle": true }, "brightness_steps": 20, + "default": { + "val": 120 + }, "hue_steps": 22, "led_count": 68, + "max_brightness": 170, "saturation_steps": 22, - "sleep": true, - "max_brightness":170, - "default":{ - "val":120 - } - }, - "ws2812": { - "pin": "B2" - }, - "processor": "atmega32u4", - "url": "", + "sleep": true + }, + "url": "https://hnkbd.ca/", "usb": { "device_version": "1.0.0", "pid": "0x0001", "vid": "0x484E" }, - "backlight": { - "driver": "custom" - }, + "ws2812": { + "pin": "B2" + }, "layouts": { "LAYOUT_65_ansi": { "layout": [ From 10424f6a97b00295e02d7671dd1e035b8f07b396 Mon Sep 17 00:00:00 2001 From: Alexis St-Pierre Cadieux Date: Fri, 13 Jun 2025 21:18:49 -0400 Subject: [PATCH 03/19] fixing pr lint issues --- keyboards/hnk/hnk65/config.h | 20 --- keyboards/hnk/hnk65/info.json | 1 - keyboards/hnk/hnk65/keyboard.json | 99 +++++++++++++ keyboards/hnk/hnk65/keymaps/via/keymap.c | 48 ------- keyboards/hnk/hnk65/keymaps/via/rules.mk | 2 - keyboards/hnk/hnk65/rules.mk | 1 + keyboards/hnk/hnk65_backlight/config.h | 20 --- keyboards/hnk/hnk65_backlight/info.json | 1 - keyboards/hnk/hnk65_backlight/keyboard.json | 118 ++++++++++++++++ .../hnk/hnk65_backlight/keymaps/via/keymap.c | 55 -------- .../hnk/hnk65_backlight/keymaps/via/rules.mk | 2 - keyboards/hnk/hnk65_backlight/rules.mk | 1 + keyboards/hnk/hnk65_rgb/config.h | 20 --- keyboards/hnk/hnk65_rgb/keyboard.json | 131 ++++++++++++++++++ keyboards/hnk/hnk65_rgb/keymaps/via/keymap.c | 55 -------- keyboards/hnk/hnk65_rgb/keymaps/via/rules.mk | 2 - keyboards/hnk/hnk65_rgb/rules.mk | 3 +- 17 files changed, 352 insertions(+), 227 deletions(-) delete mode 100644 keyboards/hnk/hnk65/config.h create mode 100644 keyboards/hnk/hnk65/keyboard.json delete mode 100644 keyboards/hnk/hnk65/keymaps/via/keymap.c delete mode 100644 keyboards/hnk/hnk65/keymaps/via/rules.mk delete mode 100644 keyboards/hnk/hnk65_backlight/config.h create mode 100644 keyboards/hnk/hnk65_backlight/keyboard.json delete mode 100644 keyboards/hnk/hnk65_backlight/keymaps/via/keymap.c delete mode 100644 keyboards/hnk/hnk65_backlight/keymaps/via/rules.mk delete mode 100644 keyboards/hnk/hnk65_rgb/config.h create mode 100644 keyboards/hnk/hnk65_rgb/keyboard.json delete mode 100644 keyboards/hnk/hnk65_rgb/keymaps/via/keymap.c delete mode 100644 keyboards/hnk/hnk65_rgb/keymaps/via/rules.mk diff --git a/keyboards/hnk/hnk65/config.h b/keyboards/hnk/hnk65/config.h deleted file mode 100644 index d21612b7a30..00000000000 --- a/keyboards/hnk/hnk65/config.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2024 HNKbd (@ascYAOBT) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/hnk/hnk65/info.json b/keyboards/hnk/hnk65/info.json index 2a4fe33192a..10797800711 100644 --- a/keyboards/hnk/hnk65/info.json +++ b/keyboards/hnk/hnk65/info.json @@ -7,7 +7,6 @@ "features": { "bootmagic": true, "command": false, - "console": false, "extrakey": true, "mousekey": true, "nkro": true diff --git a/keyboards/hnk/hnk65/keyboard.json b/keyboards/hnk/hnk65/keyboard.json new file mode 100644 index 00000000000..10797800711 --- /dev/null +++ b/keyboards/hnk/hnk65/keyboard.json @@ -0,0 +1,99 @@ +{ + "manufacturer": "hnkbd", + "keyboard_name": "hnk65", + "maintainer": "ascYAOBT", + "bootloader": "atmel-dfu", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], + "rows": ["C7", "C6", "B6", "B5", "B4"] + }, + "processor": "atmega32u4", + "url": "https://hnkbd.ca/", + "usb": { + "device_version": "1.0.0", + "pid": "0x0000", + "vid": "0x484E" + }, + "layouts": { + "LAYOUT_65_ansi": { + "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, 8], "x": 10, "y": 4}, + {"matrix": [4, 9], "x": 11, "y": 4}, + {"matrix": [4, 10], "x": 12, "y": 4}, + {"matrix": [4, 11], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 14, "y": 4} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/hnk/hnk65/keymaps/via/keymap.c b/keyboards/hnk/hnk65/keymaps/via/keymap.c deleted file mode 100644 index 125dd89bc4b..00000000000 --- a/keyboards/hnk/hnk65/keymaps/via/keymap.c +++ /dev/null @@ -1,48 +0,0 @@ -// 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│Hom│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │PgU│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgD│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ - * │Ctrl│GUI │Alt │ │Alt│ Fn│Ctl│ ← │ ↓ │ → │ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ - */ - [0] = LAYOUT_65_ansi( - 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_HOME, - 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_PGUP, - 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_PGDN, - 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_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐.é - * │ ` │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ Delete│ │ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │ │ │ │ │ │ │Ins│ │ │ │ │PSc│Scr│Pause│ │ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ │ │ │ │ │ │ │Mut│Vl-│Vl+│ │ │ │ │ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ - * │ │ │ │ │ │ │ │ │ │ │ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ - */ - [1] = LAYOUT_65_ansi( - KC_GRV, 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, - _______, _______, KC_VOLU, _______, _______, _______, _______, KC_SCRL, _______, KC_7, KC_8, KC_9, KC_BSLS, _______, _______, - _______, KC_MUTE, KC_VOLD, KC_PAUS, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, - _______, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, _______, _______, - _______, _______, _______, KC_PSCR, _______, _______, _______, _______, _______, _______ - ) -}; diff --git a/keyboards/hnk/hnk65/keymaps/via/rules.mk b/keyboards/hnk/hnk65/keymaps/via/rules.mk deleted file mode 100644 index 86dbb82cb49..00000000000 --- a/keyboards/hnk/hnk65/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -# This file intentionally left blank -VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/hnk/hnk65/rules.mk b/keyboards/hnk/hnk65/rules.mk index 6e7633bfe01..86dbb82cb49 100644 --- a/keyboards/hnk/hnk65/rules.mk +++ b/keyboards/hnk/hnk65/rules.mk @@ -1 +1,2 @@ # This file intentionally left blank +VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/hnk/hnk65_backlight/config.h b/keyboards/hnk/hnk65_backlight/config.h deleted file mode 100644 index 8efe886bc6b..00000000000 --- a/keyboards/hnk/hnk65_backlight/config.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2024 Hide Nothing Keyboard (@hnkbd) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/hnk/hnk65_backlight/info.json b/keyboards/hnk/hnk65_backlight/info.json index 44e828510f9..bc042bf60ce 100644 --- a/keyboards/hnk/hnk65_backlight/info.json +++ b/keyboards/hnk/hnk65_backlight/info.json @@ -7,7 +7,6 @@ "features": { "bootmagic": true, "command": false, - "console": false, "extrakey": true, "mousekey": true, "nkro": true, diff --git a/keyboards/hnk/hnk65_backlight/keyboard.json b/keyboards/hnk/hnk65_backlight/keyboard.json new file mode 100644 index 00000000000..bc042bf60ce --- /dev/null +++ b/keyboards/hnk/hnk65_backlight/keyboard.json @@ -0,0 +1,118 @@ +{ + "manufacturer": "hnkbd", + "keyboard_name": "hnk65_backlight", + "maintainer": "ascYAOBT", + "bootloader": "atmel-dfu", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "rgblight_sleep": true + }, + "matrix_pins": { + "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], + "rows": ["C7", "C6", "B6", "B5", "B4"] + }, + "processor": "atmega32u4", + "rgblight": { + "animations": {}, + "brightness_steps": 20, + "default": { + "hue": 169, + "sat": 247, + "val": 200 + }, + "hue_steps": 22, + "led_count": 68, + "max_brightness": 200, + "saturation_steps": 22, + "sleep": true + }, + "url": "https://hnkbd.ca/", + "usb": { + "device_version": "1.0.0", + "pid": "0x0002", + "vid": "0x484E" + }, + "ws2812": { + "pin": "B2" + }, + "layouts": { + "LAYOUT_65_ansi": { + "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, 8], "x": 10, "y": 4}, + {"matrix": [4, 9], "x": 11, "y": 4}, + {"matrix": [4, 10], "x": 12, "y": 4}, + {"matrix": [4, 11], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 14, "y": 4} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/hnk/hnk65_backlight/keymaps/via/keymap.c b/keyboards/hnk/hnk65_backlight/keymaps/via/keymap.c deleted file mode 100644 index efda0cf2428..00000000000 --- a/keyboards/hnk/hnk65_backlight/keymaps/via/keymap.c +++ /dev/null @@ -1,55 +0,0 @@ -// 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│Home│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼────┤ - * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │PgUp│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼────┤ - * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgDn│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼────┤ - * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End │ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼────┤ - * │Ctrl│GUI │Alt │ │Alt│ Fn│Ctl│ ← │ ↓ │ → │ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴────┘ - */ - - - [0] = LAYOUT_65_ansi( - 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_HOME, - 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_PGUP, - 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_PGDN, - 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_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT,KC_DOWN, KC_RGHT - ), - - - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────────┬────┐ - * │Grv│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ Ins │Del │ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬──────┼────┤ - * │ │ │Vl+│ │ │ │ │SrL│ │ 7 │ 8 │ 9 │ \ │ SAI │HUI │ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴──────┼────┤ - * │ │Mut│Vl-│Pau│ │ │ │ │ │ 4 │ 5 │ 6 │ SAD │HUD │ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─────┬───┼────┤ - * │ │ | │ │ │ │ │ │ │ │ 1 │ 2 │ 3 │VAI│Tog │ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬────┼───┼────┤ - * │ │ │ │ PScr │ │ │ │ModR│VAD│ModF│ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴────┴───┴────┘ - */ - - - - [1] = LAYOUT_65_ansi( - KC_GRV, 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, - _______, _______, KC_VOLU, _______, _______, _______, _______, KC_SCRL, _______, KC_7, KC_8, KC_9, KC_BSLS, _______, _______, - _______, KC_MUTE, KC_VOLD, KC_PAUS, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, - _______, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, _______, _______, - _______, _______, _______, KC_PSCR, _______, _______, _______, _______,_______ , - ) -}; \ No newline at end of file diff --git a/keyboards/hnk/hnk65_backlight/keymaps/via/rules.mk b/keyboards/hnk/hnk65_backlight/keymaps/via/rules.mk deleted file mode 100644 index 86dbb82cb49..00000000000 --- a/keyboards/hnk/hnk65_backlight/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -# This file intentionally left blank -VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/hnk/hnk65_backlight/rules.mk b/keyboards/hnk/hnk65_backlight/rules.mk index 6e7633bfe01..86dbb82cb49 100644 --- a/keyboards/hnk/hnk65_backlight/rules.mk +++ b/keyboards/hnk/hnk65_backlight/rules.mk @@ -1 +1,2 @@ # This file intentionally left blank +VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/hnk/hnk65_rgb/config.h b/keyboards/hnk/hnk65_rgb/config.h deleted file mode 100644 index d21612b7a30..00000000000 --- a/keyboards/hnk/hnk65_rgb/config.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2024 HNKbd (@ascYAOBT) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT diff --git a/keyboards/hnk/hnk65_rgb/keyboard.json b/keyboards/hnk/hnk65_rgb/keyboard.json new file mode 100644 index 00000000000..f7852097f97 --- /dev/null +++ b/keyboards/hnk/hnk65_rgb/keyboard.json @@ -0,0 +1,131 @@ +{ + "manufacturer": "hnkbd", + "keyboard_name": "hnk65_rgb", + "maintainer": "ascYAOBT", + "backlight": { + "driver": "custom" + }, + "bootloader": "atmel-dfu", + "diode_direction": "COL2ROW", + "features": { + "backlight": true, + "bootmagic": true, + "command": false, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgblight": true, + "rgblight_sleep": true + }, + "matrix_pins": { + "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], + "rows": ["C7", "C6", "B6", "B5", "B4"] + }, + "processor": "atmega32u4", + "rgblight": { + "animations": { + "alternating": true, + "breathing": true, + "christmas": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "rgb_test": true, + "snake": true, + "static_gradient": true, + "twinkle": true + }, + "brightness_steps": 20, + "default": { + "val": 120 + }, + "hue_steps": 22, + "led_count": 68, + "max_brightness": 170, + "saturation_steps": 22, + "sleep": true + }, + "url": "https://hnkbd.ca/", + "usb": { + "device_version": "1.0.0", + "pid": "0x0001", + "vid": "0x484E" + }, + "ws2812": { + "pin": "B2" + }, + "layouts": { + "LAYOUT_65_ansi": { + "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, 8], "x": 10, "y": 4}, + {"matrix": [4, 9], "x": 11, "y": 4}, + {"matrix": [4, 10], "x": 12, "y": 4}, + {"matrix": [4, 11], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 14, "y": 4} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/hnk/hnk65_rgb/keymaps/via/keymap.c b/keyboards/hnk/hnk65_rgb/keymaps/via/keymap.c deleted file mode 100644 index 9a2000428bb..00000000000 --- a/keyboards/hnk/hnk65_rgb/keymaps/via/keymap.c +++ /dev/null @@ -1,55 +0,0 @@ -// 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│Home│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼────┤ - * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │PgUp│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼────┤ - * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgDn│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼────┤ - * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End │ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼────┤ - * │Ctrl│GUI │Alt │ │Alt│ Fn│Ctl│ ← │ ↓ │ → │ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴────┘ - */ - - - [0] = LAYOUT_65_ansi( - 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_HOME, - 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_PGUP, - 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_PGDN, - 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_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT,KC_DOWN, KC_RGHT - ), - - - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────────┬────┐ - * │Grv│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ Ins │Del │ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬──────┼────┤ - * │ │ │Vl+│ │ │ │ │SrL│ │ 7 │ 8 │ 9 │ \ │ SAI │HUI │ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴──────┼────┤ - * │ │Mut│Vl-│Pau│ │ │ │ │ │ 4 │ 5 │ 6 │ SAD │HUD │ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─────┬───┼────┤ - * │ │ | │ │ │ │ │ │ │ │ 1 │ 2 │ 3 │VAI│Tog │ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬────┼───┼────┤ - * │ │ │ │ PScr │ │ │ │ModR│VAD│ModF│ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴────┴───┴────┘ - */ - - - - [1] = LAYOUT_65_ansi( - KC_GRV, 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, - _______, _______, KC_VOLU, _______, _______, _______, _______, KC_SCRL, _______, KC_7, KC_8, KC_9, KC_BSLS, RGB_SAI, RGB_HUI, - _______, KC_MUTE, KC_VOLD, KC_PAUS, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, RGB_SAD, RGB_HUD, - _______, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, RGB_VAI, RGB_TOG, - _______, _______, _______, KC_PSCR, _______, _______, _______, RGB_MODE_REVERSE, RGB_VAD, RGB_MODE_FORWARD - ) -}; \ No newline at end of file diff --git a/keyboards/hnk/hnk65_rgb/keymaps/via/rules.mk b/keyboards/hnk/hnk65_rgb/keymaps/via/rules.mk deleted file mode 100644 index 86dbb82cb49..00000000000 --- a/keyboards/hnk/hnk65_rgb/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -# This file intentionally left blank -VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/hnk/hnk65_rgb/rules.mk b/keyboards/hnk/hnk65_rgb/rules.mk index 7ff128fa692..86dbb82cb49 100644 --- a/keyboards/hnk/hnk65_rgb/rules.mk +++ b/keyboards/hnk/hnk65_rgb/rules.mk @@ -1 +1,2 @@ -# This file intentionally left blank \ No newline at end of file +# This file intentionally left blank +VIA_ENABLE = yes \ No newline at end of file From 12db504a448c231161d31ad8c21add66fd147054 Mon Sep 17 00:00:00 2001 From: Alexis St-Pierre Cadieux Date: Fri, 13 Jun 2025 22:35:54 -0400 Subject: [PATCH 04/19] removed info.json and command feature option, and removed rules.mk --- keyboards/hnk/hnk65/info.json | 99 --------------- keyboards/hnk/hnk65/keyboard.json | 1 - keyboards/hnk/hnk65/rules.mk | 2 - keyboards/hnk/hnk65_backlight/info.json | 118 ----------------- keyboards/hnk/hnk65_backlight/keyboard.json | 1 - keyboards/hnk/hnk65_backlight/rules.mk | 2 - keyboards/hnk/hnk65_rgb/info.json | 132 -------------------- keyboards/hnk/hnk65_rgb/keyboard.json | 1 - keyboards/hnk/hnk65_rgb/rules.mk | 2 - 9 files changed, 358 deletions(-) delete mode 100644 keyboards/hnk/hnk65/info.json delete mode 100644 keyboards/hnk/hnk65/rules.mk delete mode 100644 keyboards/hnk/hnk65_backlight/info.json delete mode 100644 keyboards/hnk/hnk65_backlight/rules.mk delete mode 100644 keyboards/hnk/hnk65_rgb/info.json delete mode 100644 keyboards/hnk/hnk65_rgb/rules.mk diff --git a/keyboards/hnk/hnk65/info.json b/keyboards/hnk/hnk65/info.json deleted file mode 100644 index 10797800711..00000000000 --- a/keyboards/hnk/hnk65/info.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "manufacturer": "hnkbd", - "keyboard_name": "hnk65", - "maintainer": "ascYAOBT", - "bootloader": "atmel-dfu", - "diode_direction": "COL2ROW", - "features": { - "bootmagic": true, - "command": false, - "extrakey": true, - "mousekey": true, - "nkro": true - }, - "matrix_pins": { - "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], - "rows": ["C7", "C6", "B6", "B5", "B4"] - }, - "processor": "atmega32u4", - "url": "https://hnkbd.ca/", - "usb": { - "device_version": "1.0.0", - "pid": "0x0000", - "vid": "0x484E" - }, - "layouts": { - "LAYOUT_65_ansi": { - "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, 8], "x": 10, "y": 4}, - {"matrix": [4, 9], "x": 11, "y": 4}, - {"matrix": [4, 10], "x": 12, "y": 4}, - {"matrix": [4, 11], "x": 13, "y": 4}, - {"matrix": [4, 13], "x": 14, "y": 4}, - {"matrix": [4, 14], "x": 14, "y": 4} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/hnk/hnk65/keyboard.json b/keyboards/hnk/hnk65/keyboard.json index 10797800711..cc1881aa892 100644 --- a/keyboards/hnk/hnk65/keyboard.json +++ b/keyboards/hnk/hnk65/keyboard.json @@ -6,7 +6,6 @@ "diode_direction": "COL2ROW", "features": { "bootmagic": true, - "command": false, "extrakey": true, "mousekey": true, "nkro": true diff --git a/keyboards/hnk/hnk65/rules.mk b/keyboards/hnk/hnk65/rules.mk deleted file mode 100644 index 86dbb82cb49..00000000000 --- a/keyboards/hnk/hnk65/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -# This file intentionally left blank -VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/hnk/hnk65_backlight/info.json b/keyboards/hnk/hnk65_backlight/info.json deleted file mode 100644 index bc042bf60ce..00000000000 --- a/keyboards/hnk/hnk65_backlight/info.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "manufacturer": "hnkbd", - "keyboard_name": "hnk65_backlight", - "maintainer": "ascYAOBT", - "bootloader": "atmel-dfu", - "diode_direction": "COL2ROW", - "features": { - "bootmagic": true, - "command": false, - "extrakey": true, - "mousekey": true, - "nkro": true, - "rgblight": true, - "rgblight_sleep": true - }, - "matrix_pins": { - "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], - "rows": ["C7", "C6", "B6", "B5", "B4"] - }, - "processor": "atmega32u4", - "rgblight": { - "animations": {}, - "brightness_steps": 20, - "default": { - "hue": 169, - "sat": 247, - "val": 200 - }, - "hue_steps": 22, - "led_count": 68, - "max_brightness": 200, - "saturation_steps": 22, - "sleep": true - }, - "url": "https://hnkbd.ca/", - "usb": { - "device_version": "1.0.0", - "pid": "0x0002", - "vid": "0x484E" - }, - "ws2812": { - "pin": "B2" - }, - "layouts": { - "LAYOUT_65_ansi": { - "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, 8], "x": 10, "y": 4}, - {"matrix": [4, 9], "x": 11, "y": 4}, - {"matrix": [4, 10], "x": 12, "y": 4}, - {"matrix": [4, 11], "x": 13, "y": 4}, - {"matrix": [4, 13], "x": 14, "y": 4}, - {"matrix": [4, 14], "x": 14, "y": 4} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/hnk/hnk65_backlight/keyboard.json b/keyboards/hnk/hnk65_backlight/keyboard.json index bc042bf60ce..9785e7cd072 100644 --- a/keyboards/hnk/hnk65_backlight/keyboard.json +++ b/keyboards/hnk/hnk65_backlight/keyboard.json @@ -6,7 +6,6 @@ "diode_direction": "COL2ROW", "features": { "bootmagic": true, - "command": false, "extrakey": true, "mousekey": true, "nkro": true, diff --git a/keyboards/hnk/hnk65_backlight/rules.mk b/keyboards/hnk/hnk65_backlight/rules.mk deleted file mode 100644 index 86dbb82cb49..00000000000 --- a/keyboards/hnk/hnk65_backlight/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -# This file intentionally left blank -VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/hnk/hnk65_rgb/info.json b/keyboards/hnk/hnk65_rgb/info.json deleted file mode 100644 index c6f633baa0b..00000000000 --- a/keyboards/hnk/hnk65_rgb/info.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "manufacturer": "hnkbd", - "keyboard_name": "hnk65_rgb", - "maintainer": "ascYAOBT", - "backlight": { - "driver": "custom" - }, - "bootloader": "atmel-dfu", - "diode_direction": "COL2ROW", - "features": { - "backlight": true, - "bootmagic": true, - "command": false, - "console": false, - "extrakey": true, - "mousekey": true, - "nkro": true, - "rgblight": true, - "rgblight_sleep": true - }, - "matrix_pins": { - "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], - "rows": ["C7", "C6", "B6", "B5", "B4"] - }, - "processor": "atmega32u4", - "rgblight": { - "animations": { - "alternating": true, - "breathing": true, - "christmas": true, - "knight": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "rgb_test": true, - "snake": true, - "static_gradient": true, - "twinkle": true - }, - "brightness_steps": 20, - "default": { - "val": 120 - }, - "hue_steps": 22, - "led_count": 68, - "max_brightness": 170, - "saturation_steps": 22, - "sleep": true - }, - "url": "https://hnkbd.ca/", - "usb": { - "device_version": "1.0.0", - "pid": "0x0001", - "vid": "0x484E" - }, - "ws2812": { - "pin": "B2" - }, - "layouts": { - "LAYOUT_65_ansi": { - "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, 8], "x": 10, "y": 4}, - {"matrix": [4, 9], "x": 11, "y": 4}, - {"matrix": [4, 10], "x": 12, "y": 4}, - {"matrix": [4, 11], "x": 13, "y": 4}, - {"matrix": [4, 13], "x": 14, "y": 4}, - {"matrix": [4, 14], "x": 14, "y": 4} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/hnk/hnk65_rgb/keyboard.json b/keyboards/hnk/hnk65_rgb/keyboard.json index f7852097f97..e4092f4db23 100644 --- a/keyboards/hnk/hnk65_rgb/keyboard.json +++ b/keyboards/hnk/hnk65_rgb/keyboard.json @@ -10,7 +10,6 @@ "features": { "backlight": true, "bootmagic": true, - "command": false, "extrakey": true, "mousekey": true, "nkro": true, diff --git a/keyboards/hnk/hnk65_rgb/rules.mk b/keyboards/hnk/hnk65_rgb/rules.mk deleted file mode 100644 index 86dbb82cb49..00000000000 --- a/keyboards/hnk/hnk65_rgb/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -# This file intentionally left blank -VIA_ENABLE = yes \ No newline at end of file From 22f7771735f32df3813a4d038aba27d7a52bc4fc Mon Sep 17 00:00:00 2001 From: Alexis St-Pierre Cadieux Date: Mon, 16 Jun 2025 20:30:20 -0400 Subject: [PATCH 05/19] Adjusting folder structure with a common info.json file, as per dunk2k suggestion --- keyboards/hnk/hnk65/backlight/keyboard.json | 31 +++++ .../backlight}/keymaps/default/keymap.c | 0 .../backlight}/readme.md | 0 keyboards/hnk/hnk65/no_rgb/keyboard.json | 13 ++ .../{ => no_rgb}/keymaps/default/keymap.c | 0 keyboards/hnk/hnk65/{ => no_rgb}/readme.md | 0 keyboards/hnk/hnk65/rgb/keyboard.json | 44 ++++++ .../rgb}/keymaps/default/keymap.c | 0 .../hnk/{hnk65_rgb => hnk65/rgb}/readme.md | 0 keyboards/hnk/hnk65_backlight/keyboard.json | 117 ---------------- keyboards/hnk/hnk65_rgb/keyboard.json | 130 ------------------ .../hnk/{hnk65/keyboard.json => info.json} | 12 +- 12 files changed, 90 insertions(+), 257 deletions(-) create mode 100644 keyboards/hnk/hnk65/backlight/keyboard.json rename keyboards/hnk/{hnk65_backlight => hnk65/backlight}/keymaps/default/keymap.c (100%) rename keyboards/hnk/{hnk65_backlight => hnk65/backlight}/readme.md (100%) create mode 100644 keyboards/hnk/hnk65/no_rgb/keyboard.json rename keyboards/hnk/hnk65/{ => no_rgb}/keymaps/default/keymap.c (100%) rename keyboards/hnk/hnk65/{ => no_rgb}/readme.md (100%) create mode 100644 keyboards/hnk/hnk65/rgb/keyboard.json rename keyboards/hnk/{hnk65_rgb => hnk65/rgb}/keymaps/default/keymap.c (100%) rename keyboards/hnk/{hnk65_rgb => hnk65/rgb}/readme.md (100%) delete mode 100644 keyboards/hnk/hnk65_backlight/keyboard.json delete mode 100644 keyboards/hnk/hnk65_rgb/keyboard.json rename keyboards/hnk/{hnk65/keyboard.json => info.json} (92%) diff --git a/keyboards/hnk/hnk65/backlight/keyboard.json b/keyboards/hnk/hnk65/backlight/keyboard.json new file mode 100644 index 00000000000..dbe552b0d5b --- /dev/null +++ b/keyboards/hnk/hnk65/backlight/keyboard.json @@ -0,0 +1,31 @@ +{ + "keyboard_name": "hnk65_backlight", + "features": { + "rgblight": true, + "rgblight_sleep": true + }, + "matrix_pins": { + "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], + "rows": ["C7", "C6", "B6", "B5", "B4"] + }, + "processor": "atmega32u4", + "rgblight": { + "animations": {}, + "brightness_steps": 20, + "default": { + "hue": 169, + "sat": 247, + "val": 200 + }, + "hue_steps": 22, + "led_count": 68, + "max_brightness": 200, + "saturation_steps": 22, + "sleep": true + }, + "usb": { + "device_version": "1.0.0", + "pid": "0x0002", + "vid": "0x484E" + } +} \ No newline at end of file diff --git a/keyboards/hnk/hnk65_backlight/keymaps/default/keymap.c b/keyboards/hnk/hnk65/backlight/keymaps/default/keymap.c similarity index 100% rename from keyboards/hnk/hnk65_backlight/keymaps/default/keymap.c rename to keyboards/hnk/hnk65/backlight/keymaps/default/keymap.c diff --git a/keyboards/hnk/hnk65_backlight/readme.md b/keyboards/hnk/hnk65/backlight/readme.md similarity index 100% rename from keyboards/hnk/hnk65_backlight/readme.md rename to keyboards/hnk/hnk65/backlight/readme.md diff --git a/keyboards/hnk/hnk65/no_rgb/keyboard.json b/keyboards/hnk/hnk65/no_rgb/keyboard.json new file mode 100644 index 00000000000..35a0cb099f6 --- /dev/null +++ b/keyboards/hnk/hnk65/no_rgb/keyboard.json @@ -0,0 +1,13 @@ +{ + "keyboard_name": "hnk65", + "matrix_pins": { + "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], + "rows": ["C7", "C6", "B6", "B5", "B4"] + }, + "processor": "atmega32u4", + "usb": { + "device_version": "1.0.0", + "pid": "0x0000", + "vid": "0x484E" + } +} \ No newline at end of file diff --git a/keyboards/hnk/hnk65/keymaps/default/keymap.c b/keyboards/hnk/hnk65/no_rgb/keymaps/default/keymap.c similarity index 100% rename from keyboards/hnk/hnk65/keymaps/default/keymap.c rename to keyboards/hnk/hnk65/no_rgb/keymaps/default/keymap.c diff --git a/keyboards/hnk/hnk65/readme.md b/keyboards/hnk/hnk65/no_rgb/readme.md similarity index 100% rename from keyboards/hnk/hnk65/readme.md rename to keyboards/hnk/hnk65/no_rgb/readme.md diff --git a/keyboards/hnk/hnk65/rgb/keyboard.json b/keyboards/hnk/hnk65/rgb/keyboard.json new file mode 100644 index 00000000000..c6921439b98 --- /dev/null +++ b/keyboards/hnk/hnk65/rgb/keyboard.json @@ -0,0 +1,44 @@ +{ + "keyboard_name": "hnk65_rgb", + "backlight": { + "driver": "custom" + }, + "features": { + "backlight": true, + "rgblight": true, + "rgblight_sleep": true + }, + "matrix_pins": { + "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], + "rows": ["C7", "C6", "B6", "B5", "B4"] + }, + "processor": "atmega32u4", + "rgblight": { + "animations": { + "alternating": true, + "breathing": true, + "christmas": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "rgb_test": true, + "snake": true, + "static_gradient": true, + "twinkle": true + }, + "brightness_steps": 20, + "default": { + "val": 120 + }, + "hue_steps": 22, + "led_count": 68, + "max_brightness": 170, + "saturation_steps": 22, + "sleep": true + }, + "usb": { + "device_version": "1.0.0", + "pid": "0x0001", + "vid": "0x484E" + } +} \ No newline at end of file diff --git a/keyboards/hnk/hnk65_rgb/keymaps/default/keymap.c b/keyboards/hnk/hnk65/rgb/keymaps/default/keymap.c similarity index 100% rename from keyboards/hnk/hnk65_rgb/keymaps/default/keymap.c rename to keyboards/hnk/hnk65/rgb/keymaps/default/keymap.c diff --git a/keyboards/hnk/hnk65_rgb/readme.md b/keyboards/hnk/hnk65/rgb/readme.md similarity index 100% rename from keyboards/hnk/hnk65_rgb/readme.md rename to keyboards/hnk/hnk65/rgb/readme.md diff --git a/keyboards/hnk/hnk65_backlight/keyboard.json b/keyboards/hnk/hnk65_backlight/keyboard.json deleted file mode 100644 index 9785e7cd072..00000000000 --- a/keyboards/hnk/hnk65_backlight/keyboard.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "manufacturer": "hnkbd", - "keyboard_name": "hnk65_backlight", - "maintainer": "ascYAOBT", - "bootloader": "atmel-dfu", - "diode_direction": "COL2ROW", - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "nkro": true, - "rgblight": true, - "rgblight_sleep": true - }, - "matrix_pins": { - "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], - "rows": ["C7", "C6", "B6", "B5", "B4"] - }, - "processor": "atmega32u4", - "rgblight": { - "animations": {}, - "brightness_steps": 20, - "default": { - "hue": 169, - "sat": 247, - "val": 200 - }, - "hue_steps": 22, - "led_count": 68, - "max_brightness": 200, - "saturation_steps": 22, - "sleep": true - }, - "url": "https://hnkbd.ca/", - "usb": { - "device_version": "1.0.0", - "pid": "0x0002", - "vid": "0x484E" - }, - "ws2812": { - "pin": "B2" - }, - "layouts": { - "LAYOUT_65_ansi": { - "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, 8], "x": 10, "y": 4}, - {"matrix": [4, 9], "x": 11, "y": 4}, - {"matrix": [4, 10], "x": 12, "y": 4}, - {"matrix": [4, 11], "x": 13, "y": 4}, - {"matrix": [4, 13], "x": 14, "y": 4}, - {"matrix": [4, 14], "x": 14, "y": 4} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/hnk/hnk65_rgb/keyboard.json b/keyboards/hnk/hnk65_rgb/keyboard.json deleted file mode 100644 index e4092f4db23..00000000000 --- a/keyboards/hnk/hnk65_rgb/keyboard.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "manufacturer": "hnkbd", - "keyboard_name": "hnk65_rgb", - "maintainer": "ascYAOBT", - "backlight": { - "driver": "custom" - }, - "bootloader": "atmel-dfu", - "diode_direction": "COL2ROW", - "features": { - "backlight": true, - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "nkro": true, - "rgblight": true, - "rgblight_sleep": true - }, - "matrix_pins": { - "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], - "rows": ["C7", "C6", "B6", "B5", "B4"] - }, - "processor": "atmega32u4", - "rgblight": { - "animations": { - "alternating": true, - "breathing": true, - "christmas": true, - "knight": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "rgb_test": true, - "snake": true, - "static_gradient": true, - "twinkle": true - }, - "brightness_steps": 20, - "default": { - "val": 120 - }, - "hue_steps": 22, - "led_count": 68, - "max_brightness": 170, - "saturation_steps": 22, - "sleep": true - }, - "url": "https://hnkbd.ca/", - "usb": { - "device_version": "1.0.0", - "pid": "0x0001", - "vid": "0x484E" - }, - "ws2812": { - "pin": "B2" - }, - "layouts": { - "LAYOUT_65_ansi": { - "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, 8], "x": 10, "y": 4}, - {"matrix": [4, 9], "x": 11, "y": 4}, - {"matrix": [4, 10], "x": 12, "y": 4}, - {"matrix": [4, 11], "x": 13, "y": 4}, - {"matrix": [4, 13], "x": 14, "y": 4}, - {"matrix": [4, 14], "x": 14, "y": 4} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/hnk/hnk65/keyboard.json b/keyboards/hnk/info.json similarity index 92% rename from keyboards/hnk/hnk65/keyboard.json rename to keyboards/hnk/info.json index cc1881aa892..c4fd3333c75 100644 --- a/keyboards/hnk/hnk65/keyboard.json +++ b/keyboards/hnk/info.json @@ -1,6 +1,5 @@ { "manufacturer": "hnkbd", - "keyboard_name": "hnk65", "maintainer": "ascYAOBT", "bootloader": "atmel-dfu", "diode_direction": "COL2ROW", @@ -10,16 +9,9 @@ "mousekey": true, "nkro": true }, - "matrix_pins": { - "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], - "rows": ["C7", "C6", "B6", "B5", "B4"] - }, - "processor": "atmega32u4", "url": "https://hnkbd.ca/", - "usb": { - "device_version": "1.0.0", - "pid": "0x0000", - "vid": "0x484E" + "ws2812": { + "pin": "B2" }, "layouts": { "LAYOUT_65_ansi": { From 1dd403037e93b5d147080643a40831c4b3958980 Mon Sep 17 00:00:00 2001 From: Alexis St-Pierre Cadieux Date: Mon, 16 Jun 2025 20:35:09 -0400 Subject: [PATCH 06/19] mooving info.json file --- keyboards/hnk/{ => hnk65}/info.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename keyboards/hnk/{ => hnk65}/info.json (100%) diff --git a/keyboards/hnk/info.json b/keyboards/hnk/hnk65/info.json similarity index 100% rename from keyboards/hnk/info.json rename to keyboards/hnk/hnk65/info.json From 89119954df38ba7fccffd142de878d318bf07ce2 Mon Sep 17 00:00:00 2001 From: ascYAOBT <53766398+ascYAOBT@users.noreply.github.com> Date: Fri, 27 Jun 2025 13:48:52 -0400 Subject: [PATCH 07/19] Update keyboards/hnk/hnk65/backlight/keyboard.json Co-authored-by: Duncan Sutherland --- keyboards/hnk/hnk65/backlight/keyboard.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/keyboards/hnk/hnk65/backlight/keyboard.json b/keyboards/hnk/hnk65/backlight/keyboard.json index dbe552b0d5b..bb84cb38da8 100644 --- a/keyboards/hnk/hnk65/backlight/keyboard.json +++ b/keyboards/hnk/hnk65/backlight/keyboard.json @@ -4,11 +4,6 @@ "rgblight": true, "rgblight_sleep": true }, - "matrix_pins": { - "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], - "rows": ["C7", "C6", "B6", "B5", "B4"] - }, - "processor": "atmega32u4", "rgblight": { "animations": {}, "brightness_steps": 20, From ff7d2b21793501885d489775aa24f6100d3cda13 Mon Sep 17 00:00:00 2001 From: ascYAOBT <53766398+ascYAOBT@users.noreply.github.com> Date: Fri, 27 Jun 2025 13:50:55 -0400 Subject: [PATCH 08/19] Update keyboards/hnk/hnk65/info.json Co-authored-by: Duncan Sutherland --- keyboards/hnk/hnk65/info.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/keyboards/hnk/hnk65/info.json b/keyboards/hnk/hnk65/info.json index c4fd3333c75..61d35a93b60 100644 --- a/keyboards/hnk/hnk65/info.json +++ b/keyboards/hnk/hnk65/info.json @@ -3,6 +3,11 @@ "maintainer": "ascYAOBT", "bootloader": "atmel-dfu", "diode_direction": "COL2ROW", + "matrix_pins": { + "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], + "rows": ["C7", "C6", "B6", "B5", "B4"] + }, + "processor": "atmega32u4", "features": { "bootmagic": true, "extrakey": true, From a748d03329682ca795b57d03a292f6c09c0320e7 Mon Sep 17 00:00:00 2001 From: ascYAOBT <53766398+ascYAOBT@users.noreply.github.com> Date: Fri, 27 Jun 2025 13:51:36 -0400 Subject: [PATCH 09/19] Update keyboards/hnk/hnk65/rgb/keyboard.json Co-authored-by: Duncan Sutherland --- keyboards/hnk/hnk65/rgb/keyboard.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/keyboards/hnk/hnk65/rgb/keyboard.json b/keyboards/hnk/hnk65/rgb/keyboard.json index c6921439b98..25da9ce8781 100644 --- a/keyboards/hnk/hnk65/rgb/keyboard.json +++ b/keyboards/hnk/hnk65/rgb/keyboard.json @@ -8,11 +8,6 @@ "rgblight": true, "rgblight_sleep": true }, - "matrix_pins": { - "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], - "rows": ["C7", "C6", "B6", "B5", "B4"] - }, - "processor": "atmega32u4", "rgblight": { "animations": { "alternating": true, From 9dc783d8bb1229334249bcc0907a1c67ce9eb066 Mon Sep 17 00:00:00 2001 From: ascYAOBT <53766398+ascYAOBT@users.noreply.github.com> Date: Fri, 27 Jun 2025 13:51:46 -0400 Subject: [PATCH 10/19] Update keyboards/hnk/hnk65/no_rgb/keyboard.json Co-authored-by: Duncan Sutherland --- keyboards/hnk/hnk65/no_rgb/keyboard.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/keyboards/hnk/hnk65/no_rgb/keyboard.json b/keyboards/hnk/hnk65/no_rgb/keyboard.json index 35a0cb099f6..9f3230f11b4 100644 --- a/keyboards/hnk/hnk65/no_rgb/keyboard.json +++ b/keyboards/hnk/hnk65/no_rgb/keyboard.json @@ -1,10 +1,5 @@ { "keyboard_name": "hnk65", - "matrix_pins": { - "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], - "rows": ["C7", "C6", "B6", "B5", "B4"] - }, - "processor": "atmega32u4", "usb": { "device_version": "1.0.0", "pid": "0x0000", From cbe39fc3145086e2674f383fbd7e7b0e974b8533 Mon Sep 17 00:00:00 2001 From: ascYAOBT <53766398+ascYAOBT@users.noreply.github.com> Date: Fri, 27 Jun 2025 13:53:54 -0400 Subject: [PATCH 11/19] Update keyboards/hnk/hnk65/info.json Co-authored-by: Duncan Sutherland --- keyboards/hnk/hnk65/info.json | 1 + 1 file changed, 1 insertion(+) diff --git a/keyboards/hnk/hnk65/info.json b/keyboards/hnk/hnk65/info.json index 61d35a93b60..b244e7801be 100644 --- a/keyboards/hnk/hnk65/info.json +++ b/keyboards/hnk/hnk65/info.json @@ -18,6 +18,7 @@ "ws2812": { "pin": "B2" }, + "community_layouts": ["65_ansi"], "layouts": { "LAYOUT_65_ansi": { "layout": [ From 8f802d528e829a358ef89d752e1d037ea4bedde9 Mon Sep 17 00:00:00 2001 From: Alexis St-Pierre Cadieux Date: Mon, 30 Jun 2025 20:06:17 -0400 Subject: [PATCH 12/19] Adjusting to a single revision, removing backlight, changing to RGB_Matrix --- keyboards/hnk/hnk65/rgb/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/hnk/hnk65/rgb/readme.md b/keyboards/hnk/hnk65/rgb/readme.md index 6600689a06e..00af35ef0b8 100644 --- a/keyboards/hnk/hnk65/rgb/readme.md +++ b/keyboards/hnk/hnk65/rgb/readme.md @@ -2,7 +2,7 @@ ![hnk65_rgb] image to be added in the future -Our Hide Nothing Keyboard version of the traditional 65%, with RGB support. For more information visit https://hnkbd.ca +Our Hide Nothing Keyboard version of the traditional 65%, with or without RGB support. For more information visit https://hnkbd.ca * Keyboard Maintainer: [hnkbd](https://github.com/ascYAOBT) * Hardware Supported: hnk65 with per key RGB LED From 8f8a0db19aff725fcf968b4528441436aaaacbf1 Mon Sep 17 00:00:00 2001 From: Alexis St-Pierre Cadieux Date: Mon, 30 Jun 2025 20:13:21 -0400 Subject: [PATCH 13/19] Adjusting to a single revision, removing backlight, changing to RGB_Matrix --- keyboards/hnk/hnk65/backlight/keyboard.json | 26 --- .../hnk65/backlight/keymaps/default/keymap.c | 55 ----- keyboards/hnk/hnk65/backlight/readme.md | 27 --- keyboards/hnk/hnk65/config.h | 27 +++ keyboards/hnk/hnk65/info.json | 96 --------- keyboards/hnk/hnk65/keyboard.json | 197 ++++++++++++++++++ .../hnk65/{rgb => }/keymaps/default/keymap.c | 14 +- keyboards/hnk/hnk65/no_rgb/keyboard.json | 8 - .../hnk/hnk65/no_rgb/keymaps/default/keymap.c | 48 ----- keyboards/hnk/hnk65/no_rgb/readme.md | 28 --- keyboards/hnk/hnk65/{rgb => }/readme.md | 10 +- keyboards/hnk/hnk65/rgb/keyboard.json | 39 ---- 12 files changed, 236 insertions(+), 339 deletions(-) delete mode 100644 keyboards/hnk/hnk65/backlight/keyboard.json delete mode 100644 keyboards/hnk/hnk65/backlight/keymaps/default/keymap.c delete mode 100644 keyboards/hnk/hnk65/backlight/readme.md create mode 100644 keyboards/hnk/hnk65/config.h delete mode 100644 keyboards/hnk/hnk65/info.json create mode 100644 keyboards/hnk/hnk65/keyboard.json rename keyboards/hnk/hnk65/{rgb => }/keymaps/default/keymap.c (81%) delete mode 100644 keyboards/hnk/hnk65/no_rgb/keyboard.json delete mode 100644 keyboards/hnk/hnk65/no_rgb/keymaps/default/keymap.c delete mode 100644 keyboards/hnk/hnk65/no_rgb/readme.md rename keyboards/hnk/hnk65/{rgb => }/readme.md (85%) delete mode 100644 keyboards/hnk/hnk65/rgb/keyboard.json diff --git a/keyboards/hnk/hnk65/backlight/keyboard.json b/keyboards/hnk/hnk65/backlight/keyboard.json deleted file mode 100644 index bb84cb38da8..00000000000 --- a/keyboards/hnk/hnk65/backlight/keyboard.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "keyboard_name": "hnk65_backlight", - "features": { - "rgblight": true, - "rgblight_sleep": true - }, - "rgblight": { - "animations": {}, - "brightness_steps": 20, - "default": { - "hue": 169, - "sat": 247, - "val": 200 - }, - "hue_steps": 22, - "led_count": 68, - "max_brightness": 200, - "saturation_steps": 22, - "sleep": true - }, - "usb": { - "device_version": "1.0.0", - "pid": "0x0002", - "vid": "0x484E" - } -} \ No newline at end of file diff --git a/keyboards/hnk/hnk65/backlight/keymaps/default/keymap.c b/keyboards/hnk/hnk65/backlight/keymaps/default/keymap.c deleted file mode 100644 index efda0cf2428..00000000000 --- a/keyboards/hnk/hnk65/backlight/keymaps/default/keymap.c +++ /dev/null @@ -1,55 +0,0 @@ -// 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│Home│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼────┤ - * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │PgUp│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼────┤ - * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgDn│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼────┤ - * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End │ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼────┤ - * │Ctrl│GUI │Alt │ │Alt│ Fn│Ctl│ ← │ ↓ │ → │ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴────┘ - */ - - - [0] = LAYOUT_65_ansi( - 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_HOME, - 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_PGUP, - 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_PGDN, - 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_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT,KC_DOWN, KC_RGHT - ), - - - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬────────┬────┐ - * │Grv│F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ Ins │Del │ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬──────┼────┤ - * │ │ │Vl+│ │ │ │ │SrL│ │ 7 │ 8 │ 9 │ \ │ SAI │HUI │ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴──────┼────┤ - * │ │Mut│Vl-│Pau│ │ │ │ │ │ 4 │ 5 │ 6 │ SAD │HUD │ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─────┬───┼────┤ - * │ │ | │ │ │ │ │ │ │ │ 1 │ 2 │ 3 │VAI│Tog │ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬────┼───┼────┤ - * │ │ │ │ PScr │ │ │ │ModR│VAD│ModF│ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴────┴───┴────┘ - */ - - - - [1] = LAYOUT_65_ansi( - KC_GRV, 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, - _______, _______, KC_VOLU, _______, _______, _______, _______, KC_SCRL, _______, KC_7, KC_8, KC_9, KC_BSLS, _______, _______, - _______, KC_MUTE, KC_VOLD, KC_PAUS, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, - _______, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, _______, _______, - _______, _______, _______, KC_PSCR, _______, _______, _______, _______,_______ , - ) -}; \ No newline at end of file diff --git a/keyboards/hnk/hnk65/backlight/readme.md b/keyboards/hnk/hnk65/backlight/readme.md deleted file mode 100644 index 192e5119b70..00000000000 --- a/keyboards/hnk/hnk65/backlight/readme.md +++ /dev/null @@ -1,27 +0,0 @@ -# hnk65_backlight - -![hnk65_backlight] image to be added in the future - -Our Hide Nothing Keyboard version of the traditionnal 65%, with backlight light (no per-key RGB). For more information visit https://hnkbd.ca - -* Keyboard Maintainer: [hnkbd](https://github.com/ascYAOBT) -* Hardware Supported: hnk65 with backlight only (no per key RGB LED) -* Hardware Availability: https://hnkbd.ca - -Make example for this keyboard (after setting up your build environment): - - make hnk65_backlight:default - -Flashing example for this keyboard: - - make hnk65_backlight: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 while plugged in and with QMK Toolbox opened. -* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/hnk/hnk65/config.h b/keyboards/hnk/hnk65/config.h new file mode 100644 index 00000000000..701ad075b32 --- /dev/null +++ b/keyboards/hnk/hnk65/config.h @@ -0,0 +1,27 @@ +// Copyright 2024 HNKbd (@ascYAOBT) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN +#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT +#define ENABLE_RGB_MATRIX_BAND_SAT +#define ENABLE_RGB_MATRIX_BAND_VAL +#define ENABLE_RGB_MATRIX_CYCLE_ALL +#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON +#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL +#define ENABLE_RGB_MATRIX_RAINBOW_BEACON +#define ENABLE_RGB_MATRIX_FLOWER_BLOOMING +#define ENABLE_RGB_MATRIX_RAINDROPS +#define ENABLE_RGB_MATRIX_HUE_PENDULUM +#define ENABLE_RGB_MATRIX_HUE_WAVE +#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL +#define ENABLE_RGB_MATRIX_PIXEL_RAIN +#define ENABLE_RGB_MATRIX_STARLIGHT +#define ENABLE_RGB_MATRIX_RIVERFLOW +#define ENABLE_RGB_MATRIX_TYPING_HEATMAP +#define ENABLE_RGB_MATRIX_DIGITAL_RAIN +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE +#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS +#define ENABLE_RGB_MATRIX_SPLASH + diff --git a/keyboards/hnk/hnk65/info.json b/keyboards/hnk/hnk65/info.json deleted file mode 100644 index b244e7801be..00000000000 --- a/keyboards/hnk/hnk65/info.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "manufacturer": "hnkbd", - "maintainer": "ascYAOBT", - "bootloader": "atmel-dfu", - "diode_direction": "COL2ROW", - "matrix_pins": { - "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], - "rows": ["C7", "C6", "B6", "B5", "B4"] - }, - "processor": "atmega32u4", - "features": { - "bootmagic": true, - "extrakey": true, - "mousekey": true, - "nkro": true - }, - "url": "https://hnkbd.ca/", - "ws2812": { - "pin": "B2" - }, - "community_layouts": ["65_ansi"], - "layouts": { - "LAYOUT_65_ansi": { - "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, 8], "x": 10, "y": 4}, - {"matrix": [4, 9], "x": 11, "y": 4}, - {"matrix": [4, 10], "x": 12, "y": 4}, - {"matrix": [4, 11], "x": 13, "y": 4}, - {"matrix": [4, 13], "x": 14, "y": 4}, - {"matrix": [4, 14], "x": 14, "y": 4} - ] - } - } -} \ No newline at end of file diff --git a/keyboards/hnk/hnk65/keyboard.json b/keyboards/hnk/hnk65/keyboard.json new file mode 100644 index 00000000000..88687f526fa --- /dev/null +++ b/keyboards/hnk/hnk65/keyboard.json @@ -0,0 +1,197 @@ +{ + "manufacturer": "hnkbd", + "keyboard_name": "hnk65", + "maintainer": "ascYAOBT", + "bootloader": "atmel-dfu", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "extrakey": true, + "mousekey": true, + "nkro": true, + "rgb_matrix": true + }, + "matrix_pins": { + "cols": ["F4", "F5", "F1", "F0", "B7", "F6", "F7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7"], + "rows": ["C7", "C6", "B6", "B5", "B4"] + }, + "processor": "atmega32u4", + "rgb_matrix": { + "animations": { + "alternating": true, + "breathing": true, + "christmas": true, + "knight": true, + "rainbow_mood": true, + "rainbow_swirl": true, + "rgb_test": true, + "snake": true, + "static_gradient": true, + "twinkle": true + }, + "brightness_steps": 20, + "default": { + "val": 120 + }, + "driver": "ws2812", + "hue_steps": 22, + "layout": [ + {"matrix": [0, 14], "x": 210, "y": 0, "flags": 4}, + {"matrix": [0, 13], "x": 189, "y": 0, "flags": 4}, + {"matrix": [0, 12], "x": 168, "y": 0, "flags": 4}, + {"matrix": [0, 11], "x": 154, "y": 0, "flags": 4}, + {"matrix": [0, 10], "x": 140, "y": 0, "flags": 4}, + {"matrix": [0, 9], "x": 126, "y": 0, "flags": 4}, + {"matrix": [0, 8], "x": 112, "y": 0, "flags": 4}, + {"matrix": [0, 7], "x": 98, "y": 0, "flags": 4}, + {"matrix": [0, 6], "x": 84, "y": 0, "flags": 4}, + {"matrix": [0, 5], "x": 70, "y": 0, "flags": 4}, + {"matrix": [0, 4], "x": 56, "y": 0, "flags": 4}, + {"matrix": [0, 3], "x": 42, "y": 0, "flags": 4}, + {"matrix": [0, 2], "x": 28, "y": 0, "flags": 4}, + {"matrix": [0, 1], "x": 14, "y": 0, "flags": 4}, + {"matrix": [0, 0], "x": 0, "y": 0, "flags": 4}, + {"matrix": [1, 0], "x": 0, "y": 16, "flags": 4}, + {"matrix": [1, 1], "x": 21, "y": 16, "flags": 4}, + {"matrix": [1, 2], "x": 35, "y": 16, "flags": 4}, + {"matrix": [1, 3], "x": 49, "y": 16, "flags": 4}, + {"matrix": [1, 4], "x": 63, "y": 16, "flags": 4}, + {"matrix": [1, 5], "x": 77, "y": 16, "flags": 4}, + {"matrix": [1, 6], "x": 91, "y": 16, "flags": 4}, + {"matrix": [1, 7], "x": 105, "y": 16, "flags": 4}, + {"matrix": [1, 8], "x": 119, "y": 16, "flags": 4}, + {"matrix": [1, 9], "x": 133, "y": 16, "flags": 4}, + {"matrix": [1, 10], "x": 147, "y": 16, "flags": 4}, + {"matrix": [1, 11], "x": 161, "y": 16, "flags": 4}, + {"matrix": [1, 12], "x": 175, "y": 16, "flags": 4}, + {"matrix": [1, 13], "x": 185, "y": 16, "flags": 4}, + {"matrix": [1, 14], "x": 210, "y": 16, "flags": 4}, + {"matrix": [2, 14], "x": 210, "y": 32, "flags": 4}, + {"matrix": [2, 13], "x": 196, "y": 32, "flags": 4}, + {"matrix": [2, 11], "x": 161, "y": 32, "flags": 4}, + {"matrix": [2, 10], "x": 147, "y": 32, "flags": 4}, + {"matrix": [2, 9], "x": 133, "y": 32, "flags": 4}, + {"matrix": [2, 8], "x": 119, "y": 32, "flags": 4}, + {"matrix": [2, 7], "x": 105, "y": 32, "flags": 4}, + {"matrix": [2, 6], "x": 91, "y": 32, "flags": 4}, + {"matrix": [2, 5], "x": 77, "y": 32, "flags": 4}, + {"matrix": [2, 4], "x": 63, "y": 32, "flags": 4}, + {"matrix": [2, 3], "x": 49, "y": 32, "flags": 4}, + {"matrix": [2, 2], "x": 35, "y": 32, "flags": 4}, + {"matrix": [2, 1], "x": 21, "y": 32, "flags": 4}, + {"matrix": [2, 0], "x": 0, "y": 32, "flags": 4}, + {"matrix": [3, 0], "x": 0, "y": 48, "flags": 4}, + {"matrix": [3, 1], "x": 32, "y": 48, "flags": 4}, + {"matrix": [3, 2], "x": 46, "y": 48, "flags": 4}, + {"matrix": [3, 3], "x": 60, "y": 48, "flags": 4}, + {"matrix": [3, 4], "x": 74, "y": 48, "flags": 4}, + {"matrix": [3, 5], "x": 88, "y": 48, "flags": 4}, + {"matrix": [3, 6], "x": 104, "y": 48, "flags": 4}, + {"matrix": [3, 7], "x": 118, "y": 48, "flags": 4}, + {"matrix": [3, 8], "x": 132, "y": 48, "flags": 4}, + {"matrix": [3, 9], "x": 146, "y": 48, "flags": 4}, + {"matrix": [3, 10], "x": 160, "y": 48, "flags": 4}, + {"matrix": [3, 11], "x": 173, "y": 48, "flags": 4}, + {"matrix": [3, 13], "x": 196, "y": 48, "flags": 4}, + {"matrix": [3, 14], "x": 210, "y": 48, "flags": 4}, + {"matrix": [4, 14], "x": 210, "y": 64, "flags": 4}, + {"matrix": [4, 13], "x": 196, "y": 64, "flags": 4}, + {"matrix": [4, 11], "x": 182, "y": 64, "flags": 4}, + {"matrix": [4, 10], "x": 168, "y": 64, "flags": 4}, + {"matrix": [4, 9], "x": 154, "y": 64, "flags": 4}, + {"matrix": [4, 8], "x": 140, "y": 64, "flags": 4}, + {"matrix": [4, 5], "x": 105, "y": 64, "flags": 4}, + {"matrix": [4, 2], "x": 39, "y": 64, "flags": 4}, + {"matrix": [4, 1], "x": 21, "y": 64, "flags": 4}, + {"matrix": [4, 0], "x": 4, "y": 64, "flags": 4} + ], + "led_count": 68, + "max_brightness": 170, + "saturation_steps": 22, + "sleep": true + }, + "url": "https://hnkbd.ca/", + "usb": { + "device_version": "1.0.0", + "pid": "0x0001", + "vid": "0x484E" + }, + "ws2812": { + "pin": "B2" + }, + "community_layouts": ["65_ansi"], + "layouts": { + "LAYOUT_65_ansi": { + "layout": [ + {"matrix": [0, 14], "x": 0, "y": 0}, + {"matrix": [0, 13], "x": 1, "y": 0}, + {"matrix": [0, 12], "x": 2, "y": 0}, + {"matrix": [0, 11], "x": 3, "y": 0}, + {"matrix": [0, 10], "x": 4, "y": 0}, + {"matrix": [0, 9], "x": 5, "y": 0}, + {"matrix": [0, 8], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 6], "x": 8, "y": 0}, + {"matrix": [0, 5], "x": 9, "y": 0}, + {"matrix": [0, 4], "x": 10, "y": 0}, + {"matrix": [0, 3], "x": 11, "y": 0}, + {"matrix": [0, 2], "x": 12, "y": 0}, + {"matrix": [0, 1], "x": 13, "y": 0, "w": 2}, + {"matrix": [0, 0], "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, 14], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 13], "x": 1.75, "y": 2}, + {"matrix": [2, 11], "x": 2.75, "y": 2}, + {"matrix": [2, 10], "x": 3.75, "y": 2}, + {"matrix": [2, 9], "x": 4.75, "y": 2}, + {"matrix": [2, 8], "x": 5.75, "y": 2}, + {"matrix": [2, 7], "x": 6.75, "y": 2}, + {"matrix": [2, 6], "x": 7.75, "y": 2}, + {"matrix": [2, 5], "x": 8.75, "y": 2}, + {"matrix": [2, 4], "x": 9.75, "y": 2}, + {"matrix": [2, 3], "x": 10.75, "y": 2}, + {"matrix": [2, 2], "x": 11.75, "y": 2}, + {"matrix": [2, 1], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [2, 0], "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, 14], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 13], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 11], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 10], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 9], "x": 10, "y": 4}, + {"matrix": [4, 8], "x": 11, "y": 4}, + {"matrix": [4, 5], "x": 12, "y": 4}, + {"matrix": [4, 2], "x": 13, "y": 4}, + {"matrix": [4, 1], "x": 14, "y": 4}, + {"matrix": [4, 0], "x": 15, "y": 4} + ] + } + } +} \ No newline at end of file diff --git a/keyboards/hnk/hnk65/rgb/keymaps/default/keymap.c b/keyboards/hnk/hnk65/keymaps/default/keymap.c similarity index 81% rename from keyboards/hnk/hnk65/rgb/keymaps/default/keymap.c rename to keyboards/hnk/hnk65/keymaps/default/keymap.c index 9a2000428bb..caf7074175c 100644 --- a/keyboards/hnk/hnk65/rgb/keymaps/default/keymap.c +++ b/keyboards/hnk/hnk65/keymaps/default/keymap.c @@ -21,11 +21,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT_65_ansi( - 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_HOME, + KC_HOME, KC_BSPC, KC_EQL, KC_MINS, KC_0, KC_9, KC_8, KC_7, KC_6, KC_5, KC_4, KC_3, KC_2, KC_1, KC_ESC, 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_PGUP, - 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_PGDN, + KC_PGDN, KC_ENT, KC_QUOT, KC_SCLN, KC_L, KC_K, KC_J, KC_H, KC_G, KC_F, KC_D, KC_S, KC_A, KC_CAPS, 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_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT,KC_DOWN, KC_RGHT + KC_RGHT, KC_DOWN, KC_LEFT,KC_RCTL, MO(1), KC_RALT, KC_SPC, KC_LALT, KC_LGUI, KC_LCTL ), @@ -39,17 +39,17 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─────┬───┼────┤ * │ │ | │ │ │ │ │ │ │ │ 1 │ 2 │ 3 │VAI│Tog │ * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬────┼───┼────┤ - * │ │ │ │ PScr │ │ │ │ModR│VAD│ModF│ + * │ │ │ │ PScr │SPD│ │SPI│ModR│VAD│ModF│ * └────┴────┴────┴────────────────────────┴───┴───┴───┴────┴───┴────┘ */ [1] = LAYOUT_65_ansi( - KC_GRV, 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, + KC_DEL, KC_INS, KC_F12, KC_F11, KC_F10, KC_F9, KC_F8, KC_F7, KC_F6, KC_F5, KC_F4, KC_F3, KC_F2, KC_F1, KC_GRV, _______, _______, KC_VOLU, _______, _______, _______, _______, KC_SCRL, _______, KC_7, KC_8, KC_9, KC_BSLS, RGB_SAI, RGB_HUI, - _______, KC_MUTE, KC_VOLD, KC_PAUS, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, RGB_SAD, RGB_HUD, + RGB_HUD, RGB_SAD, KC_6, KC_5, KC_4, _______, _______, _______, _______, _______, KC_PAUS, KC_VOLD, KC_MUTE, _______, _______, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, RGB_VAI, RGB_TOG, - _______, _______, _______, KC_PSCR, _______, _______, _______, RGB_MODE_REVERSE, RGB_VAD, RGB_MODE_FORWARD + RGB_MODE_FORWARD, RGB_VAD, RGB_MODE_REVERSE, RGB_SPI, _______, RGB_SPD, KC_PSCR, _______, _______, _______ ) }; \ No newline at end of file diff --git a/keyboards/hnk/hnk65/no_rgb/keyboard.json b/keyboards/hnk/hnk65/no_rgb/keyboard.json deleted file mode 100644 index 9f3230f11b4..00000000000 --- a/keyboards/hnk/hnk65/no_rgb/keyboard.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "keyboard_name": "hnk65", - "usb": { - "device_version": "1.0.0", - "pid": "0x0000", - "vid": "0x484E" - } -} \ No newline at end of file diff --git a/keyboards/hnk/hnk65/no_rgb/keymaps/default/keymap.c b/keyboards/hnk/hnk65/no_rgb/keymaps/default/keymap.c deleted file mode 100644 index 125dd89bc4b..00000000000 --- a/keyboards/hnk/hnk65/no_rgb/keymaps/default/keymap.c +++ /dev/null @@ -1,48 +0,0 @@ -// 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│Hom│ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ \ │PgU│ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgD│ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ Shift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End│ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ - * │Ctrl│GUI │Alt │ │Alt│ Fn│Ctl│ ← │ ↓ │ → │ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ - */ - [0] = LAYOUT_65_ansi( - 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_HOME, - 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_PGUP, - 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_PGDN, - 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_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT - ), - - /* - * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐.é - * │ ` │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ Delete│ │ - * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤ - * │ │ │ │ │ │ │Ins│ │ │ │ │PSc│Scr│Pause│ │ - * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ - * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ - * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ - * │ │ │ │ │ │ │ │Mut│Vl-│Vl+│ │ │ │ │ - * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤ - * │ │ │ │ │ │ │ │ │ │ │ - * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘ - */ - [1] = LAYOUT_65_ansi( - KC_GRV, 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, - _______, _______, KC_VOLU, _______, _______, _______, _______, KC_SCRL, _______, KC_7, KC_8, KC_9, KC_BSLS, _______, _______, - _______, KC_MUTE, KC_VOLD, KC_PAUS, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, - _______, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, _______, _______, - _______, _______, _______, KC_PSCR, _______, _______, _______, _______, _______, _______ - ) -}; diff --git a/keyboards/hnk/hnk65/no_rgb/readme.md b/keyboards/hnk/hnk65/no_rgb/readme.md deleted file mode 100644 index 08f7498eccf..00000000000 --- a/keyboards/hnk/hnk65/no_rgb/readme.md +++ /dev/null @@ -1,28 +0,0 @@ -# hnk65 - -![hnk65] image to be added in the future - -Our Hide Nothing Keyboard version of the traditional 65%. For more information visit https://hnkbd.ca - - -* Keyboard Maintainer: [hnkbd](https://github.com/ascYAOBT) -* Hardware Supported: hnk65 no led -* Hardware Availability: https://hnkbd.ca - -Make example for this keyboard (after setting up your build environment): - - make hnk65:default - -Flashing example for this keyboard: - - make hnk65: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 while plugged in and with QMK Toolbox opened. -* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/hnk/hnk65/rgb/readme.md b/keyboards/hnk/hnk65/readme.md similarity index 85% rename from keyboards/hnk/hnk65/rgb/readme.md rename to keyboards/hnk/hnk65/readme.md index 00af35ef0b8..1f5c19dc987 100644 --- a/keyboards/hnk/hnk65/rgb/readme.md +++ b/keyboards/hnk/hnk65/readme.md @@ -1,20 +1,20 @@ -# hnk65_rgb +# hnk65 -![hnk65_rgb] image to be added in the future +![hnk65] image to be added in the future Our Hide Nothing Keyboard version of the traditional 65%, with or without RGB support. For more information visit https://hnkbd.ca * Keyboard Maintainer: [hnkbd](https://github.com/ascYAOBT) -* Hardware Supported: hnk65 with per key RGB LED +* Hardware Supported: hnk65, either with or without per key RGB LED * Hardware Availability: https://hnkbd.ca Make example for this keyboard (after setting up your build environment): - make hnk65_rgb:default + make hnk65:default Flashing example for this keyboard: - make hnk65_rgb:default:flash + make hnk65: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). diff --git a/keyboards/hnk/hnk65/rgb/keyboard.json b/keyboards/hnk/hnk65/rgb/keyboard.json deleted file mode 100644 index 25da9ce8781..00000000000 --- a/keyboards/hnk/hnk65/rgb/keyboard.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "keyboard_name": "hnk65_rgb", - "backlight": { - "driver": "custom" - }, - "features": { - "backlight": true, - "rgblight": true, - "rgblight_sleep": true - }, - "rgblight": { - "animations": { - "alternating": true, - "breathing": true, - "christmas": true, - "knight": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "rgb_test": true, - "snake": true, - "static_gradient": true, - "twinkle": true - }, - "brightness_steps": 20, - "default": { - "val": 120 - }, - "hue_steps": 22, - "led_count": 68, - "max_brightness": 170, - "saturation_steps": 22, - "sleep": true - }, - "usb": { - "device_version": "1.0.0", - "pid": "0x0001", - "vid": "0x484E" - } -} \ No newline at end of file From 58f6148dd47fb977ec163e675c6ba903a7313686 Mon Sep 17 00:00:00 2001 From: Alexis St-Pierre Cadieux Date: Fri, 11 Jul 2025 14:29:10 -0400 Subject: [PATCH 14/19] changing keycodes to new RM ones, adjusting lightning effects and removing led count --- keyboards/hnk/hnk65/config.h | 27 ------------- keyboards/hnk/hnk65/keyboard.json | 42 +++++++++++++++----- keyboards/hnk/hnk65/keymaps/default/keymap.c | 8 ++-- keyboards/hnk/hnk65/readme.md | 2 - keyboards/hnk/hnk65/rules.mk | 1 + 5 files changed, 36 insertions(+), 44 deletions(-) delete mode 100644 keyboards/hnk/hnk65/config.h create mode 100755 keyboards/hnk/hnk65/rules.mk diff --git a/keyboards/hnk/hnk65/config.h b/keyboards/hnk/hnk65/config.h deleted file mode 100644 index 701ad075b32..00000000000 --- a/keyboards/hnk/hnk65/config.h +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2024 HNKbd (@ascYAOBT) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN -#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT -#define ENABLE_RGB_MATRIX_BAND_SAT -#define ENABLE_RGB_MATRIX_BAND_VAL -#define ENABLE_RGB_MATRIX_CYCLE_ALL -#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON -#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL -#define ENABLE_RGB_MATRIX_RAINBOW_BEACON -#define ENABLE_RGB_MATRIX_FLOWER_BLOOMING -#define ENABLE_RGB_MATRIX_RAINDROPS -#define ENABLE_RGB_MATRIX_HUE_PENDULUM -#define ENABLE_RGB_MATRIX_HUE_WAVE -#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL -#define ENABLE_RGB_MATRIX_PIXEL_RAIN -#define ENABLE_RGB_MATRIX_STARLIGHT -#define ENABLE_RGB_MATRIX_RIVERFLOW -#define ENABLE_RGB_MATRIX_TYPING_HEATMAP -#define ENABLE_RGB_MATRIX_DIGITAL_RAIN -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE -#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS -#define ENABLE_RGB_MATRIX_SPLASH - diff --git a/keyboards/hnk/hnk65/keyboard.json b/keyboards/hnk/hnk65/keyboard.json index 88687f526fa..195d842afe5 100644 --- a/keyboards/hnk/hnk65/keyboard.json +++ b/keyboards/hnk/hnk65/keyboard.json @@ -18,20 +18,41 @@ "processor": "atmega32u4", "rgb_matrix": { "animations": { - "alternating": true, + "solid_color": true, + "gradient_up_down": true, + "gradient_left_right": true, "breathing": true, - "christmas": true, - "knight": true, - "rainbow_mood": true, - "rainbow_swirl": true, - "rgb_test": true, - "snake": true, - "static_gradient": true, - "twinkle": true + "band_sat": true, + "band_val": true, + "band_pinwheel_val": true, + "band_spiral_sat": true, + "cycle_all": true, + "cycle_left_right": true, + "cycle_up_down": true, + "rainbow_moving_chevron": true, + "cycle_out_in": true, + "cycle_pinwheel": true, + "cycle_spiral": true, + "dual_beacon": true, + "rainbow_beacon": true, + "rainbow_pinwheels": true, + "raindrops": true, + "jellybean_raindrops": true, + "hue_breathing": true, + "hue_pendulum": true, + "hue_wave": true, + "pixel_rain": true, + "pixel_flow": true, + "typing_heatmap":true, + "solid_reactive_simple": true, + "solid_reactive_wide": true, + "solid_reactive_cross": true, + "splash": true }, "brightness_steps": 20, "default": { - "val": 120 + "val": 120, + "animation": "solid_color" }, "driver": "ws2812", "hue_steps": 22, @@ -105,7 +126,6 @@ {"matrix": [4, 1], "x": 21, "y": 64, "flags": 4}, {"matrix": [4, 0], "x": 4, "y": 64, "flags": 4} ], - "led_count": 68, "max_brightness": 170, "saturation_steps": 22, "sleep": true diff --git a/keyboards/hnk/hnk65/keymaps/default/keymap.c b/keyboards/hnk/hnk65/keymaps/default/keymap.c index caf7074175c..a1d5a546a3c 100644 --- a/keyboards/hnk/hnk65/keymaps/default/keymap.c +++ b/keyboards/hnk/hnk65/keymaps/default/keymap.c @@ -47,9 +47,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [1] = LAYOUT_65_ansi( KC_DEL, KC_INS, KC_F12, KC_F11, KC_F10, KC_F9, KC_F8, KC_F7, KC_F6, KC_F5, KC_F4, KC_F3, KC_F2, KC_F1, KC_GRV, - _______, _______, KC_VOLU, _______, _______, _______, _______, KC_SCRL, _______, KC_7, KC_8, KC_9, KC_BSLS, RGB_SAI, RGB_HUI, - RGB_HUD, RGB_SAD, KC_6, KC_5, KC_4, _______, _______, _______, _______, _______, KC_PAUS, KC_VOLD, KC_MUTE, _______, - _______, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, RGB_VAI, RGB_TOG, - RGB_MODE_FORWARD, RGB_VAD, RGB_MODE_REVERSE, RGB_SPI, _______, RGB_SPD, KC_PSCR, _______, _______, _______ + _______, _______, KC_VOLU, _______, _______, _______, _______, KC_SCRL, _______, KC_7, KC_8, KC_9, KC_BSLS, RM_SATU, RM_HUEU, + RM_HUED, RM_SATD, KC_6, KC_5, KC_4, _______, _______, _______, _______, _______, KC_PAUS, KC_VOLD, KC_MUTE, _______, + _______, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, RM_VALU, RM_TOGG, + RM_NEXT, RM_VALD, RM_PREV, RM_SPDU, _______, RM_SPDD, KC_PSCR, _______, _______, _______ ) }; \ No newline at end of file diff --git a/keyboards/hnk/hnk65/readme.md b/keyboards/hnk/hnk65/readme.md index 1f5c19dc987..418cd2e6e63 100644 --- a/keyboards/hnk/hnk65/readme.md +++ b/keyboards/hnk/hnk65/readme.md @@ -1,7 +1,5 @@ # hnk65 -![hnk65] image to be added in the future - Our Hide Nothing Keyboard version of the traditional 65%, with or without RGB support. For more information visit https://hnkbd.ca * Keyboard Maintainer: [hnkbd](https://github.com/ascYAOBT) diff --git a/keyboards/hnk/hnk65/rules.mk b/keyboards/hnk/hnk65/rules.mk new file mode 100755 index 00000000000..6e7633bfe01 --- /dev/null +++ b/keyboards/hnk/hnk65/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank From bcced7a816229cfe54360846b7c75e78ab550e0a Mon Sep 17 00:00:00 2001 From: Alexis St-Pierre Cadieux Date: Fri, 11 Jul 2025 15:09:37 -0400 Subject: [PATCH 15/19] Removing unnecessary rules.mk --- keyboards/hnk/hnk65/rules.mk | 1 - 1 file changed, 1 deletion(-) delete mode 100755 keyboards/hnk/hnk65/rules.mk diff --git a/keyboards/hnk/hnk65/rules.mk b/keyboards/hnk/hnk65/rules.mk deleted file mode 100755 index 6e7633bfe01..00000000000 --- a/keyboards/hnk/hnk65/rules.mk +++ /dev/null @@ -1 +0,0 @@ -# This file intentionally left blank From bad5ffebaa45ed330f946a92dd11d96bbd602021 Mon Sep 17 00:00:00 2001 From: ascYAOBT <53766398+ascYAOBT@users.noreply.github.com> Date: Fri, 11 Jul 2025 19:28:35 -0400 Subject: [PATCH 16/19] removing unnecessary rgb animation Co-authored-by: Joel Challis --- keyboards/hnk/hnk65/keyboard.json | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/hnk/hnk65/keyboard.json b/keyboards/hnk/hnk65/keyboard.json index 195d842afe5..c7088566624 100644 --- a/keyboards/hnk/hnk65/keyboard.json +++ b/keyboards/hnk/hnk65/keyboard.json @@ -18,7 +18,6 @@ "processor": "atmega32u4", "rgb_matrix": { "animations": { - "solid_color": true, "gradient_up_down": true, "gradient_left_right": true, "breathing": true, From 54867cf5805e6ed4b970e0fed3980247ca22a3c9 Mon Sep 17 00:00:00 2001 From: Alexis St-Pierre Cadieux Date: Sat, 19 Jul 2025 13:35:40 -0400 Subject: [PATCH 17/19] fixing the layout macro and keymap --- keyboards/hnk/hnk65/keyboard.json | 76 ++++++++++---------- keyboards/hnk/hnk65/keymaps/default/keymap.c | 13 ++-- 2 files changed, 44 insertions(+), 45 deletions(-) diff --git a/keyboards/hnk/hnk65/keyboard.json b/keyboards/hnk/hnk65/keyboard.json index c7088566624..2a81173f427 100644 --- a/keyboards/hnk/hnk65/keyboard.json +++ b/keyboards/hnk/hnk65/keyboard.json @@ -142,21 +142,21 @@ "layouts": { "LAYOUT_65_ansi": { "layout": [ - {"matrix": [0, 14], "x": 0, "y": 0}, - {"matrix": [0, 13], "x": 1, "y": 0}, - {"matrix": [0, 12], "x": 2, "y": 0}, - {"matrix": [0, 11], "x": 3, "y": 0}, - {"matrix": [0, 10], "x": 4, "y": 0}, - {"matrix": [0, 9], "x": 5, "y": 0}, - {"matrix": [0, 8], "x": 6, "y": 0}, + {"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, 6], "x": 8, "y": 0}, - {"matrix": [0, 5], "x": 9, "y": 0}, - {"matrix": [0, 4], "x": 10, "y": 0}, - {"matrix": [0, 3], "x": 11, "y": 0}, - {"matrix": [0, 2], "x": 12, "y": 0}, - {"matrix": [0, 1], "x": 13, "y": 0, "w": 2}, - {"matrix": [0, 0], "x": 15, "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}, @@ -172,20 +172,20 @@ {"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, 14], "x": 0, "y": 2, "w": 1.75}, - {"matrix": [2, 13], "x": 1.75, "y": 2}, - {"matrix": [2, 11], "x": 2.75, "y": 2}, - {"matrix": [2, 10], "x": 3.75, "y": 2}, - {"matrix": [2, 9], "x": 4.75, "y": 2}, - {"matrix": [2, 8], "x": 5.75, "y": 2}, - {"matrix": [2, 7], "x": 6.75, "y": 2}, - {"matrix": [2, 6], "x": 7.75, "y": 2}, - {"matrix": [2, 5], "x": 8.75, "y": 2}, - {"matrix": [2, 4], "x": 9.75, "y": 2}, - {"matrix": [2, 3], "x": 10.75, "y": 2}, - {"matrix": [2, 2], "x": 11.75, "y": 2}, - {"matrix": [2, 1], "x": 12.75, "y": 2, "w": 2.25}, - {"matrix": [2, 0], "x": 15, "y": 2}, + {"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}, @@ -200,16 +200,16 @@ {"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, 14], "x": 0, "y": 4, "w": 1.25}, - {"matrix": [4, 13], "x": 1.25, "y": 4, "w": 1.25}, - {"matrix": [4, 11], "x": 2.5, "y": 4, "w": 1.25}, - {"matrix": [4, 10], "x": 3.75, "y": 4, "w": 6.25}, - {"matrix": [4, 9], "x": 10, "y": 4}, - {"matrix": [4, 8], "x": 11, "y": 4}, - {"matrix": [4, 5], "x": 12, "y": 4}, - {"matrix": [4, 2], "x": 13, "y": 4}, - {"matrix": [4, 1], "x": 14, "y": 4}, - {"matrix": [4, 0], "x": 15, "y": 4} + {"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, 8], "x": 10, "y": 4}, + {"matrix": [4, 9], "x": 11, "y": 4}, + {"matrix": [4, 10], "x": 12, "y": 4}, + {"matrix": [4, 11], "x": 13, "y": 4}, + {"matrix": [4, 13], "x": 14, "y": 4}, + {"matrix": [4, 14], "x": 14, "y": 4} ] } } diff --git a/keyboards/hnk/hnk65/keymaps/default/keymap.c b/keyboards/hnk/hnk65/keymaps/default/keymap.c index a1d5a546a3c..c52be1d0c39 100644 --- a/keyboards/hnk/hnk65/keymaps/default/keymap.c +++ b/keyboards/hnk/hnk65/keymaps/default/keymap.c @@ -21,11 +21,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT_65_ansi( - KC_HOME, KC_BSPC, KC_EQL, KC_MINS, KC_0, KC_9, KC_8, KC_7, KC_6, KC_5, KC_4, KC_3, KC_2, KC_1, KC_ESC, + 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_HOME, 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_PGUP, - KC_PGDN, KC_ENT, KC_QUOT, KC_SCLN, KC_L, KC_K, KC_J, KC_H, KC_G, KC_F, KC_D, KC_S, KC_A, KC_CAPS, + 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_PGDN, 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_END, - KC_RGHT, KC_DOWN, KC_LEFT,KC_RCTL, MO(1), KC_RALT, KC_SPC, KC_LALT, KC_LGUI, KC_LCTL + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT,KC_DOWN, KC_RGHT ), @@ -44,12 +44,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { */ - [1] = LAYOUT_65_ansi( - KC_DEL, KC_INS, KC_F12, KC_F11, KC_F10, KC_F9, KC_F8, KC_F7, KC_F6, KC_F5, KC_F4, KC_F3, KC_F2, KC_F1, KC_GRV, + KC_GRV, 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, _______, _______, KC_VOLU, _______, _______, _______, _______, KC_SCRL, _______, KC_7, KC_8, KC_9, KC_BSLS, RM_SATU, RM_HUEU, - RM_HUED, RM_SATD, KC_6, KC_5, KC_4, _______, _______, _______, _______, _______, KC_PAUS, KC_VOLD, KC_MUTE, _______, + _______, KC_MUTE, KC_VOLD, KC_PAUS, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, RM_SATD, RM_HUED, _______, KC_PIPE, _______, _______, _______, _______, _______, _______, _______, KC_1, KC_2, KC_3, RM_VALU, RM_TOGG, - RM_NEXT, RM_VALD, RM_PREV, RM_SPDU, _______, RM_SPDD, KC_PSCR, _______, _______, _______ + _______, _______, _______, KC_PSCR, RM_SPDD, _______, RM_SPDU, RM_PREV, RM_VALD, RM_NEXT ) }; \ No newline at end of file From ae81c5daedf47a39c4e95c175acc61e3b70f5cb7 Mon Sep 17 00:00:00 2001 From: ascYAOBT <53766398+ascYAOBT@users.noreply.github.com> Date: Sat, 19 Jul 2025 19:40:48 -0400 Subject: [PATCH 18/19] Update keyboards/hnk/hnk65/keyboard.json Co-authored-by: Joel Challis --- keyboards/hnk/hnk65/keyboard.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/hnk/hnk65/keyboard.json b/keyboards/hnk/hnk65/keyboard.json index 2a81173f427..ec45f4ff9e2 100644 --- a/keyboards/hnk/hnk65/keyboard.json +++ b/keyboards/hnk/hnk65/keyboard.json @@ -209,7 +209,7 @@ {"matrix": [4, 10], "x": 12, "y": 4}, {"matrix": [4, 11], "x": 13, "y": 4}, {"matrix": [4, 13], "x": 14, "y": 4}, - {"matrix": [4, 14], "x": 14, "y": 4} + {"matrix": [4, 14], "x": 15, "y": 4} ] } } From 072bf8fab708ee6b20ee0c1d97a638838d1486f5 Mon Sep 17 00:00:00 2001 From: ascYAOBT <53766398+ascYAOBT@users.noreply.github.com> Date: Sat, 19 Jul 2025 19:41:12 -0400 Subject: [PATCH 19/19] Update keyboards/hnk/hnk65/readme.md Co-authored-by: Joel Challis --- keyboards/hnk/hnk65/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/hnk/hnk65/readme.md b/keyboards/hnk/hnk65/readme.md index 418cd2e6e63..e77dd86d1f5 100644 --- a/keyboards/hnk/hnk65/readme.md +++ b/keyboards/hnk/hnk65/readme.md @@ -8,11 +8,11 @@ Our Hide Nothing Keyboard version of the traditional 65%, with or without RGB su Make example for this keyboard (after setting up your build environment): - make hnk65:default + make hnk/hnk65:default Flashing example for this keyboard: - make hnk65:default:flash + make hnk/hnk65: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).