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] 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