From a336c2c5005251e4cb0f3a62ccabdb4cfccad915 Mon Sep 17 00:00:00 2001 From: lokher Date: Tue, 6 Dec 2022 17:10:48 +0800 Subject: Merge upstream master to 2022 Q4 breaking change --- keyboards/kprepublic/bm16a/config.h | 128 ------ .../kprepublic/bm16a/keymaps/factory/keymap.c | 37 -- keyboards/kprepublic/bm16s/config.h | 46 -- .../kprepublic/bm16s/keymaps/default/keymap.c | 16 - keyboards/kprepublic/bm16s/keymaps/via/keymap.c | 43 -- keyboards/kprepublic/bm40hsrgb/config.h | 97 ----- .../kprepublic/bm40hsrgb/keymaps/34keys/config.h | 56 --- .../kprepublic/bm40hsrgb/keymaps/34keys/keymap.c | 91 ---- .../kprepublic/bm40hsrgb/keymaps/coffee/config.h | 85 ---- .../kprepublic/bm40hsrgb/keymaps/coffee/keymap.c | 166 -------- .../kprepublic/bm40hsrgb/keymaps/coffee/readme.md | 55 --- .../kprepublic/bm40hsrgb/keymaps/dan/config.h | 7 - .../kprepublic/bm40hsrgb/keymaps/dan/keymap.c | 334 --------------- .../kprepublic/bm40hsrgb/keymaps/dan/readme.md | 89 ---- .../kprepublic/bm40hsrgb/keymaps/dan/rules.mk | 1 - .../kprepublic/bm40hsrgb/keymaps/default/keymap.c | 108 ----- .../bm40hsrgb/keymaps/gabustoledo/config.h | 84 ---- .../bm40hsrgb/keymaps/gabustoledo/keymap.c | 125 ------ .../kprepublic/bm40hsrgb/keymaps/signynt/config.h | 86 ---- .../kprepublic/bm40hsrgb/keymaps/signynt/keymap.c | 242 ----------- .../bm40hsrgb/keymaps/signynt_2_loud/config.h | 86 ---- .../bm40hsrgb/keymaps/signynt_2_loud/keymap.c | 215 ---------- .../bm40hsrgb/keymaps/signynt_2_quiet/config.h | 86 ---- .../bm40hsrgb/keymaps/signynt_2_quiet/keymap.c | 179 -------- .../kprepublic/bm40hsrgb/keymaps/via/keymap.c | 108 ----- .../bm40hsrgb/keymaps/wolff_abnt2/keymap.c | 164 ------- keyboards/kprepublic/bm43a/config.h | 56 --- .../kprepublic/bm43a/keymaps/default/keymap.c | 33 -- .../kprepublic/bm43a/keymaps/stevexyz/keymap.c | 40 -- .../kprepublic/bm43hsrgb/keymaps/bitstarr/config.h | 33 -- .../kprepublic/bm43hsrgb/keymaps/bitstarr/keymap.c | 68 --- .../bm43hsrgb/keymaps/bitstarr/readme.md | 107 ----- keyboards/kprepublic/bm43hsrgb/rules.mk | 20 - keyboards/kprepublic/bm60hsrgb/rev1/config.h | 100 ----- keyboards/kprepublic/bm60hsrgb/rev2/config.h | 134 ------ keyboards/kprepublic/bm60hsrgb/rev2/rev2.c | 203 --------- keyboards/kprepublic/bm60hsrgb_ec/rev1/config.h | 95 ----- keyboards/kprepublic/bm60hsrgb_ec/rev1/rev1.c | 73 ---- keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h | 120 ------ keyboards/kprepublic/bm60hsrgb_ec/rev2/rev2.c | 143 ------- keyboards/kprepublic/bm60hsrgb_iso/rev1/config.h | 104 ----- .../bm60hsrgb_iso/rev1/keymaps/default/keymap.c | 33 -- keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h | 144 ------- .../bm60hsrgb_iso/rev2/keymaps/default/keymap.c | 34 -- .../bm60hsrgb_iso/rev2/keymaps/via/keymap.c | 49 --- keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c | 203 --------- keyboards/kprepublic/bm60hsrgb_poker/rev1/config.h | 112 ----- .../rev1/keymaps/carlosala/config.h | 7 - .../bm60hsrgb_poker/rev1/keymaps/david/keymap.c | 59 --- .../rev1/keymaps/ipetepete/keymap.c | 145 ------- keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h | 140 ------ .../bm60hsrgb_poker/rev2/keymaps/default/keymap.c | 35 -- .../bm60hsrgb_poker/rev2/keymaps/via/keymap.c | 49 --- keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c | 199 --------- keyboards/kprepublic/bm65hsrgb/rev1/config.h | 110 ----- .../bm65hsrgb_iso/keymaps/p4yne/keymap.c | 472 --------------------- keyboards/kprepublic/bm65hsrgb_iso/rev1/config.h | 115 ----- .../bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.c | 284 ------------- .../bm65hsrgb_iso/rev1/keymaps/default/keymap.c | 36 -- .../bm65hsrgb_iso/rev1/keymaps/via/keymap.c | 52 --- keyboards/kprepublic/bm65hsrgb_iso/rev1/rev1.c | 66 --- keyboards/kprepublic/bm68hsrgb/rev1/config.h | 162 ------- .../bm68hsrgb/rev1/keymaps/default/keymap.c | 52 --- .../bm68hsrgb/rev1/keymaps/peepeetee/config.h | 119 ------ .../bm68hsrgb/rev1/keymaps/peepeetee/keymap.c | 304 ------------- .../kprepublic/bm68hsrgb/rev1/keymaps/via/keymap.c | 55 --- keyboards/kprepublic/bm68hsrgb/rev1/rev1.c | 55 --- keyboards/kprepublic/bm68hsrgb/rev2/config.h | 122 ------ .../bm68hsrgb/rev2/keymaps/default/keymap.c | 103 ----- .../kprepublic/bm68hsrgb/rev2/keymaps/via/keymap.c | 103 ----- keyboards/kprepublic/bm68hsrgb/rev2/rev2.c | 125 ------ keyboards/kprepublic/bm80hsrgb/config.h | 130 ------ .../kprepublic/bm80hsrgb/keymaps/default/keymap.c | 51 --- .../bm80hsrgb/keymaps/peepeetee/config.h | 95 ----- .../bm80hsrgb/keymaps/peepeetee/keymap.c | 51 --- .../kprepublic/bm80hsrgb/keymaps/via/keymap.c | 57 --- keyboards/kprepublic/bm80v2/bm80v2.c | 149 ------- keyboards/kprepublic/bm80v2/config.h | 75 ---- .../kprepublic/bm80v2/keymaps/default/keymap.c | 43 -- keyboards/kprepublic/bm80v2/keymaps/via/keymap.c | 43 -- keyboards/kprepublic/bm80v2_iso/bm80v2_iso.c | 150 ------- keyboards/kprepublic/bm80v2_iso/config.h | 75 ---- .../kprepublic/bm80v2_iso/keymaps/default/keymap.c | 43 -- .../kprepublic/bm80v2_iso/keymaps/via/keymap.c | 43 -- keyboards/kprepublic/bm980hsrgb/config.h | 124 ------ .../kprepublic/bm980hsrgb/keymaps/default/keymap.c | 49 --- .../bm980hsrgb/keymaps/peepeetee/keymap.c | 62 --- .../kprepublic/bm980hsrgb/keymaps/via/keymap.c | 64 --- keyboards/kprepublic/cospad/config.h | 136 ------ .../kprepublic/cospad/keymaps/default/keymap.c | 57 --- .../kprepublic/cospad/keymaps/detrus/keymap.c | 367 ---------------- .../cospad/keymaps/split_plus_and_zero/keymap.c | 81 ---- .../kprepublic/cospad/keymaps/split_zero/keymap.c | 81 ---- keyboards/kprepublic/cospad/keymaps/via/keymap.c | 85 ---- keyboards/kprepublic/jj40/config.h | 54 --- keyboards/kprepublic/jj40/keymaps/brdlf/keymap.c | 168 -------- keyboards/kprepublic/jj40/keymaps/cockpit/keymap.c | 144 ------- keyboards/kprepublic/jj40/keymaps/fun40/keymap.c | 98 ----- .../kprepublic/jj40/keymaps/oscillope/keymap.c | 124 ------ .../kprepublic/jj40/keymaps/skewwhiffy/keymap.c | 219 ---------- .../kprepublic/jj40/keymaps/stevexyz/config.h | 45 -- .../kprepublic/jj40/keymaps/stevexyz/keymap.c | 303 ------------- keyboards/kprepublic/jj40/keymaps/suzuken/keymap.c | 99 ----- keyboards/kprepublic/jj4x4/config.h | 57 --- keyboards/kprepublic/jj50/config.h | 50 --- keyboards/kprepublic/jj50/keymaps/default/keymap.c | 241 ----------- keyboards/kprepublic/jj50/keymaps/via/keymap.c | 138 ------ .../kprepublic/jj50/keymaps/yoonbae81/keymap.c | 42 -- 108 files changed, 11500 deletions(-) delete mode 100644 keyboards/kprepublic/bm16a/config.h delete mode 100644 keyboards/kprepublic/bm16a/keymaps/factory/keymap.c delete mode 100755 keyboards/kprepublic/bm16s/config.h delete mode 100755 keyboards/kprepublic/bm16s/keymaps/default/keymap.c delete mode 100644 keyboards/kprepublic/bm16s/keymaps/via/keymap.c delete mode 100755 keyboards/kprepublic/bm40hsrgb/config.h delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/34keys/config.h delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/34keys/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/coffee/config.h delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/coffee/readme.md delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/dan/config.h delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/dan/readme.md delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/dan/rules.mk delete mode 100755 keyboards/kprepublic/bm40hsrgb/keymaps/default/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/gabustoledo/config.h delete mode 100755 keyboards/kprepublic/bm40hsrgb/keymaps/gabustoledo/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt/config.h delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt_2_loud/config.h delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt_2_loud/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt_2_quiet/config.h delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/signynt_2_quiet/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/via/keymap.c delete mode 100644 keyboards/kprepublic/bm40hsrgb/keymaps/wolff_abnt2/keymap.c delete mode 100644 keyboards/kprepublic/bm43a/config.h delete mode 100644 keyboards/kprepublic/bm43a/keymaps/default/keymap.c delete mode 100644 keyboards/kprepublic/bm43a/keymaps/stevexyz/keymap.c delete mode 100755 keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/config.h delete mode 100755 keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/keymap.c delete mode 100755 keyboards/kprepublic/bm43hsrgb/keymaps/bitstarr/readme.md delete mode 100755 keyboards/kprepublic/bm43hsrgb/rules.mk delete mode 100644 keyboards/kprepublic/bm60hsrgb/rev1/config.h delete mode 100644 keyboards/kprepublic/bm60hsrgb/rev2/config.h delete mode 100644 keyboards/kprepublic/bm60hsrgb/rev2/rev2.c delete mode 100644 keyboards/kprepublic/bm60hsrgb_ec/rev1/config.h delete mode 100644 keyboards/kprepublic/bm60hsrgb_ec/rev1/rev1.c delete mode 100644 keyboards/kprepublic/bm60hsrgb_ec/rev2/config.h delete mode 100644 keyboards/kprepublic/bm60hsrgb_ec/rev2/rev2.c delete mode 100644 keyboards/kprepublic/bm60hsrgb_iso/rev1/config.h delete mode 100644 keyboards/kprepublic/bm60hsrgb_iso/rev1/keymaps/default/keymap.c delete mode 100644 keyboards/kprepublic/bm60hsrgb_iso/rev2/config.h delete mode 100644 keyboards/kprepublic/bm60hsrgb_iso/rev2/keymaps/default/keymap.c delete mode 100644 keyboards/kprepublic/bm60hsrgb_iso/rev2/keymaps/via/keymap.c delete mode 100644 keyboards/kprepublic/bm60hsrgb_iso/rev2/rev2.c delete mode 100644 keyboards/kprepublic/bm60hsrgb_poker/rev1/config.h delete mode 100644 keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/carlosala/config.h delete mode 100644 keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/david/keymap.c delete mode 100644 keyboards/kprepublic/bm60hsrgb_poker/rev1/keymaps/ipetepete/keymap.c delete mode 100644 keyboards/kprepublic/bm60hsrgb_poker/rev2/config.h delete mode 100644 keyboards/kprepublic/bm60hsrgb_poker/rev2/keymaps/default/keymap.c delete mode 100644 keyboards/kprepublic/bm60hsrgb_poker/rev2/keymaps/via/keymap.c delete mode 100644 keyboards/kprepublic/bm60hsrgb_poker/rev2/rev2.c delete mode 100644 keyboards/kprepublic/bm65hsrgb/rev1/config.h delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/keymaps/p4yne/keymap.c delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/rev1/config.h delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/deadolus/keymap.c delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/default/keymap.c delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/rev1/keymaps/via/keymap.c delete mode 100644 keyboards/kprepublic/bm65hsrgb_iso/rev1/rev1.c delete mode 100644 keyboards/kprepublic/bm68hsrgb/rev1/config.h delete mode 100644 keyboards/kprepublic/bm68hsrgb/rev1/keymaps/default/keymap.c delete mode 100644 keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/config.h delete mode 100644 keyboards/kprepublic/bm68hsrgb/rev1/keymaps/peepeetee/keymap.c delete mode 100644 keyboards/kprepublic/bm68hsrgb/rev1/keymaps/via/keymap.c delete mode 100644 keyboards/kprepublic/bm68hsrgb/rev1/rev1.c delete mode 100644 keyboards/kprepublic/bm68hsrgb/rev2/config.h delete mode 100644 keyboards/kprepublic/bm68hsrgb/rev2/keymaps/default/keymap.c delete mode 100644 keyboards/kprepublic/bm68hsrgb/rev2/keymaps/via/keymap.c delete mode 100644 keyboards/kprepublic/bm68hsrgb/rev2/rev2.c delete mode 100644 keyboards/kprepublic/bm80hsrgb/config.h delete mode 100644 keyboards/kprepublic/bm80hsrgb/keymaps/default/keymap.c delete mode 100644 keyboards/kprepublic/bm80hsrgb/keymaps/peepeetee/config.h delete mode 100644 keyboards/kprepublic/bm80hsrgb/keymaps/peepeetee/keymap.c delete mode 100644 keyboards/kprepublic/bm80hsrgb/keymaps/via/keymap.c delete mode 100644 keyboards/kprepublic/bm80v2/bm80v2.c delete mode 100644 keyboards/kprepublic/bm80v2/config.h delete mode 100644 keyboards/kprepublic/bm80v2/keymaps/default/keymap.c delete mode 100644 keyboards/kprepublic/bm80v2/keymaps/via/keymap.c delete mode 100644 keyboards/kprepublic/bm80v2_iso/bm80v2_iso.c delete mode 100644 keyboards/kprepublic/bm80v2_iso/config.h delete mode 100644 keyboards/kprepublic/bm80v2_iso/keymaps/default/keymap.c delete mode 100644 keyboards/kprepublic/bm80v2_iso/keymaps/via/keymap.c delete mode 100644 keyboards/kprepublic/bm980hsrgb/config.h delete mode 100644 keyboards/kprepublic/bm980hsrgb/keymaps/default/keymap.c delete mode 100644 keyboards/kprepublic/bm980hsrgb/keymaps/peepeetee/keymap.c delete mode 100644 keyboards/kprepublic/bm980hsrgb/keymaps/via/keymap.c delete mode 100644 keyboards/kprepublic/cospad/config.h delete mode 100644 keyboards/kprepublic/cospad/keymaps/default/keymap.c delete mode 100644 keyboards/kprepublic/cospad/keymaps/detrus/keymap.c delete mode 100644 keyboards/kprepublic/cospad/keymaps/split_plus_and_zero/keymap.c delete mode 100644 keyboards/kprepublic/cospad/keymaps/split_zero/keymap.c delete mode 100644 keyboards/kprepublic/cospad/keymaps/via/keymap.c delete mode 100644 keyboards/kprepublic/jj40/config.h delete mode 100644 keyboards/kprepublic/jj40/keymaps/brdlf/keymap.c delete mode 100644 keyboards/kprepublic/jj40/keymaps/cockpit/keymap.c delete mode 100644 keyboards/kprepublic/jj40/keymaps/fun40/keymap.c delete mode 100644 keyboards/kprepublic/jj40/keymaps/oscillope/keymap.c delete mode 100644 keyboards/kprepublic/jj40/keymaps/skewwhiffy/keymap.c delete mode 100644 keyboards/kprepublic/jj40/keymaps/stevexyz/config.h delete mode 100644 keyboards/kprepublic/jj40/keymaps/stevexyz/keymap.c delete mode 100644 keyboards/kprepublic/jj40/keymaps/suzuken/keymap.c delete mode 100644 keyboards/kprepublic/jj4x4/config.h delete mode 100644 keyboards/kprepublic/jj50/config.h delete mode 100644 keyboards/kprepublic/jj50/keymaps/default/keymap.c delete mode 100644 keyboards/kprepublic/jj50/keymaps/via/keymap.c delete mode 100644 keyboards/kprepublic/jj50/keymaps/yoonbae81/keymap.c (limited to 'keyboards/kprepublic') diff --git a/keyboards/kprepublic/bm16a/config.h b/keyboards/kprepublic/bm16a/config.h deleted file mode 100644 index e5cc440d25..0000000000 --- a/keyboards/kprepublic/bm16a/config.h +++ /dev/null @@ -1,128 +0,0 @@ -/* Copyright 2019 - * - * 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 . - */ - -#pragma once - -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 4 -#define MATRIX_COLS 4 - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * -*/ -#define MATRIX_ROW_PINS { D3, D5, D1, D2} -#define MATRIX_COL_PINS { D6, D4, D7, B4} - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - -/* - * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. - */ -//#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 - -#define BACKLIGHT_PIN B6 -// #define BACKLIGHT_BREATHING -#define BACKLIGHT_LEVELS 5 - -#define RGB_DI_PIN E2 -#define RGBLED_NUM 4 -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE -// #ifdef RGB_DI_PIN -// #define RGBLED_NUM 16 -// #define RGBLIGHT_HUE_STEP 8 -// #define RGBLIGHT_SAT_STEP 8 -// #define RGBLIGHT_VAL_STEP 8 -// #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ -// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ -// #endif - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - -/* define if matrix has ghost (lacks anti-ghosting diodes) */ -//#define MATRIX_HAS_GHOST - -/* number of backlight levels */ - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -/* If defined, GRAVE_ESC will always act as ESC when CTRL is held. - * This is userful for the Windows task manager shortcut (ctrl+shift+esc). - */ -// #define GRAVE_ESC_CTRL_OVERRIDE - -/* - * Force NKRO - * - * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved - * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the - * makefile for this to work.) - * - * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) - * until the next keyboard reset. - * - * NKRO may prevent your keystrokes from being detected in the BIOS, but it is - * fully operational during normal computer usage. - * - * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) - * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by - * bootmagic, NKRO mode will always be enabled until it is toggled again during a - * power-up. - * - */ -//#define FORCE_NKRO - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT - -/* Bootmagic Lite key configuration */ -// #define BOOTMAGIC_LITE_ROW 0 -// #define BOOTMAGIC_LITE_COLUMN 0 diff --git a/keyboards/kprepublic/bm16a/keymaps/factory/keymap.c b/keyboards/kprepublic/bm16a/keymaps/factory/keymap.c deleted file mode 100644 index 08f3476266..0000000000 --- a/keyboards/kprepublic/bm16a/keymaps/factory/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright 2019 - * - * 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 . - */ -#include QMK_KEYBOARD_H - -enum layers { - _BASE = 0, - _FN1, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - [_BASE] = LAYOUT_ortho_4x4( - KC_P7, KC_P8, KC_P9, KC_PMNS, - KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_P1, KC_P2, KC_P3, KC_PENT, - KC_P0, KC_PDOT, KC_SPC, MO(_FN1) - ), - [_FN1] = LAYOUT_ortho_4x4( - QK_BOOT, KC_PAST, KC_PSLS, _______, - BL_TOGG, BL_DOWN, BL_UP, BL_STEP, - RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, - RGB_SAI, RGB_SAD, _______, _______ - ) -}; diff --git a/keyboards/kprepublic/bm16s/config.h b/keyboards/kprepublic/bm16s/config.h deleted file mode 100755 index b876b60ffa..0000000000 --- a/keyboards/kprepublic/bm16s/config.h +++ /dev/null @@ -1,46 +0,0 @@ -#pragma once -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 4 -#define MATRIX_COLS 4 - -/* key matrix pins */ -#define MATRIX_ROW_PINS { D1, D0, D3, D2 } -#define MATRIX_COL_PINS { F7, F6, D4, D6 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - -/* number of backlight levels */ - -#ifdef BACKLIGHT_PIN - #define BACKLIGHT_LEVELS 3 -#endif - -/* Set 0 if debouncing isn't needed */ -#define DEBOUNCE 5 - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE - -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -#define RGB_DI_PIN E2 -#ifdef RGB_DI_PIN -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE - #define RGBLED_NUM 16 - #define RGBLIGHT_HUE_STEP 8 - #define RGBLIGHT_SAT_STEP 8 - #define RGBLIGHT_VAL_STEP 8 -#endif diff --git a/keyboards/kprepublic/bm16s/keymaps/default/keymap.c b/keyboards/kprepublic/bm16s/keymaps/default/keymap.c deleted file mode 100755 index b5c0a3df05..0000000000 --- a/keyboards/kprepublic/bm16s/keymaps/default/keymap.c +++ /dev/null @@ -1,16 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_ortho_4x4( - KC_KP_7, KC_KP_8, KC_KP_9, MO(1), - KC_KP_4, KC_KP_5, KC_KP_6, KC_PMNS, - KC_KP_1, KC_KP_2, KC_KP_3, KC_PPLS, - KC_KP_0, KC_PDOT, KC_PCMM, KC_PENT - ), - [1] = LAYOUT_ortho_4x4( - QK_BOOT, BL_STEP, _______, KC_VOLU, - BL_TOGG, BL_DOWN, BL_UP, KC_VOLD, - RGB_TOG, RGB_MOD, RGB_HUI, KC_MUTE, - RGB_SAI, RGB_SAD, RGB_HUD, _______ - ), -}; \ No newline at end of file diff --git a/keyboards/kprepublic/bm16s/keymaps/via/keymap.c b/keyboards/kprepublic/bm16s/keymaps/via/keymap.c deleted file mode 100644 index 5ed0f1fcd5..0000000000 --- a/keyboards/kprepublic/bm16s/keymaps/via/keymap.c +++ /dev/null @@ -1,43 +0,0 @@ -/* Copyright 2020 Relocks - * - * 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 . - */ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_ortho_4x4( - KC_KP_7, KC_KP_8, KC_KP_9, MO(1), - KC_KP_4, KC_KP_5, KC_KP_6, KC_PMNS, - KC_KP_1, KC_KP_2, KC_KP_3, KC_PPLS, - KC_KP_0, KC_PDOT, KC_PCMM, KC_PENT - ), - [1] = LAYOUT_ortho_4x4( - QK_BOOT, BL_STEP, KC_TRNS, KC_VOLU, - BL_TOGG, BL_DOWN, BL_UP, KC_VOLD, - RGB_TOG, RGB_MOD, RGB_HUI, KC_MUTE, - RGB_SAI, RGB_SAD, RGB_HUD, KC_TRNS - ), - [2] = LAYOUT_ortho_4x4( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [3] = LAYOUT_ortho_4x4( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), -}; diff --git a/keyboards/kprepublic/bm40hsrgb/config.h b/keyboards/kprepublic/bm40hsrgb/config.h deleted file mode 100755 index f1535cc084..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/config.h +++ /dev/null @@ -1,97 +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 . - */ -#pragma once - -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 4 -#define MATRIX_COLS 12 - -/* key matrix pins */ -#define MATRIX_ROW_PINS { B3, B2, E6, B5 } -#define MATRIX_COL_PINS { B6, C6, B4, D7, D4, D6, C7, F6, F5, F4, F1, F0 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE - -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE - -#define RGB_DI_PIN E2 -#define RGB_MATRIX_LED_COUNT 53 -#ifdef RGB_DI_PIN -# define RGB_MATRIX_KEYPRESSES // reacts to keypresses -# define RGBLIGHT_LIMIT_VAL 180 // Limit to vendor-recommended value -#endif -#ifdef RGB_MATRIX_ENABLE -# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended -# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 // Limit to vendor-recommended value -// RGB Matrix Animation modes. Explicitly enabled -// For full list of effects, see: -// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects -# define ENABLE_RGB_MATRIX_ALPHAS_MODS -# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN -# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT -# define ENABLE_RGB_MATRIX_BREATHING -# define ENABLE_RGB_MATRIX_BAND_SAT -# define ENABLE_RGB_MATRIX_BAND_VAL -# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT -# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL -# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT -# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL -# define ENABLE_RGB_MATRIX_CYCLE_ALL -# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT -# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN -# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON -# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN -# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL -# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL -# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL -# define ENABLE_RGB_MATRIX_DUAL_BEACON -# define ENABLE_RGB_MATRIX_RAINBOW_BEACON -# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS -# define ENABLE_RGB_MATRIX_RAINDROPS -# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS -# define ENABLE_RGB_MATRIX_HUE_BREATHING -# define ENABLE_RGB_MATRIX_HUE_PENDULUM -# define ENABLE_RGB_MATRIX_HUE_WAVE -# define ENABLE_RGB_MATRIX_PIXEL_RAIN -# define ENABLE_RGB_MATRIX_PIXEL_FLOW -# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL -// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined -# define ENABLE_RGB_MATRIX_TYPING_HEATMAP -# define ENABLE_RGB_MATRIX_DIGITAL_RAIN -// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS -# define ENABLE_RGB_MATRIX_SPLASH -# define ENABLE_RGB_MATRIX_MULTISPLASH -# define ENABLE_RGB_MATRIX_SOLID_SPLASH -# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH -#endif diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/config.h b/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/config.h deleted file mode 100644 index 7618683d10..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/config.h +++ /dev/null @@ -1,56 +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 - -// Prevent normal rollover on alphas from accidentally triggering mods. -#define IGNORE_MOD_TAP_INTERRUPT - -// Enable rapid switch from tap to hold, disables double tap hold auto-repeat. -#define TAPPING_FORCE_HOLD - -// 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_COUNT 1 // number of combo -#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 423dd14325..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/34keys/keymap.c +++ /dev/null @@ -1,91 +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 `config.h` file -// by adding #define COMBO_COUNT 1 (replacing 1 with the number that you’re using). -// 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[COMBO_COUNT] = { - [SFT_HAN] = COMBO(sft_han_combo, KC_LNG1), -}; \ No newline at end of file diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/config.h b/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/config.h deleted file mode 100644 index c366c20a8c..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/config.h +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2022 Fae Fankhauser (@CoffeeIsLife87) -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#define LAYER_STATE_8BIT - -// 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 - -// If RGBLight is enabled -#ifdef RGBLIGHT_ENABLE -# define RGBLED_NUM RGB_MATRIX_LED_COUNT - -# define RGBLIGHT_EFFECT_SNAKE -# define RGBLIGHT_EFFECT_STATIC_GRADIENT -#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 -# 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 720c7a1d3f..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/keymap.c +++ /dev/null @@ -1,166 +0,0 @@ -// Copyright 2022 Fae Fankhauser (@CoffeeIsLife87) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include QMK_KEYBOARD_H - -enum custom_keycodes { - NULLKEY = SAFE_RANGE, // An empty key to start (and maybe end) the enum - #ifdef DYNAMIC_MACRO_ENABLE - MCR_PLY, // Macro play - MCR_REC, // Macro record - MCR_SWT, // Swap active macro - #endif -}; - -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 - _END, -}; - -#ifdef DYNAMIC_MACRO_ENABLE - // Macro 1 is = 1, Macro 2 = -1, No macro = 0 - static bool MACRO1 = true; - static bool RECORDING = false; - - static uint16_t REC = DM_REC1; - static uint16_t PLY = DM_PLY1; - - void dynamic_macro_record_start_user(void) { - 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 - -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, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX - ) -}; - -#define LAYER (get_highest_layer(layer_state)) -#define LAYER_SIZE (MATRIX_ROWS * MATRIX_COLS) -#define CHECK_LED() \ - if ((i >= RGB_MATRIX_LED_COUNT) \ - || ((g_led_config.flags[pos] == LED_FLAG_NONE) || (g_led_config.flags[pos] == LED_FLAG_UNDERGLOW))) \ - continue - -#ifdef RGB_MATRIX_ENABLE - - #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 - - bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { - if (LAYER != _MAIN) { - - int DimmedMax = UINT8_MAX - (UINT8_MAX - rgb_matrix_config.hsv.v); - - for (uint8_t i = led_min; i <= led_max; i++) { - - uint8_t pos = ((uint8_t*)g_led_config.matrix_co)[i]; - - CHECK_LED(); // Check LED before moving on - uint16_t KC = pgm_read_word(&((uint16_t*)keymaps)[(LAYER_SIZE * LAYER) + i]); - - if (KC == KC_NO) { - RGB_MATRIX_INDICATOR_SET_COLOR(pos, 0, 0, 0 ); - } - - #ifdef DYNAMIC_MACRO_ENABLE - else if (KC == MCR_SWT) { - if (!MACRO1) { - RGB_MATRIX_INDICATOR_SET_COLOR(pos, 0, DimmedMax, DimmedMax); - } - } else if (KC == MCR_REC) { - if (RECORDING) { - RGB_MATRIX_INDICATOR_SET_COLOR(pos, DimmedMax, 0, 0); - } - } - #endif - - } - } - return false; - } -#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 - - 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 - - #if defined(RGB_MATRIX_ENABLE) && defined(RGBLIGHT_ENABLE) // this only needs to be defined if both are enabled - case RGB_TOG: // We can intercept this keycode ig? Cool :) - if (record->event.pressed) { - if (rgb_matrix_is_enabled()) { - rgb_matrix_disable/*_noeeprom*/(); - rgblight_enable/*_noeeprom*/(); - } else if (rgblight_is_enabled()) { - rgb_matrix_disable/*_noeeprom*/(); - rgblight_disable/*_noeeprom*/(); - } else { - rgb_matrix_enable/*_noeeprom*/(); - rgblight_disable/*_noeeprom*/(); - } - } - 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 66c518e347..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/coffee/readme.md +++ /dev/null @@ -1,55 +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. -``` -esc | q | w | e | r | t | y | u | i | o | p | bksp -tab | a | s | d | f | g | h | j | k | l | ; | ' -shft | z | x | c | v | b | n | m | , | . | / | rtrn -ctrl | win | | alt | SUB | spc | CTR | lft | dwn | up | rght -``` - -The secondary layer ( `_SUB` ) is for syntax, F keys, and number keys -``` -grv | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | del - | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | pgup - _ | F7 | F8 | F9 | F10 | F11 | F12 | | home | end | \ | pgdn - _ | _ | | _ | _ | _ | _ | | | | -``` - -The control layer ( `_CTR` ) is for lighting, media, and macros -``` - | SPD- | BRI+ | SPD+ | HUE+ | SAT+ | | | VOL+ | | | MCR_REC - | EFCT- | BRI- | EFCT+ | HUE- | SAT- | | PREV | PLAY | NEXT | | MCR_PLY - | | TOG | | | | | | VOL- | | | MCR_SWT - | | | | | _ | | | | | -``` - -| Key name | Explanation | -| -------- | -------------------------------------- | -| \_ | Passthrough the key on the layer below | -| SUB | Goes to _SUB layer while held down | -| CTR | Goes to _CTR layer while held down | -| 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 | - -## Compiling - -Compiling: `make kprepublic/bm40hsrgb:coffee` - -Flashing: `make kprepublic/bm40hsrgb:coffee:flash` diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/config.h b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/config.h deleted file mode 100644 index 67f7e7cd6f..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 168 -#define TAPPING_TERM_PER_KEY diff --git a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c b/keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c deleted file mode 100644 index 7e87d088d8..0000000000 --- a/keyboards/kprepublic/bm40hsrgb/keymaps/dan/keymap.c +++ /dev/null @@ -1,334 +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 . - */ -#include QMK_KEYBOARD_H - -enum layers { - _ALPHA, - _LEFTFN, - _RIGHTFN, - _NUMPAD, - _LEAGUE, - _PUBG, - _OVERWATCH, - _STARCRAFT, - _TETRIS, - _CLEAN, - _RGB -}; - -#define ALPHA TO(_ALPHA) -#define LEFTFN MO(_LEFTFN) -#define RIGHTFN MO(_RIGHTFN) -#define NUMPAD MO(_NUMPAD) -#define LEAGUE TG(_LEAGUE) -#define PUBG TG(_PUBG) -#define OVERWATCH TG(_OVERWATCH) -#define STARCRAFT TG(_STARCRAFT) -#define TETRIS TG(_TETRIS) -#define CLEAN TG(_CLEAN) -#define RGB MO(_RGB) - -// Tap dance declarations -enum { - TD_LNG1_LNG2, - TD_PAST_PSLS -}; - -qk_tap_dance_action_t tap_dance_actions[] = { - [TD_LNG1_LNG2] = ACTION_TAP_DANCE_DOUBLE(KC_LNG1, KC_LNG2), - [TD_PAST_PSLS] = ACTION_TAP_DANCE_DOUBLE(KC_PAST, KC_PSLS) -}; - -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/NU|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), TD(TD_LNG1_LNG2), 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+/| PGUP | [ | ] | ) | : | " | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Shift|CapLck| Ins | Home | End | PGDN |PrntSc| ( | , | . | / |Return| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | RGB | [ | ] | 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_PGUP, KC_LBRC, KC_RBRC, KC_RPRN, KC_COLN, KC_DQUO, - KC_LSFT, KC_CAPS, KC_INS, KC_HOME, KC_END, KC_PGDN, KC_PSCR, KC_LPRN, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, - RGB, KC_LBRC, KC_RBRC, KC_LALT, KC_TRNS, KC_SPC, KC_UNDS, KC_PLUS, KC_DEL, KC_PIPE, KC_PENT -), - -/* 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 -), - -/* NUMPAD - * ,-----------------------------------------------------------------------------------. - * | *or/ | 7 | 8 | 9 | NumLk| | | | | | | Bksp | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Alt | 4 | 5 | 6 |Return| | | | | | Shift| | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | - | 1 | 2 | 3 | Bksp | | | | , | . | Ctrl |Return| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Trns | , | + | . | 0 | Space |LEAGUE| PUBG | OVWCh| SC |TETRIS| - * `-----------------------------------------------------------------------------------' - */ -[_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, LEAGUE, PUBG, OVERWATCH, STARCRAFT, TETRIS -), - -/* LEAGUE - * ,-----------------------------------------------------------------------------------. - * | 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| - * `-----------------------------------------------------------------------------------' - */ -[_LEAGUE] = 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 -), - -/* PUBG - * ,-----------------------------------------------------------------------------------. - * | 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| - * `-----------------------------------------------------------------------------------' - */ -[_PUBG] = 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 -), - -/* OVERWATCH - * ,-----------------------------------------------------------------------------------. - * | 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| - * `-----------------------------------------------------------------------------------' - */ -[_OVERWATCH] = 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 -), - -/* STARCRAFT - * ,-----------------------------------------------------------------------------------. - * | 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| - * `-----------------------------------------------------------------------------------' - */ -[_STARCRAFT] = 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 -), - -/* TETRIS - * ,-----------------------------------------------------------------------------------. - * | Tab | Q | Up | E | R | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | A | Left | Down | Right| F | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Shift| Z | X | C | V | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | Ctrl | | | Alt | S | Space | | | | | ALPHA| - * `-----------------------------------------------------------------------------------' - */ -[_TETRIS] = 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 - * ,-----------------------------------------------------------------------------------. - * | | Reset| | | | | | | | | | CLEAN| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | | | | | | | | | | | | - * |------+------+------+------+------+------+------+------+------+------+------+------| - * |RGBTGL| MOD+ | BRT+ | SAT+ | | | | FX+ | HUE+ | | MOD R| MODES| - * |------+------+------+------+------+------+------+------+------+------+------+------| - * | | MOD- | BRT- | SAT- | Trns | | FX- | HUE- | | MOD B| MOD P| - * `-----------------------------------------------------------------------------------' - */ -[_RGB] = LAYOUT_planck_mit( - KC_NO, QK_BOOT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, CLEAN, - KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, - RGB_TOG, RGB_MOD, RGB_VAI, RGB_SAI, KC_NO, KC_NO, KC_NO, RGB_SPI, RGB_HUI, KC_NO, RGB_M_R, RGB_M_SW, - KC_NO, RGB_RMOD, RGB_VAD, RGB_SAD, KC_TRNS, KC_NO, RGB_SPD, RGB_HUD, KC_NO, RGB_M_B, RGB_M_P -) - -}; - -/* -// 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 pink[3] = {17, 0, 22}; - uint8_t white[3] = {255, 255, 255}; - uint8_t wasd[4] = {2, 13, 14, 15}; - - switch (get_highest_layer(layer_sta