summaryrefslogtreecommitdiff
path: root/keyboards/kprepublic/bm65hsrgb_iso
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-02-18 08:20:57 +0000
committerGitHub <noreply@github.com>2024-02-18 08:20:57 +0000
commit2eb9ff8efd1df2c98724481c71c8ab8a5b62e31e (patch)
tree8f3b9dd7e9a8dfc8657f1f2adfc24bc0ad185280 /keyboards/kprepublic/bm65hsrgb_iso
parent2d1aed78a67b3d2b002cc739ef087963b05b76b8 (diff)
Remove obvious user keymaps, keyboards/{i,j,k}* edition (#23102)
Diffstat (limited to 'keyboards/kprepublic/bm65hsrgb_iso')
-rw-r--r--keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/config.h36
-rw-r--r--keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/custom_keymap.h71
-rw-r--r--keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c463
-rw-r--r--keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/readme.md22
-rw-r--r--keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/rules.mk23
-rw-r--r--keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/config.h27
-rw-r--r--keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.c273
-rw-r--r--keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.h63
-rw-r--r--keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/readme.md20
-rw-r--r--keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/rules.mk4
10 files changed, 0 insertions, 1002 deletions
diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/config.h b/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/config.h
deleted file mode 100644
index 0e06652715..0000000000
--- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/config.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/* Copyright 2021 deadolus 2022 p4yne
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-// place overrides here
-
-#pragma once
-#define LSPO_KEYS KC_LSFT, KC_LSFT, KC_8
-#define RSPC_KEYS KC_RSFT, KC_LSFT, KC_9
-#define LAPO_KEYS KC_LALT, KC_RALT, KC_QUOT
-#define RAPC_KEYS KC_RALT, KC_RALT, KC_NUHS
-
-#define LEADER_TIMEOUT 1000
-#define LEADER_PER_KEY_TIMING 250
-
-// control underglow
-// i.e. switch it off
-//#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT
-//#define RGBLIGHT_DEFAULT_HUE 0
-//#define RGBLIGHT_DEFAULT_SAT UINT8_MAX
-//#define RGBLIGHT_DEFAULT_SAT 0
-//#define RGBLIGHT_DEFAULT_VAL RGBLIGHT_LIMIT_VAL
-//#define RGBLIGHT_DEFAULT_VAL 0
-//#define RGBLIGHT_DEFAULT_SPD 0
diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/custom_keymap.h b/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/custom_keymap.h
deleted file mode 100644
index 8f11e4072b..0000000000
--- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/custom_keymap.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/* Copyright 2019 ash0x0 2021 peepeetee, deadolus 2022 p4yne
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-#include QMK_KEYBOARD_H
-
-#include "print.h"
-#include <string.h>
-// HID has not yet been implemented for this keyboard
-// #include "raw_hid.h"
-
-#define MILLISECONDS_IN_SECOND 1000
-
-// Custom HSV values
-#define C_HSV_WINERED 0, 255, 85
-#define C_HSV_DARKGOLD 36, 255, 85
-#define C_HSV_DARKBLUE 170, 255, 85
-
-// Default color HSV Values (for inspiration)
-// #define HSV_AZURE 132, 102, 255
-// #define HSV_BLACK 0, 0, 0
-// #define HSV_BLUE 170, 255, 255
-// #define HSV_CHARTREUSE 64, 255, 255
-// #define HSV_CORAL 11, 176, 255
-// #define HSV_CYAN 128, 255, 255
-// #define HSV_GOLD 36, 255, 255
-// #define HSV_GOLDENROD 30, 218, 218
-// #define HSV_GREEN 85, 255, 255
-// #define HSV_MAGENTA 213, 255, 255
-// #define HSV_ORANGE 28, 255, 255
-// #define HSV_PINK 234, 128, 255
-// #define HSV_PURPLE 191, 255, 255
-// #define HSV_RED 0, 255, 255
-// #define HSV_SPRINGGREEN 106, 255, 255
-// #define HSV_TEAL 128, 255, 128
-// #define HSV_TURQUOISE 123, 90, 112
-// #define HSV_WHITE 0, 0, 255
-// #define HSV_YELLOW 43, 255, 255
-// #define HSV_OFF HSV_BLACK
-
-
-//========================================================== CONFIGURABLE DEFAULTS ==========================================================
-#define RGB_DEFAULT_TIME_OUT 30
-#define RGB_FAST_MODE_TIME_OUT 3
-#define RGB_TIME_OUT_MAX 600
-#define RGB_TIME_OUT_MIN 10
-#define RGB_TIME_OUT_STEP 10
-
-bool disable_layer_color;
-
-uint8_t dfa_state; //state for my language switching DFA
-
-
-bool rgb_enabled_flag; // Current LED state flag. If false then LED is off.
-bool rgb_time_out_enable; // Idle LED toggle enable. If false then LED will not turn off after idle timeout.
-bool rgb_time_out_fast_mode_enabled; // Enable flag for RGB timeout fast mode
-bool rgb_time_out_user_value; // This holds the toggle value set by user with ROUT_TG. It's necessary as RGB_TOG changes timeout enable.
-uint16_t rgb_time_out_seconds; // Idle LED timeout value, in seconds not milliseconds
-uint16_t rgb_time_out_saved_seconds; // The saved user config for RGB timeout period
-led_flags_t rgb_time_out_saved_flag; // Store LED flag before timeout so it can be restored when LED is turned on again.
diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c b/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c
deleted file mode 100644
index 03d1ddabed..0000000000
--- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c
+++ /dev/null
@@ -1,463 +0,0 @@
-/* Copyright 2019 ashlar 2021 peepeetee, deadolus 2022 p4yne
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-#include QMK_KEYBOARD_H
-#include "custom_keymap.h"
-#include "sendstring_german.h"
-
-#ifdef TAP_DANCE_ENABLE
-enum {
- TD_HOME_END,
-};
-
-// Tap Dance definitions
-tap_dance_action_t tap_dance_actions[] = {
- // tap once for home, twice for end
- [TD_HOME_END] = ACTION_TAP_DANCE_DOUBLE(KC_HOME, KC_END)
-};
-#endif
-
-// Custom layer types
-enum layertypes {
- LYR_SOLID, // fullsize coloring
- LYR_TRANS, // used keys in layer color, lower layer shines through on unused keys
- LYR_BLACK // only used key in layer color
-};
-
-// Defines names for use in layer keycodes and the keymap
-enum layers {
- _LVL0_,
- _LVL1_,
- _LVL2_,
- _LVL3_,
- _LVL4_,
- _LVL5_,
- _LVL6_,
- _LVL7_
-};
-
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- /*
- * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐
- * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ Backsp│Hom│
- * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
- * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ │PgU│
- * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ Ent├───┤
- * │ Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ # │ │PgD│
- * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼───┤
- * │Shft│ \ │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift│ ↑ │End│
- * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤
- * │Ctrl│GUI │Alt │ │ Alt│Ctrl│ │ ← │ ↓ │ → │
- * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘
- */
-#ifdef TAP_DANCE_ENABLE
-/* 0: ISO qwertz, SPACECADET and TAPDANCE */
-/* [_LVL0_] = LAYOUT_65_iso_blocker(
- 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_DEL,
- 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, TD(TD_HOME_END),
- 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_NUHS, KC_ENT, KC_PGUP,
- SC_LSPO, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, KC_UP, KC_PGDN,
- KC_LCTL, KC_LGUI, SC_LAPO, KC_SPC, SC_RAPC, MO(_LVL1_), KC_LEFT, KC_DOWN, KC_RGHT
- ),
- */
-/* 0: ISO DE qwertz, SPACECADET and TAPDANCE */
- [_LVL0_] = LAYOUT_65_iso_blocker(
- KC_ESC, DE_1, DE_2, DE_3, DE_4, DE_5, DE_6, DE_7, DE_8, DE_9, DE_0, DE_SS, DE_ACUT, KC_BSPC, KC_DEL,
- KC_TAB, DE_Q, DE_W, DE_E, DE_R, DE_T, DE_Z, DE_U, DE_I, DE_O, DE_P, DE_UDIA, DE_PLUS, TD(TD_HOME_END),
- KC_CAPS, DE_A, DE_S, DE_D, DE_F, DE_G, DE_H, DE_J, DE_K, DE_L, DE_ODIA, DE_ADIA, DE_HASH, KC_ENT, KC_PGUP,
- SC_LSPO, DE_LABK, DE_Y, DE_X, DE_C, DE_V, DE_B, DE_N, DE_M, DE_COMM, DE_DOT, DE_MINS, SC_RSPC, KC_UP, KC_PGDN,
- KC_LCTL, KC_LGUI, SC_LAPO, KC_SPC, SC_RAPC, MO(_LVL1_), KC_LEFT, KC_DOWN, KC_RGHT
- ),
-#else
- /* 0: ISO qwertz, SPACECADET but no TAPDANCE */
- [_LVL0_] = LAYOUT_65_iso_blocker(
- 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_DEL,
- 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_ENT, KC_HOME,
- 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_NUHS, KC_PGUP,
- SC_LSPO, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, KC_UP, KC_PGDN,
- KC_LCTL, KC_LGUI, SC_LAPO, KC_SPC, SC_RAPC, MO(_LVL1_), KC_LEFT, KC_DOWN, KC_RGHT
- ),
-#endif
- /* 1: Function key, multimedia control, layer switching board and LEADER */
- [_LVL1_] = LAYOUT_65_iso_blocker(
- 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, _______, LGUI(KC_END),
- S(KC_GRV), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, LGUI(KC_PAUSE),
- QK_BOOT, TO(_LVL2_), TO(_LVL3_), TO(_LVL4_), TO(_LVL5_), TO(_LVL6_), TO(_LVL7_), _______, _______, _______, KC_BRIU, _______, KC_MUTE, TO(_LVL0_), KC_VOLU,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BRID, _______, S(KC_MUTE), KC_MPLY, KC_VOLD,
- _______, _______, _______, QK_LEAD, _______, _______, KC_MPRV, KC_MSTP, KC_MNXT
- ),
- /* 2: Mouse layer and virtual/multiple desktop navigation */
- [_LVL2_] = LAYOUT_65_iso_blocker(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, KC_ACL0, KC_ACL1, KC_ACL2, _______, _______, _______, KC_PGDN, KC_PGUP, KC_PSCR, KC_WH_U, _______, _______, _______,
- _______, _______, KC_BTN1, KC_BTN2, _______, _______, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_WH_D, _______, _______, TO(_LVL0_), _______,
- _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_END, _______, _______, _______, _______, LCA(KC_UP), LCA(KC_E),
- _______, _______, _______, _______, _______, _______, LCA(KC_LEFT), LCA(KC_DOWN), LCA(KC_RGHT)
- ),
-#ifdef DYNAMIC_MACRO_ENABLE
- /* 3: Dynamic macro, NUMPAD and settings */
- [_LVL3_] = LAYOUT_65_iso_blocker(
- _______, DM_PLY1, DM_PLY2, _______, _______, _______, _______, _______, _______, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, _______, _______,
- _______, DM_REC1, DM_REC2, _______, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, _______, KC_P7, KC_P8, KC_P9, KC_PMNS, _______,
- _______, _______, _______, _______, RGB_RMOD, RGB_HUD, RGB_SAD, RGB_VAD, _______, KC_P4, KC_P5, KC_P6, KC_PPLS, TO(_LVL0_), _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PENT, _______, _______,
- _______, _______, _______, RGB_TOG, KC_0, KC_PCMM, _______, _______, _______
- ),
-#else
- /* 3: NUMPAD and settings */
- [_LVL3_] = LAYOUT_65_iso_blocker(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, _______, _______,
- _______, _______, _______, _______, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, _______, KC_P7, KC_P8, KC_P9, KC_PMNS, _______,
- _______, _______, _______, _______, RGB_RMOD, RGB_HUD, RGB_SAD, RGB_VAD, _______, KC_P4, KC_P5, KC_P6, KC_PPLS, TO(_LVL0_), _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PENT, _______, _______,
- _______, _______, _______, RGB_TOG, KC_0, KC_PCMM, _______, _______, _______
- ),
-#endif
- /* Gaming layer no TAPDANCE no SPACECADET simple QWERTZ layout for custom coloring */
- [_LVL4_] = LAYOUT_65_iso_blocker(
- 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_DEL,
- 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_HOME,
- 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_NUHS, KC_ENT, KC_PGUP,
- KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
- KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, TO(_LVL0_), KC_LEFT, KC_DOWN, KC_RGHT
- ),
- /* 5: ISO qwerty DE 2 US Base Layer */
- [_LVL5_] = LAYOUT_65_iso_blocker(
- KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, DE_MINS, DE_EQL, KC_BSPC, KC_DEL,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, DE_Y, KC_U, KC_I, KC_O, KC_P, DE_LBRC, DE_RBRC, KC_HOME,
- KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, DE_SCLN, DE_QUOT, DE_BSLS, KC_ENT, KC_PGUP,
- MO(_LVL6_), DE_GRV, DE_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, DE_COMM, DE_DOT, DE_SLSH, MO(_LVL6_), KC_UP, KC_PGDN,
- KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, TO(_LVL0_), KC_LEFT, KC_DOWN, KC_RGHT
- ),
- /* 6: ISO qwerty DE 2 US Shifted Layer */
- [_LVL6_] = LAYOUT_65_iso_blocker(
- _______, DE_EXLM, DE_AT, DE_HASH, DE_DLR, DE_PERC, DE_CIRC, DE_AMPR, DE_ASTR, DE_LPRN, DE_RPRN, DE_UNDS, DE_PLUS, _______, _______,
- _______, S(KC_Q), S(KC_W), S(KC_E), S(KC_R), S(KC_T), S(DE_Y), S(KC_U), S(KC_I), S(KC_O), S(KC_P), DE_LCBR, DE_RCBR, KC_END,
- KC_CAPS, S(KC_A), S(KC_S), S(KC_D), S(KC_F), S(KC_G), S(KC_H), S(KC_J), S(KC_K), S(KC_L), DE_COLN, DE_DQUO, DE_PIPE, _______, _______,
- KC_LSFT, DE_TILD, S(DE_Z), S(KC_X), S(KC_C), S(KC_V), S(KC_B), S(KC_N), S(KC_M), DE_LABK, DE_RABK, DE_QUES, KC_RSFT, _______, _______,
- _______, _______, _______, _______, _______, TO(_LVL0_), _______, _______, _______
- ),
-/* Led Type Lighting Layer functionally equivalent to _LVL0_ / layer 0 */
-#ifdef TAP_DANCE_ENABLE
- /* 7: ISO DE qwertz, SPACECADET and TAPDANCE */
- [_LVL7_] = LAYOUT_65_iso_blocker(
- KC_ESC, DE_1, DE_2, DE_3, DE_4, DE_5, DE_6, DE_7, DE_8, DE_9, DE_0, DE_SS, DE_ACUT, KC_BSPC, KC_DEL,
- KC_TAB, DE_Q, DE_W, DE_E, DE_R, DE_T, DE_Z, DE_U, DE_I, DE_O, DE_P, DE_UDIA, DE_PLUS, TD(TD_HOME_END),
- KC_CAPS, DE_A, DE_S, DE_D, DE_F, DE_G, DE_H, DE_J, DE_K, DE_L, DE_ODIA, DE_ADIA, DE_HASH, KC_ENT, KC_PGUP,
- SC_LSPO, DE_LABK, DE_Y, DE_X, DE_C, DE_V, DE_B, DE_N, DE_M, DE_COMM, DE_DOT, DE_MINS, SC_RSPC, KC_UP, KC_PGDN,
- KC_LCTL, KC_LGUI, SC_LAPO, KC_SPC, SC_RAPC, TO(_LVL0_), KC_LEFT, KC_DOWN, KC_RGHT
- ),
-#else
- /* 7: ISO qwertz, SPACECADET but no TAPDANCE */
- [_LVL7_] = LAYOUT_65_iso_blocker(
- 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_DEL,
- 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_HOME,
- 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_NUHS, KC_ENT, KC_PGUP,
- SC_LSPO, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, KC_UP, KC_PGDN,
- KC_LCTL, KC_LGUI, SC_LAPO, KC_SPC, SC_RAPC, TO(_LVL0_), KC_LEFT, KC_DOWN, KC_RGHT
- ),
-#endif
-
-
- /*template
- [_UL] = LAYOUT_65_iso_blocker(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(0), _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______
- )
- */
-};
-
-
-// layer color and type
-const uint8_t PROGMEM ledmap[][4] = {
- // LEDs off on Layer 0
- //[_LVL0_] = {{0, 0, 0}, LYR_SOLID},
- [_LVL0_] = {C_HSV_WINERED, LYR_SOLID},
- [_LVL1_] = {HSV_RED, LYR_TRANS},
- [_LVL2_] = {HSV_MAGENTA, LYR_BLACK},
- [_LVL3_] = {HSV_PURPLE, LYR_BLACK},
- [_LVL4_] = {C_HSV_DARKGOLD, LYR_SOLID},
- [_LVL5_] = {C_HSV_DARKBLUE, LYR_SOLID},
- [_LVL6_] = {HSV_BLUE, LYR_TRANS},
- [_LVL7_] = {C_HSV_WINERED, LYR_SOLID}
-};
-
-
-void keyboard_post_init_user(void) {
- // Call the post init code.
-#ifdef CONSOLE_ENABLE
- debug_enable=true;
- debug_matrix=true;
-#endif
- //rgb_matrix_set_flags(LED_FLAG_UNDERGLOW);
- //rgb_matrix_set_flags(LED_FLAG_NONE);
- rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR);
- //rgb_matrix_mode(RGB_MATRIX_SOLID_COLOR);
- //rgb_matrix_sethsv(HSV_OFF);
- //rgb_matrix_mode_noeeprom(RGB_MATRIX_SOLID_COLOR);
- //rgb_matrix_sethsv_noeeprom(HSV_OFF);
- //rgb_matrix_set_color_all(RGB_BLACK);
- rgb_matrix_enable();
-}
-
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
-#ifdef CONSOLE_ENABLE
- // useful for getting matrix right
- uprintf("KL: kc: 0x%04X, col: %u, row: %u, pressed: %u, time: %u, interrupt: %u, count: %u\n", keycode, record->event.key.col, record->event.key.row, record->event.pressed, record->event.time, record->tap.interrupted, record->tap.count);
-#endif
-
- switch (keycode) {
- case RGB_TOG:
- if (record->event.pressed) {
- switch (rgb_matrix_get_flags()) {
- case LED_FLAG_ALL: {
- rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR);
- rgb_matrix_set_color_all(RGB_BLACK);
- }
- break;
- case (LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR): {
- rgb_matrix_set_flags(LED_FLAG_UNDERGLOW);
- rgb_matrix_set_color_all(RGB_BLACK);
- }
- break;
- case LED_FLAG_UNDERGLOW: {
- rgb_matrix_set_flags(LED_FLAG_NONE);
- rgb_matrix_disable_noeeprom();
- }
- break;
- default: {
- rgb_matrix_set_flags(LED_FLAG_ALL);
- rgb_matrix_enable_noeeprom();
- }
- break;
- }
- }
- return false;
- default:
- return true; // Process all other keycodes normally
- }
-}
-
-
-void set_led_color_by_hsv(int ledkey, uint8_t h_in, uint8_t s_in, uint8_t v_in){
- HSV hsv = { .h = h_in, .s = s_in, .v = v_in};
- RGB rgb = hsv_to_rgb(hsv);
- float f = (float)rgb_matrix_config.hsv.v / UINT8_MAX;
- rgb_matrix_set_color(ledkey, f * rgb.r, f * rgb.g, f * rgb.b);
-}
-
-void set_led_color_by_layer(int layer, int ledkey){
- set_led_color_by_hsv(ledkey, pgm_read_byte(&ledmap[layer][0]),
- pgm_read_byte(&ledmap[layer][1]),
- pgm_read_byte(&ledmap[layer][2]));
-}
-
-void set_ledkey_by_layer_type(int layer, int ledkey, uint16_t key){
- if (rgb_matrix_get_flags() != LED_FLAG_ALL){
- if ( key == KC_TRNS ) {
- if ((pgm_read_byte(&ledmap[layer][3]) == LYR_TRANS) && (layer > 0)){
- // this key is transparent and the layer below does something
- // - light it up in (lower) layer-1 specific color
- set_led_color_by_layer(layer-1, ledkey);
- }
- if (pgm_read_byte(&ledmap[layer][3]) == LYR_BLACK){
- // this key is transparent but the lower layer is not intended
- // to be used, it still works but not intended; type BLACK
- set_led_color_by_hsv(ledkey, HSV_BLACK);
- }
- } else {
- // this key does something - light it up in layer specific color
- // regular key and SOLID or BLACK as layer type
- set_led_color_by_layer(layer, ledkey);
- }
- }
-}
-
-void set_caps_lock(int layer) {
- int caps_lock_led = 30;
- led_t host_leds = host_keyboard_led_state();
- if (host_leds.caps_lock) {
- set_led_color_by_hsv(caps_lock_led, HSV_WHITE);
- } else {
- // if capslock is not pressed don't clear it,
- // it might be used for displaying led pattern
- if((rgb_matrix_get_flags() != LED_FLAG_ALL)) {
- // or to keep the correct lighting on for the layer that use all keys
- // on all other layers turn the led off, so only switch it of when
- // layer is BLACK
- if(pgm_read_byte(&ledmap[layer][3]) == LYR_BLACK){
- set_led_color_by_hsv(caps_lock_led, HSV_BLACK);
- }
- }
- }
-}
-
-void set_layer_color(int layer) {
- // key specific lighting
- int ledkey=0;
- for (int keyindex=0; keyindex<MATRIX_COLS*MATRIX_ROWS;keyindex++) {
- uint8_t row = keyindex/MATRIX_COLS;
- uint8_t col = (keyindex-(keyindex/MATRIX_COLS)*MATRIX_COLS);
- uint16_t key=pgm_read_word(&keymaps[layer][row][col]);
-
- // continue if this is not a valid key
- if (key==KC_NO) { continue; }
-
- // handle layer specific coloring
- set_ledkey_by_layer_type(layer, ledkey, key);
- /* === below this function add custom overriding ledkey lighting === */
-
- // gaming layer with highlighted keys
- //if (IS_LAYER_ON(_LVL4_)) {
- if (layer == _LVL4_) {
- if((key==KC_W) || (key==KC_A) || (key==KC_S) || (key==KC_D)) {
- set_led_color_by_hsv(ledkey, HSV_GOLD);
- }
- if((key==KC_R) || (key==KC_SPC) || (key==KC_LSFT) || (key==KC_LCTL)) {
- set_led_color_by_hsv(ledkey, HSV_GOLDENROD);
- }
- }
-
- // color testing layer
- /*if (layer == _LVL7_) {
- switch (ledkey) {
- case 16: {
- set_led_color_by_hsv(ledkey, HSV_AZURE);
- }
- break;
- case 17: {
- set_led_color_by_hsv(ledkey, HSV_BLUE);
- }
- break;
- case 18: {
- set_led_color_by_hsv(ledkey, HSV_CHARTREUSE);
- }
- break;
- case 19: {
- set_led_color_by_hsv(ledkey, HSV_CORAL);
- }
- break;
- case 20: {
- set_led_color_by_hsv(ledkey, HSV_CYAN);
- }
- break;
- case 21: {
- set_led_color_by_hsv(ledkey, HSV_GOLD);
- }
- break;
- case 22: {
- set_led_color_by_hsv(ledkey, HSV_GOLDENROD);
- }
- break;
- case 23: {
- set_led_color_by_hsv(ledkey, HSV_MAGENTA);
- }
- break;
- case 24: {
- set_led_color_by_hsv(ledkey, HSV_ORANGE);
- }
- break;
- case 25: {
- set_led_color_by_hsv(ledkey, HSV_PINK);
- }
- break;
- case 26: {
- set_led_color_by_hsv(ledkey, HSV_RED);
- }
- break;
- case 27: {
- set_led_color_by_hsv(ledkey, HSV_SPRINGGREEN);
- }
- break;
- case 32: {
- set_led_color_by_hsv(ledkey, HSV_MAGENTA);
- }
- break;
- case 33: {
- set_led_color_by_hsv(ledkey, HSV_TEAL);
- }
- break;
- case 34: {
- set_led_color_by_hsv(ledkey, HSV_TURQUOISE);
- }
- break;
- case 35: {
- set_led_color_by_hsv(ledkey, HSV_WHITE);
- }
- break;
- case 36: {
- set_led_color_by_hsv(ledkey, HSV_YELLOW);
- }
- break;
- case 37: {
- set_led_color_by_hsv(ledkey, HSV_PURPLE);
- }
- break;
- case 38: {
- set_led_color_by_hsv(ledkey, HSV_GREEN);
- }
- break;
- default: {
- }
- break;
- }
- }*/
- ledkey++;
- }
- // non key specific lighting instead led flag based
- if (layer == _LVL7_){
- for (uint8_t i = 0; i < RGB_MATRIX_LED_COUNT; ++i) {
- if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_MODIFIER)) {
- set_led_color_by_hsv(i, C_HSV_DARKGOLD);
- }
- if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_UNDERGLOW)) {
- set_led_color_by_hsv(i, HSV_BLACK);
- }
- if (HAS_ANY_FLAGS(g_led_config.flags[i], LED_FLAG_KEYLIGHT)) {
- set_led_color_by_layer(layer, i);
- }
- }
- }
-
- return;
-}
-
-bool rgb_matrix_indicators_user(void) {
- int layer = get_highest_layer(layer_state);
- set_layer_color(layer);
- set_caps_lock(layer);
- return false;
-}
-
-void leader_end_user(void) {
- if (leader_sequence_one_key(KC_F)) {
- // Anything you can do in a macro.
- SEND_STRING("QMK is awesome.");
- }
- if (leader_sequence_two_keys(KC_D, KC_D)) {
- SEND_STRING(SS_LCTL("a") SS_LCTL("c"));
- }
- if (leader_sequence_two_keys(KC_S, KC_S)) {
- SEND_STRING(SS_LCTL("v"));
- }
- if (leader_sequence_three_keys(KC_D, KC_D, KC_S)) {
- SEND_STRING("https://start.duckduckgo.com\n");
- }
-}
diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/readme.md b/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/readme.md
deleted file mode 100644
index 924e63cef7..0000000000
--- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/readme.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# p4yne's keymap for the bm65iso
-
-* Eight layers (DE, LYR_SW_MEDIA, MOUSE_DSKTP_NAV, DYN_MACRO_NUMPAD_LEADER, GAMING, US, US_SHIFTED, DE_FLAG_LIGHTNING)
-* Different color for each layer (DRK_RED, RED, MAGENTA, PURPLE, DRK_GOLD, DRK_BLUE, BLUE, DRK_RED)
-* Keys with something else defined than KC_TRNS are lit up in the layer color, so you easily can see which keys have some function defined
-* Custom layer types for KC_TRNS keys to let lower layer shine through, or stay black/off
-* Custom lighting based on layer, key and led flag
-* Caps-Lock lights up when active
-* Some leader shortcuts defined - nothing useful yet
-* Some space cadet keys defined for easier insertion of () and {}
-* Bootmagic lite enabled via default settings so you can plug in the keyboard while holding esc to land in bootloader mode
-* Manages all this and still fits in to the program memory
-
-Make example for this keyboard (after setting up your build environment):
-
- make kprepublic/bm65hsrgb_iso:p4yne
-
-Flashing example for this keyboard:
-
- make kprepublic/bm65hsrgb_iso:p4yne:flash
-
-Keyboard Maintainer: **[p4yne](https://github.com/p4yne)**
diff --git a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/rules.mk b/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/rules.mk
deleted file mode 100644
index a94bdba88b..0000000000
--- a/keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/rules.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-#Features
-TAP_DANCE_ENABLE = yes
-SPACE_CADET_ENABLE = yes
-
-
-MAGIC_ENABLE = yes
-EXTRAKEY_ENABLE = yes
-MOUSEKEY_ENABLE = yes
-LEADER_ENABLE = yes
-DYNAMIC_MACRO_ENABLE = yes
-
-#Disabled Features
-#COMBO_ENABLE = no
-# Combo Key Grave and Escape
-#GRAVE_ESC_ENABLE = no
-# no unicode support
-#UNICODE_ENABLE = no
-
-#Debugging
-#COMMAND_ENABLE = no
-#CONSOLE_ENABLE = yes
-
-
diff --git a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/config.h b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/config.h
deleted file mode 100644
index 1dc1414fa5..0000000000
--- a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/config.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/* Copyright 2021 deadolus
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-// place overrides here
-
-#pragma once
-#define LSPO_KEYS KC_LSFT, KC_LSFT, KC_8
-#define RSPC_KEYS KC_RSFT, KC_LSFT, KC_9
-#define LAPO_KEYS KC_LALT, KC_RALT, KC_QUOT
-#define RAPC_KEYS KC_RALT, KC_RALT, KC_NUHS
-
-#define LEADER_TIMEOUT 1000
-#define LEADER_PER_KEY_TIMING 250
-
diff --git a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.c b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.c
deleted file mode 100644
index 11f8103297..0000000000
--- a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.c
+++ /dev/null
@@ -1,273 +0,0 @@
-/* Copyright 2019 ashlar 2021 peepeetee, deadolus
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-#include QMK_KEYBOARD_H
-#include "keymap.h"
-
-#ifdef TAP_DANCE_ENABLE
-enum {
- TD_HOME_END,
-};
-
-// Tap Dance definitions
-tap_dance_action_t tap_dance_actions[] = {
- //tap once for home, twice for end
- [TD_HOME_END] = ACTION_TAP_DANCE_DOUBLE(KC_HOME, KC_END)
-};
-#endif
-
-
-// // Defines names for use in layer keycodes and the keymap
-enum layers {
- _BL,
- _RED_,
- _GREEN_,
- _BLUE_,
- _CYAN_,
- _MAGENTA_,
- _YELLOW_
-};
-
-
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- /*
- * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐
- * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
- * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
- * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
- * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ ├───┤
- * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
- * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┼───┤
- * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
- * ├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤
- * │ │ │ │ │ │ │ │ │ │ │
- * └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘
- */
-#ifdef TAP_DANCE_ENABLE
- /* 0: ISO qwerty */
- [_BL] = LAYOUT_65_iso_blocker(
- KC_CAPS, 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_DEL,
- 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, TD(TD_HOME_END),
- KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGUP,
- SC_LSPO, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, KC_UP, KC_PGDN,
- KC_LCTL, KC_LGUI, SC_LAPO, KC_SPC, SC_RAPC, MO(_RED_), KC_LEFT, KC_DOWN, KC_RGHT
-
- ),
-#else
- [_BL] = LAYOUT_65_iso_blocker(
- KC_CAPS, 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_DEL,
- 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_HOME,
- KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGUP,
- SC_LSPO, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, KC_UP, KC_PGDN,
- KC_LCTL, KC_LGUI, SC_LAPO, KC_SPC, SC_RAPC, MO(_RED_), KC_LEFT, KC_DOWN, KC_RGHT
-
- ),
-#endif
-
- [_RED_] = LAYOUT_65_iso_blocker(
- 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, _______, LGUI(KC_END),
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, LGUI(KC_PAUSE),
- _______, TO(_GREEN_), TO(_BLUE_), TO(_CYAN_), TO(_MAGENTA_), TO(_YELLOW_), _______, _______, _______, _______, _______, _______, _______, TO(0), _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, _______,
- QK_BOOT, _______, _______, QK_LEAD, _______, _______, KC_MPLY, KC_VOLD, KC_MUTE
- ),
-
-
- [_GREEN_] = LAYOUT_65_iso_blocker(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, KC_PGDN, KC_PGUP, KC_PSCR, _______, _______, _______, _______,
- _______, KC_ACL0, KC_ACL1, KC_ACL2, _______, _______, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_BTN1, KC_BTN2, _______, TO(0), _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_END, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______
- ),
-
-
- [_BLUE_] = LAYOUT_65_iso_blocker(
- _______, DM_PLY1, DM_PLY2, _______, _______, _______, _______, _______, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, _______, _______, _______,
- _______, DM_REC1, DM_REC2, _______, _______, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, KC_PMNS, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_P4, KC_P5, KC_P6, KC_PPLS, TO(0), _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PENT, _______, _______,
- _______, _______, _______, _______, KC_0, KC_PCMM, _______, _______, _______
- ),
- [_CYAN_] = LAYOUT_65_iso_blocker(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(0), _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______
- ),
- [_MAGENTA_] = LAYOUT_65_iso_blocker(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(0), _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______
- ),
- [_YELLOW_] = LAYOUT_65_iso_blocker(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(0), _______,
- _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______
- ),
-
- /*template
- [_UL] = LAYOUT_65_iso_blocker(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, TO(0), _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______
- )
- */
-};
-
-#ifdef _______
-#undef _______
-#define _______ {0, 0, 0}
-
-const uint8_t PROGMEM ledmap[][3] = {
- [_BL] = _______,
- [_RED_] = RED,
- [_GREEN_] = GREEN,
- [_BLUE_] = BLUE,
- [_CYAN_] = CYAN,
- [_MAGENTA_] = MAGENTA,
- [_YELLOW_] = YELLOW
-};
-
-#undef _______
-#define _______ KC_TRNS
-#endif
-
-
-
-void keyboard_post_init_user(void) {
- // Call the post init code.
-#ifdef CONSOLE_ENABLE
- debug_enable=true;
- debug_matrix=true;
-#endif
- rgb_matrix_set_flags(LED_FLAG_UNDERGLOW);
-}
-
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
-#ifdef CONSOLE_ENABLE
- //useful for getting matrix right
- uprintf("KL: kc: 0x%04X, col: %u, row: %u, pressed: %b, time: %u, interrupt: %b, count: %u\n", keycode, record->event.key.col, record->event.key.row, record->event.pressed, record->event.time, record->tap.interrupted, record->tap.count);
-#endif
-
- switch (keycode) {
- case RGB_TOG:
- if (record->event.pressed) {
- switch (rgb_matrix_get_flags()) {
- case LED_FLAG_ALL: {
- rgb_matrix_set_flags(LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR);
- rgb_matrix_set_color_all(0, 0, 0);
- }
- break;
- case (LED_FLAG_KEYLIGHT | LED_FLAG_MODIFIER | LED_FLAG_INDICATOR): {
- rgb_matrix_set_flags(LED_FLAG_UNDERGLOW);
- rgb_matrix_set_color_all(0, 0, 0);
- }
- break;
- case LED_FLAG_UNDERGLOW: {
- rgb_matrix_set_flags(LED_FLAG_NONE);
- rgb_matrix_disable_noeeprom();
- }
- break;
- default: {
- rgb_matrix_set_flags(LED_FLAG_ALL);
- rgb_matrix_enable_noeeprom();
- }
- break;
- }
- }
- return false;
- default:
- return true; // Process all other keycodes normally
- }
-}
-
-void setCapsLock(void) {
- led_t host_leds = host_keyboard_led_state();
- if (host_leds.caps_lock) {
- rgb_matrix_set_color(30, 0xFF, 0xFF, 0xFF);
-
- } else {
- //if capslock is not pressed don't clear it, it might be used for displaying led pattern
- if((rgb_matrix_get_flags() != LED_FLAG_ALL)) {
- rgb_matrix_set_color(30, 0x0, 0x0, 0x0);
- }
- }
-}
-
-void set_layer_color(int layer) {
- int ledkey=0;
- for(int i=0; i<MATRIX_COLS*MATRIX_ROWS;i++) {
- uint8_t row = i/MATRIX_COLS;
- uint8_t col=(i-(i/MATRIX_COLS)*MATRIX_COLS);
- uint16_t key=pgm_read_word(&keymaps[layer][row][col]);
- //continue if this is not a valid key
- if(key==KC_NO) { continue; }
- //clear key if it is only a transition
- if ((key == KC_TRNS)) {
- if(rgb_matrix_get_flags() != LED_FLAG_ALL){
- rgb_matrix_set_color(ledkey, 0, 0, 0);
- }
- }else {
- //this key does something - light it up
- HSV hsv = {
- .h = pgm_read_byte(&ledmap[layer][0]),
- .s = pgm_read_byte(&ledmap[layer][1]),
- .v = pgm_read_byte(&ledmap[layer][2]),
- };
-
- RGB rgb = hsv_to_rgb(hsv);
- float f = (float)rgb_matrix_config.hsv.v / UINT8_MAX;
- if( (layer != 0) || (rgb_matrix_get_flags() != LED_FLAG_ALL))
- rgb_matrix_set_color(ledkey, f * rgb.r, f * rgb.g, f * rgb.b);
- }
- //if we are on layer 0 set capslock to correct status
- if(layer==0 && i==30) { setCapsLock(); }
- ledkey++;
- }
- return;
-}
-
-bool rgb_matrix_indicators_user(void) {
- set_layer_color(get_highest_layer(layer_state));
-
- return false;
-}
-
-void leader_end_user(void) {
- if (leader_sequence_one_key(KC_F)) {
- // Anything you can do in a macro.
- SEND_STRING("QMK is awesome.");
- }
- if (leader_sequence_two_keys(KC_D, KC_D)) {
- SEND_STRING(SS_LCTL("a") SS_LCTL("c"));
- }
- if (leader_sequence_three_keys(KC_D, KC_D, KC_S)) {
- SEND_STRING("https");
- register_code(KC_LSFT);
- SEND_STRING(".77");
- unregister_code(KC_LSFT);
- SEND_STRING("start.duckduckgo.com\n");
- }
-}
diff --git a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.h b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.h
deleted file mode 100644
index 1459e2c5bb..0000000000
--- a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/* Copyright 2019 ash0x0 2021 peepeetee, deadolus
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-#include QMK_KEYBOARD_H
-
-#include "print.h"
-#include <string.h>
-// HID has not yet been implemented for this keyboard
-// #include "raw_hid.h"
-
-#define MILLISECONDS_IN_SECOND 1000
-
-// These are just to make it neater to use builtin HSV values in the keymap
-#define RED {HSV_RED}
-#define CORAL {HSV_CORAL}
-#define ORANGE {HSV_ORANGE}
-#define GOLDEN {HSV_GOLDENROD}
-#define GOLD {HSV_GOLD}
-#define YELLOW {HSV_YELLOW}
-#define CHART {HSV_CHARTREUSE}
-#define GREEN {HSV_GREEN}
-#define SPRING {HSV_SPRINGGREEN}
-#define TURQ {HSV_TURQUOISE}
-#define TEAL {HSV_TEAL}
-#define CYAN {HSV_CYAN}
-#define AZURE {HSV_AZURE}
-#define BLUE {HSV_BLUE}
-#define PURPLE {HSV_PURPLE}
-#define MAGENTA {HSV_MAGENTA}
-#define PINK {HSV_PINK}
-
-//========================================================== CONFIGURABLE DEFAULTS ==========================================================
-#define RGB_DEFAULT_TIME_OUT 30
-#define RGB_FAST_MODE_TIME_OUT 3
-#define RGB_TIME_OUT_MAX 600
-#define RGB_TIME_OUT_MIN 10
-#define RGB_TIME_OUT_STEP 10
-
-extern bool g_suspend_state;
-bool disable_layer_color;
-
-uint8_t dfa_state; //state for my language switching DFA
-
-
-bool rgb_enabled_flag; // Current LED state flag. If false then LED is off.
-bool rgb_time_out_enable; // Idle LED toggle enable. If false then LED will not turn off after idle timeout.
-bool rgb_time_out_fast_mode_enabled; // Enable flag for RGB timeout fast mode
-bool rgb_time_out_user_value; // This holds the toggle value set by user with ROUT_TG. It's necessary as RGB_TOG changes timeout enable.
-uint16_t rgb_time_out_seconds; // Idle LED timeout value, in seconds not milliseconds
-uint16_t rgb_time_out_saved_seconds; // The saved user config for RGB timeout period
-led_flags_t rgb_time_out_saved_flag; // Store LED flag before timeout so it can be restored when LED is turned on again.
diff --git a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/readme.md b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/readme.md
deleted file mode 100644
index 095550b01a..0000000000
--- a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/readme.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# Deadolus' keymap for the bm65iso
-
-* Six layers (even though three are mostly empty)
-* Different color for each layer (r,g,b,c,m,y)
-* **Keys with something else defined than KC_TRNS are lit up in the layer color, so you easily can see which keys have some function defined**
-* Caps-Lock lights up when active and on layer 0
-* Some leader shortcuts defined - nothing useful yet
-* Some space cadet keys defined for easier insertion of () and {}
-* Bootmagic lite enabled via default settings so you can plug in the keyboard while holding esc to land in bootloader mode
-* Manages all this and still fits in to the program memory
-
-Make example for this keyboard (after setting up your build environment):
-
- make kprepublic/bm65hsrgb_iso:deadolus
-
-Flashing example for this keyboard:
-
- make kprepublic/bm65hsrgb_iso:deadolus:flash
-
-Keyboard Maintainer: **[deadolus](https://github.com/deadolus)**
diff --git a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/rules.mk b/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/rules.mk
deleted file mode 100644
index c8354ea256..0000000000
--- a/keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/rules.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-DYNAMIC_MACRO_ENABLE = yes
-TAP_DANCE_ENABLE = yes
-LEADER_ENABLE = yes
-#CONSOLE_ENABLE=yes