summaryrefslogtreecommitdiff
path: root/keyboards/kprepublic/bm40hsrgb
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/bm40hsrgb
parent2d1aed78a67b3d2b002cc739ef087963b05b76b8 (diff)
Remove obvious user keymaps, keyboards/{i,j,k}* edition (#23102)
Diffstat (limited to 'keyboards/kprepublic/bm40hsrgb')
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/34keys/config.h52
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/34keys/keymap.c89
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/34keys/readme.md63
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/34keys/rules.mk4
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/coffee/config.h88
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c301
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/coffee/readme.md77
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/coffee/rules.mk4
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/dan/config.h7
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.c76
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.h99
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c349
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/dan/readme.md105
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/dan/rules.mk2
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/simchee/config.h20
-rwxr-xr-xkeyboards/kprepublic/bm40hsrgb/keymaps/simchee/keymap.c61
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/simchee/readme.md75
-rw-r--r--keyboards/kprepublic/bm40hsrgb/keymaps/simchee/rules.mk1
18 files changed, 0 insertions, 1473 deletions
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/config.h b/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/config.h
deleted file mode 100644
index 72377c2701..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/config.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright 2021 Taeyoon Kim (@partrita)
-// SPDX-License-Identifier: GPL-2.0-or-later
-// /*
-// Set any config.h overrides for your specific keymap here.
-// See config.h options at https://docs.qmk.fm/#/config_options?id=the-configh-file
-// */
-#pragma once
-
-#define TAPPING_TERM 200 // time of holding key, milliseconds
-
-// Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
-#define QUICK_TAP_TERM 0
-
-// Mouse key speed and acceleration.
-#undef MOUSEKEY_DELAY
-#define MOUSEKEY_DELAY 0
-#undef MOUSEKEY_INTERVAL
-#define MOUSEKEY_INTERVAL 16
-#undef MOUSEKEY_WHEEL_DELAY
-#define MOUSEKEY_WHEEL_DELAY 0
-#undef MOUSEKEY_MAX_SPEED
-#define MOUSEKEY_MAX_SPEED 6
-#undef MOUSEKEY_TIME_TO_MAX
-#define MOUSEKEY_TIME_TO_MAX 64
-
-// The firmware is too large!
-#define COMBO_TERM 80 // timeout period for combos to 40ms.
-
-//disable broken animations
-#ifdef RGB_MATRIX_ENABLE
-# undef ENABLE_RGB_MATRIX_ALPHAS_MODS
-# undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
-# undef ENABLE_RGB_MATRIX_BREATHING
-# undef ENABLE_RGB_MATRIX_BAND_SAT
-# undef ENABLE_RGB_MATRIX_BAND_VAL
-# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
-# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
-# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
-# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
-# undef ENABLE_RGB_MATRIX_CYCLE_ALL
-# undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
-# undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
-# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN
-# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
-# undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
-# undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL
-# undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
-# undef ENABLE_RGB_MATRIX_TYPING_HEATMAP
-# undef ENABLE_RGB_MATRIX_DIGITAL_RAIN
-# undef RGB_MATRIX_DEFAULT_MODE
-// # define RGBLIGHT_HUE_STEP 20
-#endif
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/keymap.c b/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/keymap.c
deleted file mode 100644
index 09490aa940..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/keymap.c
+++ /dev/null
@@ -1,89 +0,0 @@
-// Copyright 2021 Taeyoon Kim (@partrita)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include QMK_KEYBOARD_H
-#include "keymap_korean.h"
-
-enum layers {
- _Base,
- _Navi,
- _Numb,
- _Func,
-};
-
-// Left-hand home row mods - Base Layer
-#define HOME_A LGUI_T(KC_A)
-#define HOME_S LALT_T(KC_S)
-#define HOME_D LCTL_T(KC_D)
-#define HOME_F LSFT_T(KC_F)
-#define HOME_J RSFT_T(KC_J)
-#define HOME_K LCTL_T(KC_K)
-#define HOME_L LALT_T(KC_L)
-#define HOME_QU LGUI_T(KC_QUOT)
-
-// layer keys
-#define Lay_SPC LT(_Func,KC_SPC)
-#define NAVI MO(_Navi)
-#define NUMB MO(_Numb)
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
- [_Base] = LAYOUT_planck_mit(
- KC_Q, KC_W, KC_E, KC_R, KC_T, KC_NO, KC_NO, KC_Y, KC_U, KC_I, KC_O, KC_P,
- HOME_A, HOME_S, HOME_D, HOME_F, KC_G, KC_NO, KC_NO, KC_H, HOME_J, HOME_K, HOME_L, HOME_QU,
- KC_Z, KC_X, KC_C, KC_V, KC_B, KC_NO, KC_NO, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
- KC_NO, KC_NO, KC_NO, NAVI, Lay_SPC, KC_NO, KC_BSPC, NUMB, KC_NO, KC_NO, KC_NO
- ),
- [_Navi] = LAYOUT_planck_mit(
- KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, KC_ESC, KC_NO, KC_NO, KC_DEL, KC_HOME, KC_PGDN, KC_PGUP, KC_END,
- KC_LSFT, HOME_S, HOME_D, HOME_F, KC_TAB, KC_NO, KC_NO, KC_ENT, KC_RSFT, HOME_K, HOME_L, HOME_QU,
- KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_BTN1, KC_NO, KC_NO, KC_BTN2, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT,
- KC_NO, KC_NO, KC_NO, KC_NO, Lay_SPC, KC_NO, KC_BSPC, KC_NO, KC_NO, KC_NO, KC_NO
- ),
- [_Numb] = LAYOUT_planck_mit(
- KC_LBRC, KC_7, KC_8, KC_9, KC_RBRC, KC_NO, KC_NO, KC_DEL, KC_NO, KC_NO, KC_NO, KC_NO,
- KC_SCLN, KC_4, KC_5, KC_6, KC_EQL, KC_NO, KC_NO, KC_ENT, KC_RSFT, HOME_K, HOME_L, HOME_QU,
- KC_GRV, KC_1, KC_2, KC_3, KC_BSLS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KR_HAEN, KC_NO,
- KC_NO, KC_NO, KC_NO, KC_0, KC_MINS, KC_NO, KC_BSPC, KC_NO, KC_NO, KC_NO, KC_NO
- ),
- [_Func] = LAYOUT_planck_mit(
- KC_F12, KC_F7, KC_F8, KC_F9, KC_PSCR, KC_NO, KC_NO, QK_BOOT, KC_NO, KC_NO, KC_NO, KC_NO,
- KC_F11, KC_F4, KC_F5, KC_F6, KC_SCRL, KC_NO, KC_NO, KC_CAPS, KC_RSFT, HOME_K, HOME_L, HOME_QU,
- KC_F10, KC_F1, KC_F2, KC_F3, KC_PAUS, KC_NO, KC_NO, KC_INS, KC_NO, KC_NO, KR_HAEN, KC_NO,
- KC_NO, KC_NO, KC_NO, KC_NO, Lay_SPC, KC_NO, KC_BSPC, KC_NO, KC_NO, KC_NO, KC_NO
- ),
-};
-
-
-// color by layer
-layer_state_t layer_state_set_user(layer_state_t state) {
- uint8_t layer = get_highest_layer(state);
- switch (layer) {
- case _Navi:
- rgblight_mode_noeeprom(RGB_MATRIX_RAINBOW_BEACON);
- break;
- case _Numb:
- rgblight_mode_noeeprom(RGB_MATRIX_HUE_PENDULUM);
- break;
- case _Func:
- rgblight_mode_noeeprom(RGB_MATRIX_GRADIENT_LEFT_RIGHT);
- break;
- default:
- rgblight_mode_noeeprom(RGB_MATRIX_SOLID_REACTIVE_WIDE);
- }
- return state;
-}
-
-// COMBO key for HOME ROW modifier
-// modify `rules.mk` file
-// by adding # COMBO_ENABLE = yes
-
-enum combos {
- SFT_HAN,
-};
-
-const uint16_t PROGMEM sft_han_combo[] = {LSFT_T(KC_F), LT(_Func,KC_SPC), COMBO_END};
-
-combo_t key_combos[] = {
- [SFT_HAN] = COMBO(sft_han_combo, KC_LNG1),
-};
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/readme.md b/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/readme.md
deleted file mode 100644
index 31ac2602b6..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/readme.md
+++ /dev/null
@@ -1,63 +0,0 @@
-# The 35 keymap for bm40hsrgb
-
-This layout is made almost entirely from [miryoku](https://github.com/manna-harbour/miryoku). However, I used fewer layers and reduced 36 keys to 34.
-
-> As little as possible, as simple as possible, as easy as possible to memorize
-
-Replaced the Ctrl, GUI, Alt, and Shift keys with home mod row. A combo function was added by removing some RGB animations of the bm40's keyboard to free up memory. If animation is not removed, it is because there is not enough memory to compile. Added code that uses RGB matrix animation so that you can see at a glance which layer is being used, and you can move faster by increasing the speed of the mouse key.
-
-And because I'm Korean, a combo for Korean and English keyboard conversion has been added, but if you don't need it, you can delete it.
-
-
-- Flash:
-
- `qmk flash -kb kprepublic/bm40hsrgb -km 34keys`
-
-# Layout
-
-Press and hold to activate the keys in parentheses.
-
-
-https://imgur.com/a/UkKfCYm
-
-
-## _BASE(QWERTY)
-
-![](https://i.imgur.com/PuHFVXT.png)
-
-
-| Q | W | E | R | T | | | Y | U | I | O | P |
-|---|---|---|---|---|---|---|---|---|---|---|---|
-| A(GUI) | S(Alt) | D(Ctrl) | F(Shift) | G | | | H | J(Shift) | K(Ctrl) | L(Alt) | '(GUI) |
-| Z | X| C| V| B| | | N | M | , | . | /|
-| | | | NaviLayer| Space(_Func) | | | Backspace | NumberLayer | | | |
-
-## _Navi
-
-![](https://i.imgur.com/BwDHx64.png)
-
-| Mousewheel left | Mousewheel down | Mousewheel up | Mousewheel right | ESC | | | DEL | HOME | PageDown | PageUP | END |
-|---|---|---|---|---|---|---|---|---|---|---|---|
-| A(GUI) | S(Alt) | D(Ctrl) | F(Shift) | TAB | | | ENTER | J(Shift) | K(Ctrl) | L(Alt) | '(GUI) |
-| Mouse left | Mouse down | Mouse up| Mouse right | left click | | | left click | Left | Down | Up | Right |
-| | | | | Space | | | Backspace | NumberLayer | | | |
-
-## _Numb
-
-![](https://i.imgur.com/lPPyUsk.png)
-
-| [ | 7 | 8 | 9 | ] | | | DEL | | | | |
-|---|---|---|---|---|---|---|---|---|---|---|---|
-| ; | 4 | 5 | 6 | = | | | ENTER | J(Shift) | K(Ctrl) | L(Alt) | '(GUI) |
-| ` | 1 | 2 | 3 | \ | | | | | | | |
-| | | | 0| - | | | Backspace | | | | |
-
-## _Func
-
-![](https://i.imgur.com/rz0jaoe.png)
-
-| F12 | F7 | F8 | F9 | PrintScreen | | | RESET | | | | |
-|---|---|---|---|---|---|---|---|---|---|---|---|
-| F11 | F4 | F5 | F6 | ScrollLock | | | CapsLock | J(Shift) | K(Ctrl) | L(Alt) | '(GUI) |
-| F10 | F1 | F2 | F3 | PauseBreak | | | Insert | | | | |
-| | | | NaviLayer | Space | | | Backspace | NumberLayer | | | |
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/rules.mk b/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/rules.mk
deleted file mode 100644
index 96655e7b5a..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/rules.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-BOOTMAGIC_ENABLE = yes
-MOUSEKEY_ENABLE = yes
-COMBO_ENABLE = yes
-EXTRAKEY_ENABLE = yes
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/config.h b/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/config.h
deleted file mode 100644
index ca8a4c6ab4..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/config.h
+++ /dev/null
@@ -1,88 +0,0 @@
-// Copyright 2022 Fae Fankhauser (@CoffeeIsLife87)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#define LAYER_STATE_8BIT
-
-#define TURBO_ENABLE
-#define HOLD_ON_OTHER_KEY_PRESS
-
-// RGB Matrix effects disable
-#ifdef RGB_MATRIX_ENABLE
-# define UNDERGLOW_DISABLE
-
-# define RGB_TRIGGER_ON_KEYDOWN
-
-# define RGB_MATRIX_LED_FLUSH_LIMIT 10
-
-# undef ENABLE_RGB_MATRIX_SOLID_COLOR
-# undef ENABLE_RGB_MATRIX_ALPHAS_MODS
-# undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
-# undef ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
-# undef ENABLE_RGB_MATRIX_BREATHING
-# undef ENABLE_RGB_MATRIX_BAND_SAT
-# undef ENABLE_RGB_MATRIX_BAND_VAL
-# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
-# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
-# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
-# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
-
-# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN
-# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
-# undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
-# undef ENABLE_RGB_MATRIX_DUAL_BEACON
-# undef ENABLE_RGB_MATRIX_RAINBOW_BEACON
-# undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
-# undef ENABLE_RGB_MATRIX_RAINDROPS
-# undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
-# undef ENABLE_RGB_MATRIX_HUE_BREATHING
-# undef ENABLE_RGB_MATRIX_HUE_PENDULUM
-# undef ENABLE_RGB_MATRIX_HUE_WAVE
-# undef ENABLE_RGB_MATRIX_PIXEL_RAIN
-# undef ENABLE_RGB_MATRIX_PIXEL_FLOW
-# undef ENABLE_RGB_MATRIX_PIXEL_FRACTAL
-
-# undef ENABLE_RGB_MATRIX_TYPING_HEATMAP
-# undef ENABLE_RGB_MATRIX_DIGITAL_RAIN
-
-# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
-# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
-# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
-# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
-# undef ENABLE_RGB_MATRIX_SPLASH
-# undef ENABLE_RGB_MATRIX_SOLID_SPLASH
-# undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
-#endif
-
-// Feature disable
-#ifndef NO_PRINT
-# define NO_PRINT
-#endif
-
-#ifndef NO_DEBUG
-# define NO_DEBUG
-#endif
-
-#ifndef NO_ACTION_ONESHOT
-# define NO_ACTION_ONESHOT
-#endif
-
-// Configure features
-#ifdef DYNAMIC_MACRO_ENABLE
-# define DYNAMIC_MACRO_USER_CALL
-# define DYNAMIC_MACRO_NO_NESTING
-#endif
-
-#ifdef MOUSEKEY_ENABLE
-# define MOUSEKEY_INTERVAL 16 // 60 FPS
-
-// Speed up the slowest preset
-# define MK_C_OFFSET_0 4
-# define MK_C_INTERVAL_0 16
-
-// Speed up the medium preset
-# define MK_C_OFFSET_1 16
-
-# define MK_3_SPEED
-#endif \ No newline at end of file
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c b/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c
deleted file mode 100644
index 3d5bcade20..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c
+++ /dev/null
@@ -1,301 +0,0 @@
-// Copyright 2022 Fae Fankhauser (@CoffeeIsLife87)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include QMK_KEYBOARD_H
-
-enum custom_keycodes {
- MCR_PLY = QK_USER, // Macro play
- MCR_REC, // Macro record
- MCR_SWT, // Swap active macro
- MS_ACL_U, // Mouse speed up
- MS_ACL_D, // Mouse speed down
-};
-
-enum layout_names {
- _MAIN = 0, // Keys Layout: The main keyboard layout that has all the characters
- _SUB, // Extension to Main
- _CTR, // Macros, RGB, Audio controls, layer access. More or less the control center of my keyboard
- #ifdef MOUSEKEY_ENABLE
- _MSE,
- #endif // MOUSEKEY_ENABLE
- _END,
-};
-
-#ifdef MOUSEKEY_ENABLE
-#include "action.h"
-#define TOG_MSE TG(_MSE)
-static int current_accel = 0;
-#else
-#define TOG_MSE XXXXXXX
-#endif // MOUSEKEY_ENABLE
-
-#ifdef DYNAMIC_MACRO_ENABLE
-// Macro 1 is = 1, Macro 2 = -1, No macro = 0
-static bool MACRO1 = true; // Determines whether or not we're using 1 or 2
-static bool RECORDING = false;
-static uint16_t REC = DM_REC1; // Record either macro 1 or 2. Or stop recording
-static uint16_t PLY = DM_PLY1; // Play either macro 1 or macro 2
-
-void dynamic_macro_record_start_user(int8_t direction) {
- REC = DM_RSTP;
- RECORDING = true;
-}
-
-void dynamic_macro_record_end_user(int8_t direction) {
- RECORDING = false;
-}
-#else
-#define MCR_PLY KC_NO
-#define MCR_REC KC_NO
-#define MCR_SWT KC_NO
-#endif // DYNAMIC_MACRO_ENABLE
-
-#ifdef TURBO_ENABLE
-static bool turbo_active = false; // Only changed by TRBO_ST
-static uint16_t turbo_keycode = KC_NO; // turbo_active can't be true if this is KC_NO
-static bool turbo_key_pressed = false;
-static bool turbo_keycode_selecting = false; // Determine new keycode or delay mode switch
-static bool turbo_ms_delay_direction = true; // True is raise the delay, false is lower it
-static uint16_t turbo_ms_delay_direction_indicator = 0;
-static uint16_t turbo_ms_delay = 100; // Start at sending keycodes 10 times a second
-static uint16_t turbo_timer; // Changed semi automatically
-/*
- * Because the KC's are wrapped in `LT()` they won't be interpreted as KC_NO or KC_TRNS
- * Instead they'll just be like any other custom KC which will let me use them how I want
-*/
-#define TRBO_ST LT(_CTR, KC_NO )
-#define TRBO_TI LT(_CTR, KC_TRNS)
-#else
-#define TRBO_ST KC_NO
-#define TRBO_TI KC_NO
-#endif
-
-const uint16_t PROGMEM keymaps[_END][MATRIX_ROWS][MATRIX_COLS] = {
- [_MAIN] = LAYOUT_planck_mit(
- KC_ESC , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSPC,
- KC_TAB , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_QUOT,
- KC_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_ENT ,
- KC_LCTL, KC_LGUI, XXXXXXX,KC_LALT ,MO(_SUB), KC_SPC ,MO(_CTR), KC_LEFT, KC_DOWN, KC_UP , KC_RGHT
- ),
- [_SUB] = LAYOUT_planck_mit(
- KC_GRV , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_DEL,
- XXXXXXX, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_MINS, KC_EQL , KC_LBRC, KC_RBRC, KC_PGUP,
- _______, KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , XXXXXXX, KC_HOME, KC_END , KC_BSLS, KC_PGDN,
- _______, _______, XXXXXXX, _______, _______, _______ , _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
- ),
- [_CTR] = LAYOUT_planck_mit(
- XXXXXXX, RGB_SPD, RGB_VAI, RGB_SPI, RGB_HUI, RGB_SAI, XXXXXXX, XXXXXXX, KC_VOLU, XXXXXXX, XXXXXXX, MCR_REC,
- XXXXXXX, RGB_RMOD,RGB_VAD, RGB_MOD, RGB_HUD, RGB_SAD, XXXXXXX, KC_MPRV, KC_MPLY, KC_MNXT, XXXXXXX, MCR_PLY,
- XXXXXXX, XXXXXXX, RGB_TOG, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_VOLD, XXXXXXX, XXXXXXX, MCR_SWT,
- XXXXXXX, XXXXXXX, XXXXXXX, TRBO_TI, TRBO_ST, TOG_MSE, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
- )
- #ifdef MOUSEKEY_ENABLE
- ,[_MSE] = LAYOUT_planck_mit(
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, XXXXXXX, XXXXXXX, KC_BTN1, KC_WH_D, KC_WH_U, KC_BTN2, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, MS_ACL_D, TOG_MSE, MS_ACL_U,XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
- )
- #endif // MOUSEKEY_ENABLE
-};
-
-#ifdef RGB_MATRIX_ENABLE
-
-#define LAYER (get_highest_layer(layer_state))
-#define LAYER_SIZE (MATRIX_ROWS * MATRIX_COLS)
-#define BRIGHTNESS rgb_matrix_get_val()
-
-#ifdef UNDERGLOW_DISABLE
-void keyboard_pre_init_user(void) {
- for (int key_id = 0; key_id < RGB_MATRIX_LED_COUNT; key_id++ ) {
- if (g_led_config.flags[key_id] == LED_FLAG_UNDERGLOW) {
- g_led_config.flags[key_id] = LED_FLAG_NONE;
- }
- }
-}
-#endif // UNDERGLOW_DISABLE
-
-bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
- if (LAYER == _MAIN) {return false;}
-
- for (uint8_t i = led_min; i <= led_max; i++) {
- uint8_t pos = ((uint8_t*)g_led_config.matrix_co)[i];
- if (!HAS_ANY_FLAGS(g_led_config.flags[pos], (LED_FLAG_MODIFIER | LED_FLAG_KEYLIGHT))) {continue;}
- uint16_t KC = pgm_read_word(&((uint16_t*)keymaps)[(LAYER_SIZE * LAYER) + i]);
-
- switch (KC) {
- case KC_NO:
- RGB_MATRIX_INDICATOR_SET_COLOR(pos, 0, 0, 0 );
- break;
-
- #ifdef DYNAMIC_MACRO_ENABLE
- case MCR_SWT:
- if (!MACRO1) { RGB_MATRIX_INDICATOR_SET_COLOR(pos, 0, BRIGHTNESS, BRIGHTNESS); }
- break;
-
- case MCR_REC:
- if (RECORDING) { RGB_MATRIX_INDICATOR_SET_COLOR(pos, BRIGHTNESS, 0, 0); }
- break;
- #endif // DYNAMIC_MACRO_ENABLE
-
- #ifdef TURBO_ENABLE
- case TRBO_ST:
- if (turbo_keycode_selecting) {
- RGB_MATRIX_INDICATOR_SET_COLOR(pos, BRIGHTNESS, BRIGHTNESS, BRIGHTNESS);
- } else {
- if (turbo_active) {
- if (turbo_key_pressed) {
- RGB_MATRIX_INDICATOR_SET_COLOR(pos, BRIGHTNESS, BRIGHTNESS, BRIGHTNESS);
- } else {
- RGB_MATRIX_INDICATOR_SET_COLOR(pos, 0, 0, 0);
- }
- }
- }
- break;
-
- case TRBO_TI:
- if (turbo_ms_delay_direction_indicator != 0) {
- uint8_t time = timer_elapsed(turbo_ms_delay_direction_indicator) / 200;
- if (time > 0) {
- if ((time % 2) == 1) {
- if (turbo_ms_delay_direction) {
- RGB_MATRIX_INDICATOR_SET_COLOR(pos, 0, BRIGHTNESS, 0);
- } else {
- RGB_MATRIX_INDICATOR_SET_COLOR(pos, BRIGHTNESS, 0, 0);
- }
- } else {
- RGB_MATRIX_INDICATOR_SET_COLOR(pos, 0, 0, 0);
- }
- if (time >= 6) {
- turbo_ms_delay_direction_indicator = 0;
- }
- }
- }
- break;
- #endif
-
- }
- }
- return false;
-}
-#endif
-
-#ifdef TURBO_ENABLE
-void housekeeping_task_user(void) {
- if (turbo_active) {
- if (turbo_key_pressed) {
- if (timer_elapsed(turbo_timer) > turbo_ms_delay) {
- unregister_code(turbo_keycode);
- turbo_key_pressed = false;
- turbo_timer = timer_read();
- }
- } else {
- if (timer_elapsed(turbo_timer) > (turbo_ms_delay / 2)) {
- register_code(turbo_keycode);
- turbo_key_pressed = true;
- }
- }
- }
-}
-#endif
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- #ifdef DYNAMIC_MACRO_ENABLE
- if (keycode == MCR_REC) {keycode = REC;}
- if (keycode == MCR_PLY) {keycode = PLY;}
- if (!process_dynamic_macro(keycode, record)) {
- REC = (MACRO1 ? DM_REC1 : DM_REC2);
- return false;
- }
- #endif // DYNAMIC_MACRO_ENABLE
-
- #ifdef MOUSEKEY_ENABLE
- if ((keycode == MS_ACL_U) || (keycode == MS_ACL_D)) {
- if (record->event.pressed) {
- if ( (keycode == MS_ACL_U) && (current_accel < 2) ) { current_accel += 1; }
- if ( (keycode == MS_ACL_D) && (current_accel > 0) ) { current_accel -= 1; }
- }
- keycode = KC_ACL0 + current_accel;
- action_t mousekey_action = action_for_keycode(keycode);
- process_action(record, mousekey_action);
- }
- #endif // MOUSEKEY_ENABLE
-
- #ifdef TURBO_ENABLE
- if (record->event.pressed) {
- if (turbo_keycode_selecting) {
- if (IS_BASIC_KEYCODE(keycode) ||
- IS_MODIFIER_KEYCODE(keycode) ||
- IS_JOYSTICK_KEYCODE(keycode) ||
- IS_MOUSE_KEYCODE(keycode))
- {
- unregister_code(turbo_keycode);
- turbo_key_pressed = false;
- turbo_keycode = keycode;
- turbo_keycode_selecting = false;
- }
- }
- }
- #endif
-
- switch (keycode) {
- #ifdef DYNAMIC_MACRO_ENABLE
- case MCR_SWT:
- if (!RECORDING && record->event.pressed) {
- // if the button is pressed and we're not recording
- MACRO1 = !MACRO1;
- if (MACRO1) {
- REC = DM_REC1;
- PLY = DM_PLY1;
- } else {
- REC = DM_REC2;
- PLY = DM_PLY2;
- }
- }
- return false;
- #endif // DYNAMIC_MACRO_ENABLE
-
- #ifdef TURBO_ENABLE
- case TRBO_ST:
- if (record->event.pressed) {
- if (!record->tap.count) {
- turbo_keycode_selecting = !turbo_keycode_selecting;
- } else {
- if (turbo_keycode != KC_NO) {
- if (!turbo_active) {
- turbo_keycode_selecting = false;
- turbo_active = true;
- } else {
- unregister_code(turbo_keycode);
- turbo_key_pressed = false;
- turbo_active = false;
- }
- }
- }
- }
- return false;
-
- case TRBO_TI:
- if (record->event.pressed) {
- if (!record->tap.count) {
- turbo_ms_delay_direction = !turbo_ms_delay_direction;
- turbo_ms_delay_direction_indicator = timer_read();
- } else {
- if (turbo_ms_delay_direction)
- turbo_ms_delay += 20;
- else
- turbo_ms_delay -= 20;
-
- if (turbo_ms_delay > 500) // half a second
- turbo_ms_delay = 500;
- if (turbo_ms_delay < 60) // Around 16 times a second
- turbo_ms_delay = 60;
- }
- }
- return false;
- #endif
-
- default:
- return true; //Process all other keycodes normally
- }
-}
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/readme.md b/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/readme.md
deleted file mode 100644
index 980f559d71..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/readme.md
+++ /dev/null
@@ -1,77 +0,0 @@
-# Kprepublic BM40HSRGB Coffee
-
-A layout that aims to be familiar to people that have used larger boards
-
-## The layout
-
-The primary layer ( `_MAIN` ) is as close to standard qwerty as I could get.
-| row | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
-|-----|------|------|---|-----|-----|-----|-----|-----|-----|-----|----|------|
-| 1 | esc | q | w | e | r | t | y | u | i | o | p | bksp |
-| 2 | tab | a | s | d | f | g | h | j | k | l | ; | ' |
-| 3 | shft | z | x | c | v | b | n | m | , | . | / | rtrn |
-| 4 | ctrl | win | | alt | SUB | spc | <- | CTR | lft | dwn | up | rght |
-
-The secondary layer ( `_SUB` ) is for syntax, F keys, and number keys
-| row | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
-|-----|-----|----|----|----|-----|-----|-----|----|------|-----|----|------|
-| 1 | grv | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | del |
-| 2 | | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | pgup |
-| 3 | _ | F7 | F8 | F9 | F10 | F11 | F12 | | home | end | \ | pgdn |
-| 4 | _ | _ | | _ | _ | _ | <- | _ | | | | |
-
-The control layer ( `_CTR` ) is for lighting, media, and macros
-| row | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
-|-----|---|-------|------|---------|---------|---------|-----|------|------|------|----|---------|
-| 1 | | SPD- | BRI+ | SPD+ | HUE+ | SAT+ | | | VOL+ | | | MCR_REC |
-| 2 | | EFCT- | BRI- | EFCT+ | HUE- | SAT- | | PREV | PLAY | NEXT | | MCR_PLY |
-| 3 | | | TOG | | | | | | VOL- | | | MCR_SWT |
-| 4 | | | | TRBO_TI | TRBO_ST | MSE_TOG | <- | | | | | |
-
-The mouse layer ( `_MSE` ) is for making the keyboard function as a mouse as well
-| row | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
-|-----|---|------|------|------|-------|---------|-----|-------|-------|-------|-------|----|
-| 1 | | | | | | | | | | | | |
-| 2 | | MS_L | MS_D | MS_U | MS_R | | | L_CLC | SCR_D | SCR_U | R_CLC | |
-| 3 | | | | | | | | | | | | |
-| 4 | | | | | ACL_D | MSE_TOG | <- | ACL_U | | | | |
-
-| Key name | Explanation |
-|----------|----------------------------------------------|
-| \_ | Passthrough the key on the layer below |
-| <- | Same key as imediate left. Used for spacebar |
-| SUB | Goes to _SUB layer while held down |
-| CTR | Goes to _CTR layer while held down |
-| MSE_TOG | Toggles the mouse layer on or off |
-| SPD +/- | Changes speed for the RGB effect |
-| BRI +/- | Changes the brightness of the lighting |
-| EFCT +/- | Moves to the next/previous effect |
-| TOG | Toggles the lighting on or off |
-| HUE +/- | Changes the hue for RGB effects |
-| SAT +/- | Changes the saturation for RGB effects |
-| MSE | Toggles the Mouse layer |
-| VOL +/- | Raises or lowers media volume |
-| PREV | Goes to previous media |
-| PLAY | Play/Pause media |
-| NEXT | Goes to next media |
-| MCR_REC | Record macro ( Press again to stop ) |
-| MCR_PLY | Play recorded macro |
-| MCR_SWT | Switch active macro |
-| MS_L | Move mouse cursor left |
-| MS_U | Move mouse cursor up |
-| MS_D | Move mouse cursor down |
-| MD_R | Move mouse cursor right |
-| L_CLC | Mouse left click |
-| R_CLC | Mouse right click |
-| SCR_U | Mouse scroll up |
-| SCR_D | Mouse scroll down |
-| ACL_U | Raise mouse/scroll speed |
-| ACL_D | Lower mouse/scroll speed |
-| TRBO_ST | Set turbo key (Hold), start/stop turbo (Tap) |
-| TRBO_TI | Turbo speed +/- (Hold to switch direction) |
-
-## Compiling
-
-Compiling: `make kprepublic/bm40hsrgb:coffee`
-
-Flashing: `make kprepublic/bm40hsrgb:coffee:flash`
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/rules.mk b/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/rules.mk
deleted file mode 100644
index 1f143e6026..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/rules.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-MOUSEKEY_ENABLE = yes
-NKRO_ENABLE = yes
-DYNAMIC_MACRO_ENABLE = yes
-LTO_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/config.h b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/config.h
deleted file mode 100644
index 67e81609ae..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/config.h
+++ /dev/null
@@ -1,7 +0,0 @@
-// Copyright 2021 Dan Kim (@syntax-magic)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#define TAPPING_TERM 136
-#define TAPPING_TERM_PER_KEY
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.c b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.c
deleted file mode 100644
index 5576612f9a..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.c
+++ /dev/null
@@ -1,76 +0,0 @@
-// Copyright 2021-2022 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// https://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-/**
- * @file custom_shift_keys.c
- * @brief Custom Shift Keys implementation
- *
- * For full documentation, see
- * <https://getreuer.info/posts/keyboards/custom-shift-keys>
- */
-
-#include "custom_shift_keys.h"
-
-bool process_custom_shift_keys(uint16_t keycode, keyrecord_t *record) {
- static uint16_t registered_keycode = KC_NO;
-
- // If a custom shift key is registered, then this event is either releasing
- // it or manipulating another key at the same time. Either way, we release
- // the currently registered key.
- if (registered_keycode != KC_NO)
- {
- unregister_code16(registered_keycode);
- registered_keycode = KC_NO;
- }
-
- if (record->event.pressed)
- { // Press event.
- const uint8_t mods = get_mods();
-
-#ifndef NO_ACTION_ONESHOT
- if ((mods | get_weak_mods() | get_oneshot_mods()) & MOD_MASK_SHIFT)
- {
-#else
- if ((mods | get_weak_mods()) & MOD_MASK_SHIFT)
- { // Shift is held.
-#endif // NO_ACTION_ONESHOT
- // Search for a custom key with keycode equal to `keycode`.
- for (int i = 0; i < NUM_CUSTOM_SHIFT_KEYS; ++i)
- {
-
- if (keycode == custom_shift_keys[i].keycode)
- {
- // Continue default handling if this is a tap-hold key being held.
- if (((QK_MOD_TAP <= keycode && keycode <= QK_MOD_TAP_MAX) || (QK_LAYER_TAP <= keycode && keycode <= QK_LAYER_TAP_MAX)) && record->tap.count == 0)
- {
- return true;
- }
-
-#ifndef NO_ACTION_ONESHOT
- del_oneshot_mods(MOD_MASK_SHIFT);
-#endif // NO_ACTION_ONESHOT
- del_mods(MOD_MASK_SHIFT);
- del_weak_mods(MOD_MASK_SHIFT);
- send_keyboard_report();
- registered_keycode = custom_shift_keys[i].shifted_keycode;
- register_code16(registered_keycode);
- set_mods(mods); // Restore the mods.
- return false;
- }
- }
- }
- }
-
- return true; // Continue with default handling.
-}
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.h b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.h
deleted file mode 100644
index d6cb7a9fdd..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/features/custom_shift_keys.h
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright 2021-2022 Google LLC
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// https://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-/**
- * @file custom_shift_keys.h
- * @brief Custom shift keys: customize what keycode is produced when shifted.
- *
- * Overview
- * --------
- *
- * This library implements custom shift keys, keys where you can customize
- * what keycode is produced when shifted.
- *
- * Step 1: In your keymap.c, define a table of custom shift keys like
- *
- * #include "features/custom_shift_keys.h"
- *
- * const custom_shift_key_t custom_shift_keys[] = {
- * {KC_DOT , KC_QUES}, // Shift . is ?
- * {KC_COMM, KC_EXLM}, // Shift , is !
- * {KC_MINS, KC_EQL }, // Shift - is =
- * {KC_COLN, KC_SCLN}, // Shift : is ;
- * };
- *
- * Each row defines one key. The first field is the keycode as it appears in
- * your layout and determines what is typed normally. The second entry is what
- * you want the key to type when shifted.
- *
- * Step 2: Handle custom shift keys from your `process_record_user` function as
- *
- * bool process_record_user(uint16_t keycode, keyrecord_t* record) {
- * if (!process_custom_shift_keys(keycode, record)) { return false; }
- * // Your macros ...
- *
- * return true;
- * }
- *
- * Step 3: add `features/custom_shift_keys.c` to your rules.mk as
- *
- * SRC += features/custom_shift_keys.c
- *
- *
- * For full documentation, see
- * <https://getreuer.info/posts/keyboards/custom-shift-keys>
- */
-
-#pragma once
-
-#include "quantum.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * Custom shift key entry. The `keycode` field is the keycode as it appears in
- * your layout and determines what is typed normally. The `shifted_keycode` is
- * what you want the key to type when shifted.
- */
-typedef struct {
- uint16_t keycode;
- uint16_t shifted_keycode;
-} custom_shift_key_t;
-
-/** Table of custom shift keys. */
-extern const custom_shift_key_t custom_shift_keys[];
-/** Number of entries in the `custom_shift_keys` table. */
-extern uint8_t NUM_CUSTOM_SHIFT_KEYS;
-
-/**
- * Handler function for custom shift keys.
- *
- * In keymap.c, call this function from your `process_record_user` function as
- *
- * #include "features/custom_shift_keys.h"
- *
- * bool process_record_user(uint16_t keycode, keyrecord_t* record) {
- * if (!process_custom_shift_keys(keycode, record)) { return false; }
- * // Your macros ...
- *
- * return true;
- * }
- */
-bool process_custom_shift_keys(uint16_t keycode, keyrecord_t *record);
-
-#ifdef __cplusplus
-}
-#endif
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c
deleted file mode 100644
index 54b4652fdf..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c
+++ /dev/null
@@ -1,349 +0,0 @@
-/* Copyright 2020 tominabox1
- *
- * 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 "features/custom_shift_keys.h"
-
-enum layers {
- _ALPHA,
- _LEFTFN,
- _NUMPAD,
- _RIGHTFN,
- _MOBA,
- _FPS1,
- _FPS2,
- _STRAT,
- _ARROWS,
- _CLEAN,
- _RGB
-};
-
-#define ALPHA TO(_ALPHA)
-#define LEFTFN MO(_LEFTFN)
-#define NUMPAD MO(_NUMPAD)
-#define RIGHTFN MO(_RIGHTFN)
-#define MOBA TG(_MOBA)
-#define FPS1 TG(_FPS1)
-#define FPS2 TG(_FPS2)
-#define STRAT TG(_STRAT)
-#define ARROWS TG(_ARROWS)
-#define CLEAN TG(_CLEAN)
-#define RGB MO(_RGB)
-
-// Tap dance declarations
-enum {
- TD_PAST_PSLS,
- TD_PASTE_COPY
-};
-
-tap_dance_action_t tap_dance_actions[] = {
- [TD_PAST_PSLS] = ACTION_TAP_DANCE_DOUBLE(KC_PAST, KC_PSLS),
- [TD_PASTE_COPY] = ACTION_TAP_DANCE_DOUBLE(LCTL(KC_V), LCTL(KC_C))
-};
-
-// Custom shift implementation
-const custom_shift_key_t custom_shift_keys[] = {
- {KC_LNG1, KC_LNG2},
- {KC_LT, KC_COMM},
- {KC_GT, KC_DOT},
- {KC_LCBR, KC_LBRC},
- {KC_RCBR, KC_RBRC}
-};
-
-uint8_t NUM_CUSTOM_SHIFT_KEYS = sizeof(custom_shift_keys) / sizeof(custom_shift_key_t);
-
-bool process_record_user(uint16_t keycode, keyrecord_t* record)
-{
- if ( !process_custom_shift_keys(keycode, record)) { return false; }
-
- return true;
-}
-
-// Keymaps
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
-/* ALPHA
- * ,-----------------------------------------------------------------------------------.
- * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Ctrl | A | S | D | F | G | H | J | K | L | ; | ' |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Shift| Z | X | C | V | B | N | M | , | . | / |Return|
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Esc |KOR/HN| Win | Alt |LEFTFN| Space |RFN/- | = |Delete| \ | Enter|
- * `-----------------------------------------------------------------------------------'
- */
-[_ALPHA] = LAYOUT_planck_mit(
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
- KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
- LT(NUMPAD, KC_ESC), KC_LNG1, KC_LGUI, KC_LALT, LEFTFN, KC_SPC, LT(RIGHTFN, KC_MINS), KC_EQL, KC_DEL, KC_BSLS, KC_PENT
-),
-
-/* LEFTFN
- * ,-----------------------------------------------------------------------------------.
- * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Ctrl | Left | Down | Up |Right |Ctrl+/|PrntSc| { | } | ) | : | " |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Shift| [ | ] | Home | End | PGUP | PGDN | ( | < | > | / |Return|
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | RGB | Caps | Ins | Alt | Trns | Space | _ | + |Delete| | | Enter|
- * `-----------------------------------------------------------------------------------'
- */
-[_LEFTFN] = LAYOUT_planck_mit(
- KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
- KC_LCTL, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, LCTL(KC_SLSH), KC_PSCR, KC_LCBR, KC_RCBR, KC_RPRN, KC_COLN, KC_DQUO,
- KC_LSFT, KC_LBRC, KC_RBRC, KC_HOME, KC_END, KC_PGUP, KC_PGDN, KC_LPRN, KC_LT, KC_GT, KC_SLSH, KC_ENT,
- RGB, KC_CAPS, KC_INS, KC_LALT, KC_TRNS, KC_SPC, KC_UNDS, KC_PLUS, KC_DEL, KC_PIPE, KC_PENT
-),
-
-/* NUMPAD
- * ,-----------------------------------------------------------------------------------.
- * | *or/ | 7 | 8 | 9 | NumLk| | | | | | | Bksp |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Alt | 4 | 5 | 6 |Return| | | | | | Shift| |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | - | 1 | 2 | 3 | Bksp | | | | , | . | Ctrl |Return|
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Trns | , | + | . | 0 | Space | MOBA | FPS1 | FPS2 | STRAT|ARROWS|
- * `-----------------------------------------------------------------------------------'
- */
-[_NUMPAD] = LAYOUT_planck_mit(
- TD(TD_PAST_PSLS), KC_P7, KC_P8, KC_P9, KC_NUM, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_BSPC,
- KC_LALT, KC_P4, KC_P5, KC_P6, KC_ENT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_LSFT, KC_NO,
- KC_PMNS, KC_P1, KC_P2, KC_P3, KC_BSPC, KC_NO, KC_NO, KC_NO, KC_COMM, KC_DOT, KC_LCTL, KC_ENT,
- KC_TRNS, KC_COMM, KC_PPLS, KC_PDOT, KC_P0, KC_SPC, MOBA, FPS1, FPS2, STRAT, ARROWS
-),
-
-/* RIGHTFN
- * ,-----------------------------------------------------------------------------------.
- * | | | | | | | | F12 | F11 | F10 | F9 | Pause|
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Ctrl | | | | | | | F8 | F7 | F6 | F5 |Scllck|
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Shift| | | | | | | F4 | F3 | F2 | F1 | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | | | | Alt | | Space | Trns | | | | |
- * `-----------------------------------------------------------------------------------'
- */
-[_RIGHTFN] = LAYOUT_planck_mit(
- KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F12, KC_F11, KC_F10, KC_F9, KC_PAUS,
- KC_LCTL, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F8, KC_F7, KC_F6, KC_F5, KC_SCRL,
- KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_F4, KC_F3, KC_F2, KC_F1, KC_NO,
- KC_NO, KC_NO, KC_NO, KC_LALT, KC_NO, KC_SPC, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO
-),
-
-/* MOBA
- * ,-----------------------------------------------------------------------------------.
- * | Tab | Q | W | E | R | 5 | Y | | | O | P | ESC |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Ctrl | A | S | D | F | | | | | L | | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Shift| Z | 6 | 4 | 1 | B | | | | | |Return|
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | 3 | X | C | Alt | 2 | Space | | | | | ALPHA|
- * `-----------------------------------------------------------------------------------'
- */
-[_MOBA] = LAYOUT_planck_mit(
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_5, KC_Y, KC_NO, KC_NO, KC_O, KC_P, KC_ESC,
- KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_NO, KC_NO, KC_NO, KC_NO, KC_L, KC_NO, KC_NO,
- KC_LSFT, KC_Z, KC_6, KC_4, KC_1, KC_B, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_ENT,
- KC_3, KC_X, KC_C, KC_LALT, KC_2, KC_SPC, KC_NO, KC_NO, KC_NO, KC_NO, ALPHA
-),
-
-/* FPS1
- * ,-----------------------------------------------------------------------------------.
- * | Tab | Q | W | E | R | T | Y | U | I | O | P | ESC |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | 1 | A | S | D | F | G | H | J | K | L | | F7 |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Shift| Z | 3 | X | C | V | B | M | , | . | | F9 |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Ctrl | 5 | 4 | Alt | 2 | Space | 6 | 8 | 7 | 9 | ALPHA|
- * `-----------------------------------------------------------------------------------'
- */
-[_FPS1] = LAYOUT_planck_mit(
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_ESC,
- KC_1, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_NO, KC_F7,
- KC_LSFT, KC_Z, KC_3, KC_X, KC_C, KC_V, KC_B, KC_M, KC_COMM, KC_DOT, KC_NO, KC_F9,
- KC_LCTL, KC_5, KC_4, KC_LALT, KC_2, KC_SPC, KC_6, KC_8, KC_7, KC_9, ALPHA
-),
-
-/* FPS2
- * ,-----------------------------------------------------------------------------------.
- * | Tab | Q | W | E | R | T | Y | U | I | O | P | ESC |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | 1 | A | S | D | F | G | H | J | K | L | ; | " |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Shift| Z | X | C | V | B | N | M | , | . | / |Return|
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Ctrl | | | Alt | 2 | Space | Bksp | | | | ALPHA|
- * `-----------------------------------------------------------------------------------'
- */
-[_FPS2] = LAYOUT_planck_mit(
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_ESC,
- KC_1, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
- KC_LCTL, KC_NO, KC_NO, KC_LALT, KC_2, KC_SPC, KC_BSPC, KC_NO, KC_NO, KC_NO, ALPHA
-),
-
-/* STRAT
- * ,-----------------------------------------------------------------------------------.
- * | Tab | Q | W | E | R | T | Y | U | I | O | P | Bksp |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Ctrl | A | S | D | F | G | H | J | K | L | ; | ' |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Shift| Z | X | C | V | B | N | M | , | . | / |Return|
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Esc | | | Alt | F1 | Space | F10 | Pause|Delete| | ALPHA|
- * `-----------------------------------------------------------------------------------'
- */
-[_STRAT] = LAYOUT_planck_mit(
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
- KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
- KC_ESC, KC_NO, KC_NO, KC_LALT, KC_F1, KC_SPC, KC_F10, KC_PAUS, KC_DEL, KC_NO, ALPHA
-),
-
-/* ARROWS
- * ,-----------------------------------------------------------------------------------.
- * | Tab | Q | Up | E | R | | | | | | | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | A | Left | Down | Right| F | | | | | | | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Shift| Z | X | C | V | | | | | | | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Ctrl | | | Alt | S | Space | | | | | ALPHA|
- * `-----------------------------------------------------------------------------------'
- */
-[_ARROWS] = LAYOUT_planck_mit(
- KC_TAB, KC_Q, KC_UP, KC_E, KC_R, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
- KC_A, KC_LEFT, KC_DOWN, KC_RIGHT, KC_F, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
- KC_LCTL, KC_NO, KC_NO, KC_LALT, KC_S, KC_SPC, KC_NO, KC_NO, KC_NO, KC_NO, ALPHA
-),
-
-/* CLEAN
- * ,-----------------------------------------------------------------------------------.
- * | | | | | | | | | | | | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | | | | | | | | | | | | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | | | | | | | | | | | | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | | | | | | | | | | | ALPHA|
- * `-----------------------------------------------------------------------------------'
- */
-[_CLEAN] = LAYOUT_planck_mit(
- KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
- KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
- KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
- KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, ALPHA
-),
-
-/* RGB (LEFTFN + RGB)
- * v------------------------RGB CONTROL--------------------v
- * ,-----------------------------------------------------------------------------------.
- * | Mute | Reset| MS_U | BR B | BR F | | | MOD R| MOD B| FX+ | |CLEAN |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Ctrl | MS_L | MS_D | MS_R |Return|PST/CO| | MOD P| MOD S| FX- | | |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Shift| MCK | RCK | LCK | Bksp | | | BRT+ | MOD+ | SAT+ | HUE+ | MS 0 |
- * |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Trns | VOL- | VOL+ | WL U | WL D | Space | BRT- | MOD- | SAT- | HUE- |RGBTGL|
- * `-----------------------------------------------------------------------------------'
- */
-[_RGB] = LAYOUT_planck_mit(
- KC_MUTE, QK_BOOT, KC_MS_U, KC_WBAK, KC_WFWD, KC_NO, KC_NO, RGB_M_R, RGB_M_B, RGB_SPI, KC_NO, CLEAN,
- KC_LCTL, KC_MS_L, KC_MS_D, KC_MS_R, KC_ENT, TD(TD_PASTE_COPY), KC_NO, RGB_M_P, RGB_M_SW, RGB_SPD, KC_NO, KC_NO,
- KC_LSFT, KC_BTN3, KC_BTN2, KC_BTN1, KC_BSPC, KC_NO, KC_NO, RGB_VAI, RGB_MOD, RGB_SAI, RGB_HUI, KC_ACL0,
- KC_TRNS, KC_VOLD, KC_VOLU, KC_WH_U, KC_WH_D, KC_SPC, RGB_VAD, RGB_RMOD, RGB_SAD, RGB_HUD, RGB_TOG
-)
-
-};
-
-/*
-// Key Matrix to LED Index
-{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11},
-{12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23},
-{24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35},
-{36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46}
-*/
-bool rgb_matrix_indicators_user(void) {
- uint8_t red[3] = {22, 2, 0};
- uint8_t yellow[3] = {20, 22, 0};
- uint8_t blue[3] = {0, 6, 20};
- uint8_t green[3] = {14, 22, 0};
- uint8_t purple[3] = {6, 0, 22};
- uint8_t white[3] = {255, 255, 255};
-
- switch (get_highest_layer(layer_state)) {
- case _ALPHA:
- break;
- case _LEFTFN:
- break;
- case _RIGHTFN:
- break;
- case _NUMPAD:
- break;
- case _MOBA:
- rgb_matrix_set_color(16, red[0], red[1], red[2]);
- rgb_matrix_set_color(15, yellow[0], yellow[1], yellow[2]);
- rgb_matrix_set_color(29, blue[0], blue[1], blue[2]);
- rgb_matrix_set_color(10, purple[0], purple[1], purple[2]);
- break;
- case _FPS1:
- rgb_matrix_set_color(43, green[0], green[1], green[2]);
- break;
- case _FPS2:
- rgb_matrix_set_color(44, green[0], green[1], green[2]);
- break;
- case _STRAT:
- rgb_matrix_set_color(45, green[0], green[1], green[2]);
- break;
- case _ARROWS:
- rgb_matrix_set_color(46, green[0], green[1], green[2]);
- break;
- case _CLEAN:
- rgb_matrix_set_color_all(white[0], white[1], white[2]);
- break;
- case _RGB:
- rgb_matrix_set_color(1, blue[0], blue[1], blue[2]);
- break;
- }
-
- led_t led_state = host_keyboard_led_state();
- //Capslock led
- if (led_state.caps_lock) {
- rgb_matrix_set_color(0, green[0], green[1], green[2]);
- }
- //Numlock led
- if (led_state.num_lock) {
- } else {
- rgb_matrix_set_color(11, green[0], green[1], green[2]);
- }
- //Scroll lock led
- if (led_state.scroll_lock) {
- rgb_matrix_set_color(23, green[0], green[1], green[2]);
- }
- return false;
-}
-
-// Turn of RGB Matrix Effect
-void keyboard_post_init_user(void) {
- rgb_matrix_mode_noeeprom(RGB_MATRIX_SOLID_COLOR);
- rgb_matrix_sethsv_noeeprom(HSV_OFF);
-}
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/readme.md b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/readme.md
deleted file mode 100644
index 72764d1408..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/readme.md
+++ /dev/null
@@ -1,105 +0,0 @@
-# Dan's KPrepublic BM40 Keymap
-
->This is my personal keymap with an LED indicator support for num lock, caps lock and scroll lock.
-
-![](https://i.imgur.com/2yclc1B.jpg)
-> * Case: Poseidon PSD40 Case
-> * Plate: Brass
-> * Keycaps: WOB ABS Cherry Profile
-> * Switches: Gazzew Boba U4t (62g 2 stage long spring)
-
-<br />
-
-### BM40 LED INDEX
-**_Numlock ( 11 ) Capslock ( 0 or 12 ) Scroll lock ( 23 )_**
-
-| | _A_ | _B_ | _C_ | _D_ | _E_ | _F_ | _G_ | _H_ | _I_ | _J_ | _K_ | _L_ |
-|---------|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|
-| **_1_** | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
-| **_2_** | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
-| **_3_** | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 |
-| **_4_** | &nbsp;&nbsp;&nbsp;36 | &nbsp;&nbsp;&nbsp;37 | &nbsp;&nbsp;&nbsp;38 | &nbsp;&nbsp;&nbsp;&nbsp;39 | &nbsp;&nbsp;&nbsp;&nbsp;40 | &nbsp;&nbsp;&nbsp;41 | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;42 | &nbsp;&nbsp;&nbsp;43 | &nbsp;&nbsp;&nbsp;44 | &nbsp;&nbsp;&nbsp;45 | &nbsp;&nbsp;&nbsp;46 |
-
-<br />
-
-## LED INDICATOR EXAMPLES
-![](https://i.imgur.com/qpkRNio.jpg)
-![](https://i.imgur.com/GfG252J.jpg)
-> * Case: SM Keyboards Planck/Niu Mini Acrylic Case
-> * Plate: Acrylic
-> * Keycaps: Drop + biip MT3 Extended 2048 Katakana
-> * Switches: Everglide Aqua King (62g 2 stage long spring)
-
-<br />
-
-## KEYMAP LAYOUT EXAMPLES
-### ALPHA
-
-| | _A_ | _B_ | _C_ | _D_ | _E_ | _F_ | _G_ | _H_ | _I_ | _J_ | _K_ | _L_ |
-|---------|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|
-| **_1_** | TAB | Q | W | E | R | T | Y | U | I | O | P | BSP |
-| **_2_** | CTL | A | S | D | F | G | H | J | K | L | ; | ' |
-| **_3_** | SFT | Z | X | C | V | B | N | M | , | . | / | RET |
-| **_4_** | &nbsp;Esc | KOR | WIN | &nbsp;&nbsp;ALT | &nbsp;&nbsp;&nbsp;FN | &nbsp;SPC | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- | &nbsp;&nbsp;&nbsp;&nbsp;= | DEL | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\\ | ENT |
->This is a base layer for typing.
-
-<br />
-
-### LEFTFN MO(FN)
-
-| | _A_ | _B_ | _C_ | _D_ | _E_ | _F_ | _G_ | _H_ | _I_ | _J_ | _K_ | _L_ |
-|---------|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|
-| **_1_** | \` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | BSP |
-| **_2_** | CTL | LFT | DN | UP | RHT | C+/ | PRN | [ | ] | ) | : | " |
-| **_3_** | SFT | [ | ]&nbsp; | HOM | END | PGU | PGD | ( | , | . | / | RET |
-| **_4_** | RGB | CAP | INS | ALT | TRN | &nbsp;SPC || &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_ | &nbsp;&nbsp;&nbsp;&nbsp;+ | &nbsp;DEL | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\| | ENT |
->This is the layer dedicated to number, symbol and navigation keys. ie) arrow keys
-
-<br />
-
-### RIGHTFN MO(-)
-
-| | _A_ | _B_ | _C_ | _D_ | _E_ | _F_ | _G_ | _H_ | _I_ | _J_ | _K_ | _L_ |
-|---------|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|
-| **_1_** | | | | | | | | F12 | F11 | F10 | F9 | PAU |
-| **_2_** | CTL | | | | | | | F8 | F7 | F6 | F5 | SCL |
-| **_3_** | SFT | | | | | | | F4 | F3 | F2 | F1 | |
-| **_4_** | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;ALT&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;SPC | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;TRN | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
->This layer contains function rows.
-
-<br />
-
-### NUMPAD MO(Esc)
-
-| | _A_ | _B_ | _C_ | _D_ | _E_ | _F_ | _G_ | _H_ | _I_ | _J_ | _K_ | _L_ |
-|---------|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|----:|
-| **_1_** | *or/| 7 | 8 | 9 | NUM | | | | | | | BSP |
-| **_2_** | ALT | 4 | 5 | 6 | RET | | | | | | | |
-| **_3_** | - | 1 | 2 | 3 | BSP | | | | | | | RET |
-| **_4_** | TRN | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;, | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+ | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;. | &nbsp;&nbsp;&nbsp;0 | SPC | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;LY1 | &nbsp;LY2 | &nbsp;LY3 | &nbsp;LY4 | &nbsp;LY5 |
->This layer is the numpad.
-<br />
-
-There are other dedicated layers for gaming that are not included here.
-If you are interested, check out keymap.c!
-
-<br />
-
-## PHOTOS
-
-![](https://imgur.com/ABblRwp.jpg)
-> * Case: SM Keyboards Planck/Niu Mini Acrylic Case
-> * Plate: Acrylic
-> * Keycaps: Rama Works GRID Set A Keycaps ( Kuros )
-> * Switches: Thic Thock Marshmallow Linear Switch ( 55g )
-
-<br />
-
-![](https://i.imgur.com/imqhjZW.jpg)
-> * Case: JJ40 Aluminium Acclive Case with Acrylic Diffuser
-> * Keycaps: YMDK DSA Keycaps
-> * Artisan: Rodríguez Cap by Polykeys
-
-<br />
-
-<div style="text-align: right">- END -</div>
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/rules.mk b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/rules.mk
deleted file mode 100644
index 4b8ec33fa0..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-TAP_DANCE_ENABLE = yes
-SRC += features/custom_shift_keys.c
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/config.h b/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/config.h
deleted file mode 100644
index 051ee8a8d1..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Copyright 2022 Sinan Okman (@simchee)
- *
- * 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 <https://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#define NO_MUSIC_MODE
-#define AUDIO_CLICKY
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/keymap.c b/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/keymap.c
deleted file mode 100755
index 04f166cff6..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/keymap.c
+++ /dev/null
@@ -1,61 +0,0 @@
-/* Copyright 2022 Sinan Okman (@simchee)
- *
- * 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 <https://www.gnu.org/licenses/>.
- */
-
-#include QMK_KEYBOARD_H
-
-enum layers {
- QWERTZ,
- LOWER,
- RAISE,
- FN1,
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
- [QWERTZ] = LAYOUT_planck_mit
- (
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Z, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
- MO(FN1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_SLSH,
- KC_LSFT, KC_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_ENT,
- KC_ESC, KC_LGUI, KC_LCTL, KC_LALT, MO(LOWER), KC_SPC, MO(RAISE), KC_ALGR, KC_LEFT, KC_DOWN, KC_RIGHT
- ),
-
- [LOWER] = LAYOUT_planck_mit
- (
- KC_TAB, KC_PGUP, KC_UP, KC_PGDN, KC_HOME, _______, _______, KC_7, KC_8, KC_9, KC_EQL, KC_BSPC,
- MO(FN1), KC_LEFT, KC_DOWN, KC_RIGHT, KC_END, _______, KC_NUHS, KC_4, KC_5, KC_6, KC_ASTR, KC_SLSH,
- KC_LSFT, KC_MUTE, KC_VOLD, KC_VOLU, KC_MPLY, KC_MPRV, KC_MNXT, KC_1, KC_2, KC_3, KC_PLUS, KC_ENTER,
- KC_ESC, RGB_TOG, KC_LCTL, KC_LALT, MO(LOWER), KC_SPC, KC_COMM, KC_0, KC_DOT, KC_MINS, _______
- ),
-
- [RAISE] = LAYOUT_planck_mit
- (
- KC_CIRC, KC_EXLM, KC_AT, _______, KC_DLR, KC_PERC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_QUES, KC_TILD,
- MO(FN1), _______, _______, _______, _______, _______, _______, KC_GRV, KC_LBRC, KC_RBRC, KC_QUOT, KC_BSLS,
- KC_LSFT, KC_MINS, _______, _______, _______, _______, _______, _______, KC_LABK, KC_RABK, KC_EQL, KC_HASH,
- _______, _______, _______, _______, MO(LOWER), KC_SPC, MO(RAISE), KC_ALGR, _______, _______, _______
- ),
-
- [FN1] = LAYOUT_planck_mit
- (
- KC_F12, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL,
- MO(FN1), KC_F11, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END, _______, _______,
- KC_LSFT, KC_CAPS, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, KC_APP,
- QK_BOOT, _______, _______, _______, MO(LOWER), KC_SPC, KC_BSPC, _______, _______, KC_PSCR, KC_INS
- )
-
-};
-
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/readme.md b/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/readme.md
deleted file mode 100644
index 1aaedbda52..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/readme.md
+++ /dev/null
@@ -1,75 +0,0 @@
-# Simchee's BM40HSRGB
-
-Simple Design for US ANSI international, German and Turkish letters are written using dead keys on Linux. Keyboard hasn't been tested on Windows.
-
-# Flashing
-
-```bash
-qmk flash -kb kprepublic/bm40hsrgb -km simchee -bl dfu
-```
-
-# Layout
-## QWERTZ
-
-Changes from standard ANSI keyboard for better ergonomic: switch ctrl and GUI (Windows) keys, escape at left bottom, tab on left top.
-
-```
- .-----------------------------------------------------------------------------------------------.
- | Tab | Q | W | E | R | T | Z | U | I | O | P | Bkspc |
- |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
- | Fn1 | A | S | D | F | G | H | J | K | L | ; | / |
- |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
- | LShift| Y | X | C | V | B | N | M | , | . | AUp | Enter |
- |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
- | Esc | GUI | LCtrl | LAlt | Lower | Space | Raise | AltGr | ALeft | ADown | ARight|
- °-----------------------------------------------------------------------------------------------°
-```
-
-## Lower
-
-Lower layout is mainly for numpad on the right side with navigation keys for lazy left handed navigation. Left side of Lower also provides media and RGB control.
-
-```
- .-----------------------------------------------------------------------------------------------.
- | TAB | PUp | Up | PDow | Home | F5 | ^ | 7(/) | 8(() | 9()) | 0(=) | Bkspc |
- |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
- | Fn1 | Left | Down | Right | End | | # | 4($) | 5(%) | 6(&) | * | / |
- |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
- | Shift | Mute | VUp | VDo | PP | Prev | Next | 1(!) | 2(") | 3(§) | + | Enter |
- |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
- | ESC | RGB | LCtrl | LAlt | Lower | Space | , | 0(=) | . | -(_) | |
- °-----------------------------------------------------------------------------------------------°
-```
-
-## Raise
-
-Raise is used for non-alphanumerical chars.
-
-```
- .-----------------------------------------------------------------------------------------------.
- | ^ | ! | @ | | $ | % | & | * | ( | ) | ? | ~ |
- |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
- | Fn1 | | | | | | | ´ | [({) | ](}) | ' | /(|) |
- |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
- | | - | | | | | | | < | > | =(+) | # |
- |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
- | | | | | Lower | Space | Raise | AltGr | | | |
- °-----------------------------------------------------------------------------------------------°
-```
-
-## Fn1
-
-Fn1 provides function keys, as well as Vim-style navigation on the right side for when using the keyboard with both hands.
-
-```
- .-----------------------------------------------------------------------------------------------.
- | F12 | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | Del |
- |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
- | Fn1 | F11 | | | | | Home | PDown | PUp | End | | |
- |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
- | LShift| Caps | | | | | ALeft | ADown | AUp | ARight| | MRight|
- |-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+-------+
- |QC_MAKE| | | | Lower | Space | Bkspc | | | PrScr | Ins |
- °-----------------------------------------------------------------------------------------------°
-```
-
diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/rules.mk b/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/rules.mk
deleted file mode 100644
index 039f07c8e3..0000000000
--- a/keyboards/kprepublic/bm40hsrgb/keymaps/simchee/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
-UNICODE_ENABLE = yes