summaryrefslogtreecommitdiff
path: root/keyboards/dztech/dz65rgb
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dztech/dz65rgb')
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/adi/keymap.c19
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/adi/readme.md13
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/catrielmuller/config.h3
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/catrielmuller/keymap.c243
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/catrielmuller/rules.mk2
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/chocol8/config.h3
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/chocol8/keymap.c25
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/chocol8/rules.mk5
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/drootz/config.h52
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/drootz/keymap.c747
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/drootz/readme.md210
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/drootz/rules.mk11
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/jumper149/config.h63
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/jumper149/keymap.c120
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/jumper149/readme.md24
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/jumper149/rgb_matrix_user.inc700
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/jumper149/rules.mk1
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/matthewrobo/config.h65
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/matthewrobo/keymap.c306
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/matthewrobo/rules.mk5
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/pagondel/keymap.c65
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/pagondel/readme.md35
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/sbennett13/config.h43
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/sbennett13/keymap.c20
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/sbennett13/readme.md50
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/sbennett13/rules.mk23
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/yuannan/config.h41
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/yuannan/keymap.c212
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/yuannan/readme.md88
-rw-r--r--keyboards/dztech/dz65rgb/keymaps/yuannan/rules.mk5
30 files changed, 0 insertions, 3199 deletions
diff --git a/keyboards/dztech/dz65rgb/keymaps/adi/keymap.c b/keyboards/dztech/dz65rgb/keymaps/adi/keymap.c
deleted file mode 100644
index 914d1cc756..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/adi/keymap.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#include QMK_KEYBOARD_H
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT_65_ansi(
- QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_GRV,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL,
- LCTL_T(KC_CAPS), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
- KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
- ),
- [1] = LAYOUT_65_ansi(
- QK_GESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_HOME,
- KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, QK_BOOT, KC_PGUP,
- LCTL_T(KC_CAPS), RGB_SPD, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, EE_CLR, KC_PGDN,
- KC_LSFT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_VOLU, KC_MUTE,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT
- )
-
-};
diff --git a/keyboards/dztech/dz65rgb/keymaps/adi/readme.md b/keyboards/dztech/dz65rgb/keymaps/adi/readme.md
deleted file mode 100644
index fd3a6744ca..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/adi/readme.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# Adi's DZ65RGB Layout
-![Layout Visual](https://i.imgur.com/xuFkvVI.png)
-
-This layout modifies the extra row on the right and makes some of the key bindings easier to reach on Layer 1.
-## Step by Step
-1. Build your Firmware: run build command in directory
-```make dztech/dz65rgb/v1:adi```
-2. Flash your Firmware:
- * Open QMK Toolbox Application
- * Open firmware file: dztech_dz65rgb_v1_adi.bin
- * Unplug keyboard USB-C, and hold the ESC key while plugging it back in
- * Check that QMK Toolbox displays: *** STM32 device connected.
- * Hit the flash button!
diff --git a/keyboards/dztech/dz65rgb/keymaps/catrielmuller/config.h b/keyboards/dztech/dz65rgb/keymaps/catrielmuller/config.h
deleted file mode 100644
index 76feedceb0..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/catrielmuller/config.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#define LEADER_TIMEOUT 300
-#define FORCE_NKRO
-#define UNICODE_SELECTED_MODES UNICODE_MODE_LINUX, UNICODE_MODE_MACOS, UNICODE_MODE_WINDOWS, UNICODE_MODE_WINCOMPOSE \ No newline at end of file
diff --git a/keyboards/dztech/dz65rgb/keymaps/catrielmuller/keymap.c b/keyboards/dztech/dz65rgb/keymaps/catrielmuller/keymap.c
deleted file mode 100644
index 7b4e9ab728..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/catrielmuller/keymap.c
+++ /dev/null
@@ -1,243 +0,0 @@
-#include QMK_KEYBOARD_H
-
-// Config
-const uint8_t MAIN_COLOR[3] = {0xFF, 0x00, 0x00};
-
-// layers, ordering is important!
-enum layers {
- _MAIN,
- _INDEX,
- _FN,
- _MULTIMEDIA,
- _EMOJI,
- _EXT1,
- _EXT2,
- _EXT3,
- _EXT4,
- _EXT5,
- _EXT6,
- _RGB,
- _CONFIG,
-}
-
-const layers_leds_map[] = {
- [_MAIN] = 0,
- [_INDEX] = 1,
- [_FN] = 2,
- [_MULTIMEDIA] = 3,
- [_EMOJI] = 4,
- [_EXT1] = 5,
- [_EXT2] = 6,
- [_EXT3] = 7,
- [_EXT4] = 8,
- [_EXT5] = 9,
- [_EXT6] = 10,
- [_RGB] = 11,
- [_CONFIG] = 12,
-};
-
-enum unicode_names {
- UC_GRINNING_FACE, // ๐Ÿ˜ƒ
- UC_BEAMING_FACE, // ๐Ÿ˜
- UC_GRINNING_FACE_WITH_SWEAT, // ๐Ÿ˜…
- UC_ROLLING_LAUGHING, // ๐Ÿคฃ
- UC_FACE_TEARS_JOY, // ๐Ÿ˜‚
- UC_WINKING_FACE, // ๐Ÿ˜‰
- UC_SMILING_FACE_HALO, // ๐Ÿ˜‡
- UC_SMILING_FACE_HEARTS, // ๐Ÿฅฐ
- UC_SMILING_FACE_HEART_EYES, // ๐Ÿ˜
- UC_FACE_BLOWING_KISS, // ๐Ÿ˜˜
- UC_FACE_SAVORING_FOOD, // ๐Ÿ˜‹
- UC_ZANY_FACE, // ๐Ÿคช
- UC_HUGGING_FACE, // ๐Ÿค—
- UC_SHUSHING_FACE, // ๐Ÿคซ
- UC_THINKING_FACE, // ๐Ÿค”
- UC_FACE_RAISED_EYEBROW, // ๐Ÿคจ
- UC_NEUTRAL_FACE, // ๐Ÿ˜
- UC_SMIRKING_FACE, // ๐Ÿ˜
- UC_FACE_ROLLING_EYES, // ๐Ÿ™„
- UC_PENSIVE_FACE, // ๐Ÿ˜”
- UC_FACE_VOMITING, // ๐Ÿคฎ
- UC_WOOZY_FACE, // ๐Ÿฅด
- UC_PLEADING_FACE, // ๐Ÿฅบ
- UC_LOUDLY_CRYING_FACE, // ๐Ÿ˜ญ
- UC_DISAPPOINTED_FACE, // ๐Ÿ˜ž
- UC_FACE_SYMBOLS_MOUTH, // ๐Ÿคฌ
- UC_SMILING_FACE_HORNS, // ๐Ÿ˜ˆ
- UC_SKULL, // ๐Ÿ’€
- UC_PILE_POO, // ๐Ÿ’ฉ
- UC_GHOST, // ๐Ÿ‘ป
- UC_ALIEN_MONSTER, // ๐Ÿ‘พ
- UC_RED_HEART, // โค
- UC_BOMB, // ๐Ÿ’ฃ
- UC_WAVING_HAND, // ๐Ÿ‘‹
- UC_OK_HAND, // ๐Ÿ‘Œ
- UC_CLAPPING_HANDS, // ๐Ÿ‘
- UC_EYES, // ๐Ÿ‘€
- UC_MAN_FACEPALMING, // ๐Ÿคฆ
- UC_TURTLE, // ๐Ÿข
- UC_SNAKE, // ๐Ÿ
- UC_SPOUTING_WHALE, // ๐Ÿณ
- UC_DRAGON, // ๐Ÿ‰
- UC_TREX, // ๐Ÿฆ–
- UC_ARGENTINA_A, // ๐Ÿ‡ฆ
- UC_ARGENTINA_R, // ๐Ÿ‡ท
- UC_THUMBSDOWN, // ๐Ÿ‘
- UC_THUMBSUP, // ๐Ÿ‘Ž
-};
-
-const uint32_t unicode_map[] PROGMEM = {
- [UC_GRINNING_FACE] = 0x1F603,
- [UC_BEAMING_FACE] = 0x1F601,
- [UC_GRINNING_FACE_WITH_SWEAT] = 0x1F605,
- [UC_ROLLING_LAUGHING] = 0x1F923,
- [UC_FACE_TEARS_JOY] = 0x1F602,
- [UC_WINKING_FACE] = 0x1F609,
- [UC_SMILING_FACE_HALO] = 0x1F607,
- [UC_SMILING_FACE_HEARTS] = 0x1F970,
- [UC_SMILING_FACE_HEART_EYES] = 0x1F60D,
- [UC_FACE_BLOWING_KISS] = 0x1F618,
- [UC_FACE_SAVORING_FOOD] = 0x1F60B,
- [UC_ZANY_FACE] = 0x1F92A,
- [UC_HUGGING_FACE] = 0x1F917,
- [UC_SHUSHING_FACE] = 0x1F92B,
- [UC_THINKING_FACE] = 0x1F914,
- [UC_FACE_RAISED_EYEBROW] = 0x1F928,
- [UC_NEUTRAL_FACE] = 0x1F610,
- [UC_SMIRKING_FACE] = 0x1F60F,
- [UC_FACE_ROLLING_EYES] = 0x1F644,
- [UC_PENSIVE_FACE] = 0x1F614,
- [UC_FACE_VOMITING] = 0x1F92E,
- [UC_WOOZY_FACE] = 0x1F974,
- [UC_PLEADING_FACE] = 0x1F97A,
- [UC_LOUDLY_CRYING_FACE] = 0x1F62D,
- [UC_DISAPPOINTED_FACE] = 0x1F61E,
- [UC_FACE_SYMBOLS_MOUTH] = 0x1F92C,
- [UC_SMILING_FACE_HORNS] = 0x1F608,
- [UC_SKULL] = 0x1F480,
- [UC_PILE_POO] = 0x1F4A9,
- [UC_GHOST] = 0x1F47B,
- [UC_ALIEN_MONSTER] = 0x1F47E,
- [UC_RED_HEART] = 0x2764,
- [UC_BOMB] = 0x1F4A3,
- [UC_WAVING_HAND] = 0x1F44B,
- [UC_OK_HAND] = 0x1F44C,
- [UC_CLAPPING_HANDS] = 0x1F44F,
- [UC_EYES] = 0x1F440,
- [UC_MAN_FACEPALMING] = 0x1F926,
- [UC_TURTLE] = 0x1F422,
- [UC_SNAKE] = 0x1F40D,
- [UC_SPOUTING_WHALE] = 0x1F433,
- [UC_DRAGON] = 0x1F409,
- [UC_TREX] = 0x1F996,
- [UC_ARGENTINA_A] = 0x1F1E6,
- [UC_ARGENTINA_R] = 0x1F1F7,
- [UC_THUMBSDOWN] = 0x1F44E,
- [UC_THUMBSUP] = 0x1F44D,
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_MAIN] = LAYOUT_65_ansi(
- QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_END,
- KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, RSFT_T(KC_APP), KC_UP, KC_PGDN,
- KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, QK_LEAD, TO(_INDEX), MO(_FN), KC_LEFT, KC_DOWN, KC_RGHT
- ),
- [_INDEX] = LAYOUT_65_ansi(
- TO(_MAIN), TO(_INDEX), TO(_FN), TO(_MULTIMEDIA), TO(_EMOJI), TO(_EXT1), TO(_EXT2), TO(_EXT3), TO(_EXT4), TO(_EXT5), TO(_EXT6), TO(_RGB), TO(_CONFIG), TO(_MAIN), 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, KC_NO, KC_NO, KC_NO, TO(_INDEX), TO(_FN), KC_NO, KC_NO, KC_NO
- ),
- [_FN] = LAYOUT_65_ansi(
- KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_PSCR,
- KC_TAB, KC_F13, KC_F14, KC_F15, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_F21, KC_F22, KC_F23, KC_F24, KC_INS, KC_SCRL,
- KC_APP, 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_PAUS,
- KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_BTN1, KC_MS_U, KC_BTN2,
- KC_LCTL, KC_LGUI, KC_LALT, KC_NO, KC_NO, TO(_INDEX), KC_TRNS, KC_MS_L, KC_MS_D, KC_MS_R
- ),
- [_MULTIMEDIA] = LAYOUT_65_ansi(
- TO(_MAIN), 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_MPLY, 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_MSTP, KC_VOLU, KC_MUTE,
- KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, TO(_INDEX), KC_NO, KC_MPRV, KC_VOLD, KC_MNXT
- ),
- [_EMOJI] = LAYOUT_65_ansi(
- TO(_MAIN), UM(UC_GRINNING_FACE), UM(UC_BEAMING_FACE), UM(UC_GRINNING_FACE_WITH_SWEAT), UM(UC_ROLLING_LAUGHING), UM(UC_FACE_TEARS_JOY), UM(UC_WINKING_FACE), UM(UC_SMILING_FACE_HALO), UM(UC_SMILING_FACE_HEARTS), UM(UC_SMILING_FACE_HEART_EYES), UM(UC_FACE_BLOWING_KISS), UM(UC_FACE_SAVORING_FOOD), UM(UC_ZANY_FACE), KC_BSPC, KC_HOME,
- KC_TAB, UM(UC_HUGGING_FACE), UM(UC_SHUSHING_FACE), UM(UC_THINKING_FACE), UM(UC_FACE_RAISED_EYEBROW), UM(UC_NEUTRAL_FACE), UM(UC_SMIRKING_FACE), UM(UC_FACE_ROLLING_EYES), UM(UC_PENSIVE_FACE), UM(UC_FACE_VOMITING), UM(UC_WOOZY_FACE), UM(UC_PLEADING_FACE), UM(UC_LOUDLY_CRYING_FACE), UM(UC_THUMBSUP), KC_END,
- KC_APP, UM(UC_DISAPPOINTED_FACE), UM(UC_FACE_SYMBOLS_MOUTH), UM(UC_SMILING_FACE_HORNS), UM(UC_SKULL), UM(UC_PILE_POO), UM(UC_GHOST), UM(UC_ALIEN_MONSTER), UM(UC_RED_HEART), UM(UC_BOMB), UM(UC_WAVING_HAND), UM(UC_OK_HAND), KC_ENT, KC_PGUP,
- KC_LSFT, UM(UC_CLAPPING_HANDS), UM(UC_EYES), UM(UC_MAN_FACEPALMING), UM(UC_TURTLE), UM(UC_SNAKE), UM(UC_SPOUTING_WHALE), UM(UC_DRAGON), UM(UC_TREX), UM(UC_ARGENTINA_A), UM(UC_ARGENTINA_R), UM(UC_THUMBSDOWN), KC_UP, KC_PGDN,
- KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, QK_LEAD, TO(_INDEX), TO(_MAIN), KC_LEFT, KC_DOWN, KC_RGHT
- ),
- [_EXT1] = LAYOUT_65_ansi(
- TO(_MAIN), 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, 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, TO(_INDEX), KC_NO, KC_NO, KC_NO, KC_NO
- ),
- [_EXT2] = LAYOUT_65_ansi(
- TO(_MAIN), 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, 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, TO(_INDEX), KC_NO, KC_NO, KC_NO, KC_NO
- ),
- [_EXT3] = LAYOUT_65_ansi(
- TO(_MAIN), 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, 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, TO(_INDEX), KC_NO, KC_NO, KC_NO, KC_NO
- ),
- [_EXT4] = LAYOUT_65_ansi(
- TO(_MAIN), 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, 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, TO(_INDEX), KC_NO, KC_NO, KC_NO, KC_NO
- ),
- [_EXT5] = LAYOUT_65_ansi(
- TO(_MAIN), 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, 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, TO(_INDEX), KC_NO, KC_NO, KC_NO, KC_NO
- ),
- [_EXT6] = LAYOUT_65_ansi(
- TO(_MAIN), 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, 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, TO(_INDEX), KC_NO, KC_NO, KC_NO, KC_NO
- ),
- [_RGB] = LAYOUT_65_ansi(
- TO(_MAIN), 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, RGB_TOG, RGB_RMOD, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, RGB_SPD, RGB_SPI, KC_NO, KC_NO, KC_NO,
- KC_NO, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, RGB_M_K, RGB_M_X, RGB_M_G, 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, TO(_INDEX), KC_NO, KC_NO, KC_NO, KC_NO
- ),
- [_CONFIG] = LAYOUT_65_ansi(
- TO(_MAIN), 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_ACL2,
- KC_NO, KC_PWR, KC_SLEP, KC_WAKE, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, QK_BOOT, DB_TOGG, EE_CLR, KC_NO, KC_ACL1,
- KC_NO, UC_PREV, UC_NEXT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_ACL0,
- KC_NO, MAGIC_TOGGLE_NKRO, MAGIC_UNHOST_NKRO, MAGIC_HOST_NKRO, 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, TO(_INDEX), KC_NO, KC_NO, KC_NO, KC_NO
- ),
-};
-
-bool rgb_matrix_indicators_user(void) {
-
- // CapsLock Light
- if (host_keyboard_led_state().caps_lock) {
- rgb_matrix_set_color(30, MAIN_COLOR[0], MAIN_COLOR[1], MAIN_COLOR[2]);
- }
-
- // Show Selected Layer
- rgb_matrix_set_color(layers_leds_map[get_highest_layer(layer_state)], MAIN_COLOR[0], MAIN_COLOR[1], MAIN_COLOR[2]);
- return false;
-}
diff --git a/keyboards/dztech/dz65rgb/keymaps/catrielmuller/rules.mk b/keyboards/dztech/dz65rgb/keymaps/catrielmuller/rules.mk
deleted file mode 100644
index 1bd58cf79c..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/catrielmuller/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-LEADER_ENABLE = yes
-UNICODEMAP_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/dztech/dz65rgb/keymaps/chocol8/config.h b/keyboards/dztech/dz65rgb/keymaps/chocol8/config.h
deleted file mode 100644
index 1c801d7e3c..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/chocol8/config.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#pragma once
-
-#define FORCE_NKRO
diff --git a/keyboards/dztech/dz65rgb/keymaps/chocol8/keymap.c b/keyboards/dztech/dz65rgb/keymaps/chocol8/keymap.c
deleted file mode 100644
index 735ceef722..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/chocol8/keymap.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#include QMK_KEYBOARD_H
-
-enum tofu68_layers {
- _QWERTY,
- _FNM
-};
-
-#define FNM MO(_FNM)
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_QWERTY] = LAYOUT_65_ansi(
- QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_GRV,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL,
- KC_GRV, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
- KC_LCTL, KC_LALT, KC_LCMD, KC_SPC, FNM, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
- ),
- [_FNM] = LAYOUT_65_ansi(
- _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, _______, KC_MUTE, KC_VOLU,
- _______, RGB_TOG, RGB_MOD, RGB_HUI ,RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, QK_BOOT, KC_VOLD,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, AG_TOGG, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_BTN1, KC_MS_U, _______,
- _______, _______, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R
- )
-};
diff --git a/keyboards/dztech/dz65rgb/keymaps/chocol8/rules.mk b/keyboards/dztech/dz65rgb/keymaps/chocol8/rules.mk
deleted file mode 100644
index 1778a5e141..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/chocol8/rules.mk
+++ /dev/null
@@ -1,5 +0,0 @@
-NKRO_ENABLE = yes # USB Nkey Rollover
-VELOCIKEY_ENABLE = yes
-# AUTO_SHIFT_ENABLE = yes # Auto Shift
-
-LTO_ENABLE = yes
diff --git a/keyboards/dztech/dz65rgb/keymaps/drootz/config.h b/keyboards/dztech/dz65rgb/keymaps/drootz/config.h
deleted file mode 100644
index 51fd5c6871..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/drootz/config.h
+++ /dev/null
@@ -1,52 +0,0 @@
-#pragma once
-
-#define LEADER_PER_KEY_TIMING
-#define LEADER_TIMEOUT 425
-#define TAP_HOLD_CAPS_DELAY 80
-
-#ifdef RGB_MATRIX_ENABLE
-/* Reset default from dz65rgb/v2 config.h */
-# undef DISABLE_RGB_MATRIX_SPLASH
-# undef DISABLE_RGB_MATRIX_SOLID_SPLASH
-# undef RGB_MATRIX_LED_FLUSH_LIMIT
-# undef RGB_MATRIX_DEFAULT_MODE
-# undef RGB_MATRIX_MAXIMUM_BRIGHTNESS
-# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255
-# define RGB_MATRIX_LED_FLUSH_LIMIT 16 // default: 26
-# define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_TYPING_HEATMAP
-# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
-# define RGB_MATRIX_DEFAULT_HUE 10
-# define RGB_MATRIX_DEFAULT_SAT 255
-# define RGB_MATRIX_DEFAULT_VAL 200
-# define RGB_MATRIX_DEFAULT_SPD 75
-/* Active RBG Modes */
-/* # undef ENABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! */
-/* # undef ENABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out */
-/* # undef ENABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out */
-/* Disabling to optimize firmware size */
-# undef ENABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue
-# undef ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient left to right, speed controls how much gradient changes
-# undef ENABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation
-# undef ENABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right
-# undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness
-# undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness
-# undef ENABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient
-# undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right
-# undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom
-# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in
-# undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in
-# undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right
-# undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard
-# undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard
-# undef ENABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard
-# undef ENABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard
-# undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard
-# undef ENABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue
-# undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation
-# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue
-#endif /* RBG MATRIX */
-
-/* Firmware size Optimizations */
-#define NO_ACTION_MACRO
-#define NO_ACTION_FUNCTION
-#define NO_ACTION_ONESHOT
diff --git a/keyboards/dztech/dz65rgb/keymaps/drootz/keymap.c b/keyboards/dztech/dz65rgb/keymaps/drootz/keymap.c
deleted file mode 100644
index 8a7bbd22ec..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/drootz/keymap.c
+++ /dev/null
@@ -1,747 +0,0 @@
-#include QMK_KEYBOARD_H
-
-/**************** SOME GLOBALS *********************/
-
-bool onMac = false;
-bool isLeader = false;
-bool isBlinking = false;
-bool isRecording = false;
-bool isPlaying = false;
-const float led_dim_ratio = 0.50;
-static uint16_t blink_cycle_timer,
- blink_fade_in_timer,
- blink_fade_out_timer,
- macro_one_play_timer,
- macro_two_play_timer,
- macro_play_blink_timer = 2000;
-static uint8_t fade_in_step_counter,
- fade_out_step_counter,
- blink_hsv_value;
-
-/**************** LED BLINK HELPER FUNCTIONS *********************/
-
-/*
-Function to set color with hsv arguments
-- "hue", "sat" and "val" arguments above 255 will get value from rgb matrix config
-- "val_ratio" is used to adjust brightness ratio
-*/
-void rgb_matrix_set_color_hsv(uint8_t led, uint16_t hue, uint16_t sat, uint16_t val, float val_ratio) {
- const uint8_t h = hue <= 255 ? hue : rgb_matrix_config.hsv.h;
- const uint8_t s = sat <= 255 ? sat : rgb_matrix_config.hsv.s;
- const uint8_t v = val <= 255 ? val * val_ratio : rgb_matrix_config.hsv.v * val_ratio;
- HSV hsv_in = {h, s, v};
- RGB rgb_out = hsv_to_rgb(hsv_in);
- rgb_matrix_set_color(led, rgb_out.r, rgb_out.g, rgb_out.b);
-}
-
-void reset_blink_cycle(void) {
- blink_cycle_timer = timer_read();
- blink_fade_in_timer = timer_read();
- blink_fade_out_timer = timer_read();
- blink_hsv_value = 0;
- fade_in_step_counter = 0;
- fade_out_step_counter = 0;
-}
-
-void reset_blink_status(void) {
- isRecording = false;
- isPlaying = false;
- isBlinking = false;
-}
-
-void get_this_led_blinking(uint8_t led_index, bool speed, uint8_t hue, uint8_t sat) {
- const uint16_t static_on_time = speed ? 200 : 500;
- const uint16_t static_off_time = speed ? 200 : 500;
- const uint8_t fade_timing = speed ? 100 : 150;
- const uint8_t fade_step = speed ? 10 : 15;
- const uint8_t fade_value_step_size = rgb_matrix_config.hsv.v / fade_step;
- const uint8_t fade_cycle_time_elapsed = fade_timing / fade_step;
- if (timer_elapsed(blink_cycle_timer) < static_on_time) {
- if (timer_elapsed(blink_fade_in_timer) > fade_cycle_time_elapsed && fade_in_step_counter < fade_step) {
- blink_hsv_value = blink_hsv_value + fade_value_step_size;
- fade_in_step_counter = fade_in_step_counter + 1;
- blink_fade_in_timer = timer_read();
- }
- } else {
- if (timer_elapsed(blink_fade_out_timer) > fade_cycle_time_elapsed && fade_out_step_counter < fade_step) {
- blink_hsv_value = blink_hsv_value - fade_value_step_size;
- fade_out_step_counter = fade_out_step_counter + 1;
- blink_fade_out_timer = timer_read();
- }
- }
-
- rgb_matrix_set_color_hsv(led_index, hue, sat, blink_hsv_value, 0.75);
-
- if (timer_elapsed(blink_cycle_timer) > static_on_time + static_off_time) {
- reset_blink_cycle();
- }
-}
-
-
-/**************** LAYOUT *********************/
-
-/*
-[LEDS]
- 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, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57
-58, 59, 60, 61, 62, 63, 64, 65, 66, 67
-
-[KEYS]
-ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, -, =, BCK, INS
-TAB, Q, W, E, R, T, Y, U, I, O, P, [, ], \,PGUP
-CPS, A, S, D, F, G, H, J, K, L, COL, QOT, RETURN,PGDN
-SFT, Z, X, C, V, B, N, M, COM, DOT, SLS, SHIFT, UP, DEL
-CTL, GUI, ALT, SPACEBAR, ALT, FN, CTL, LFT, DWN, RIT
-*/
-
-enum layers {
- _MAIN,
- _MAC,
- _FN
-}
-
-const layers_leds_map[] = {
- [_MAIN] = 45,
- [_MAC] = 46,
- [_FN] = 63
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_MAIN] = LAYOUT_65_ansi(
- QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP,
- QK_LEAD, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_DEL,
- KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FN), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
- ),
- [_MAC] = LAYOUT_65_ansi(
- 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, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_LALT, KC_LGUI, KC_TRNS, KC_TRNS, MO(_FN), KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
- ),
- [_FN] = LAYOUT_65_ansi(
- DM_RSTP, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO,
- KC_TRNS, KC_MUTE, KC_VOLU, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, RGB_SAD, RGB_SAI, DM_PLY2, DM_REC2,
- KC_TRNS, KC_BRID, KC_VOLD, KC_BRIU, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, RGB_HUD, RGB_HUI, DM_PLY1, DM_REC1,
- KC_TRNS, TO(_MAIN), TO(_MAC), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, RGB_SPD, RGB_SPI, KC_TRNS, RGB_VAI, KC_NO,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_RMOD, RGB_VAD, RGB_MOD
- ),
-};
-
-//**************** MATRIX SCANS *********************//
-
-bool rgb_matrix_indicators_user(void) {
-
- #ifdef RGB_MATRIX_ENABLE
-
- /*Ensure some leds don't completeley turn off if hsv value setting is below 100 in the rgb matrix config */
- const uint8_t led_constant_val = rgb_matrix_config.hsv.v < 100 ? 100 : rgb_matrix_config.hsv.v;
-
- /* CapsLock LED indicator */
- if (host_keyboard_led_state().caps_lock) {
- rgb_matrix_set_color_hsv(30, 999, 0, led_constant_val, 0.75); // WHITE
- }
-
- /* Current layer LED indicator */
- rgb_matrix_set_color_hsv(layers_leds_map[get_highest_layer(layer_state)], 999, 0, led_constant_val, led_dim_ratio); // WHITE
-
- /* Leader Key LED under-glow */
- if (isLeader) {
- rgb_matrix_set_color_hsv(14, 999, 999, 999, 1); // CONFIG
- rgb_matrix_set_color_hsv(30, 999, 999, 999, 1); // CONFIG
- } else {
- rgb_matrix_set_color_hsv(14, 999, 999, 999, led_dim_ratio); // CONFIG
- }
-
- /* Blinking LED indicator when recording Dynamic Macro */
- if (isRecording && isBlinking) {
- get_this_led_blinking(0, false, 0, 255);
- }
-
- /* Blinking LED indicator when playing Dynamic Macro */
- if (isPlaying && isBlinking) {
- if (timer_elapsed(macro_one_play_timer) < macro_play_blink_timer || timer_elapsed(macro_two_play_timer) < macro_play_blink_timer) {
- get_this_led_blinking(0, true, 85, 255);
- } else {
- if (isBlinking && isPlaying) {
- reset_blink_status();
- reset_blink_cycle();
- }
- }
- }
-
- switch (get_highest_layer(layer_state)) {
- case _FN:
- /* Dynamic Macro LED indicator */
- if (isRecording) {
- rgb_matrix_set_color_hsv(0, 0, 999, 999, 1); /* RED macro stop */
- } else {
- rgb_matrix_set_color_hsv(43, 0, 999, 999, led_dim_ratio); /* RED macro 1 record */
- rgb_matrix_set_color_hsv(29, 0, 999, 999, led_dim_ratio); /* RED macro 2 record */
- rgb_matrix_set_color_hsv(42, 85, 999, 999, led_dim_ratio); /* GREEN macro 1 play */
- rgb_matrix_set_color_hsv(28, 85, 999, 999, led_dim_ratio); /* GREEN macro 2 play */
- }
- /* Layer LED indicators */
- rgb_matrix_set_color_hsv(45, 999, 0, led_constant_val, led_dim_ratio); /* WHITE Layer _MAIN */
- rgb_matrix_set_color_hsv(46, 999, 0, led_constant_val, led_dim_ratio); /* WHITE Layer _MAC */
- break;
- }
-
- #endif /* RGB_MATRIX */
- return false;
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- bool pressed = record->event.pressed;
- if (pressed) {
- switch (keycode) {
- case TO(_MAC):
- onMac = true;
- break;
- case TO(_MAIN):
- onMac = false;
- break;
- }
- }
- return true;
-}
-
-//**************** LEADER *********************//
-
-#ifdef LEADER_ENABLE
-
-/******* FRENCH ACCENT HELPER FUNCTIONS & DECLARATIONS *************/
-/*Most comonly used accents only*/
-
-enum french_letter {
- _A,
- _E,
- _I,
- _O,
- _U
-};
-
-const uint8_t french_letter_index[5] = {
- [_A] = 0,
- [_E] = 1,
- [_I] = 2,
- [_O] = 3,
- [_U] = 4
-};
-
-enum french_accent {
- _CIRCUMFLEX,
- _GRAVE,
- _ACUTE
-};
-
-const uint8_t french_accent_index[3] = {
- [_CIRCUMFLEX] = 0,
- [_GRAVE] = 1,
- [_ACUTE] = 2
-};
-
-/*
-This represent unicode decimal values
-Each index will be mapped to numpad keycode to out put the correct sequence
-All codes in this array should be of size 3
-All accent codes have the same index position as in the french_accent_index Array
-*/
-const uint8_t french_decimal_unicodes[5][3][2] = { /*[Letter][Accent][Case]*/
- {
- {
- 131, // รข
- 194 // ร‚
- },{
- 133, // ร 
- 192 // ร€
- }
- },{
- {
- 136, // รช
- 202 // รŠ
- },{
- 138, // รจ
- 200 // รˆ
- },{
- 130, // รฉ
- 201 // ร‰
- }
- },{
- {
- 140, // รฎ
- 206 // รŽ
- }
- },{
- {
- 147, // รด
- 212 // ร”
- }
- },{
- {
- 150, // รป
- 219 // ร›
- },{
- 151, // รน
- 217 // ร™
- }
- }
-};
-
-void break_int_in_array(uint8_t int_code, uint8_t size, uint8_t *array) {
- uint8_t i;
- i = size;
- while (i--) {
- array[i] = int_code%10;
- int_code /= 10;
- }
-}
-
-/*
-Function meant to be used in Leader Key macros to output most commonly used french accents
-This is designed and work on an English language keyboard setting on both Windows and Mac
-=> accept french_letter and french_accent enum's as argument
-*/
-void send_french_accent(uint8_t letter, uint8_t accent) {
-
- bool isCaps;
- uint8_t decimal_unicode_in;
- uint8_t decimal_unicode_size = 3;
- uint8_t decimal_unicode_out[decimal_unicode_size];
-
- /*Map to numpad keycodes*/
- const uint16_t numpad_key_map[10] = {
- KC_P0, KC_P1, KC_P2, KC_P3, KC_P4, KC_P5, KC_P6, KC_P7, KC_P8, KC_P9
- };
-
- /*Map to letter keycodes*/
- const uint16_t french_letter_key_map[5] = {
- KC_A, KC_E, KC_I, KC_O, KC_U
- };
-
- /*Map to mod keys for French Mac shortcuts*/
- const uint16_t osx_mod_key_map[3] = {
- KC_I, // _CIRCUMFLEX
- KC_GRAVE, // _GRAVE
- KC_E // _ACUTE
- };
-
- /*
- Function to tap the correct keycodes in sequence for the
- "Windows Alt Code" requested, aka Decimal Unicodes
- */
- void tap_win_alt_code(void) {
- if (isCaps) {
- tap_code(numpad_key_map[0]); // Leading 0 on all upper case "Windows alt codes"
- }
- for (int i = 0; i < decimal_unicode_size; ++i) {
- tap_code(numpad_key_map[decimal_unicode_out[i]]);
- }
- }
-
- isCaps = host_keyboard_led_state().caps_lock ? true : false;
-
- if (onMac) {
- if (isCaps) {
- SEND_STRING(SS_TAP(X_CAPS_LOCK));
- register_code(KC_LALT);
- tap_code(osx_mod_key_map[accent]);
- unregister_code(KC_LALT);
- register_code(KC_LSFT);
- tap_code(french_letter_key_map[letter]);
- unregister_code(KC_LSFT);
- tap_code(KC_CAPS);
- } else {
- register_code(KC_LALT);
- tap_code(osx_mod_key_map[accent]);
- unregister_code(KC_LALT);
- tap_code(french_letter_key_map[letter]);
- }
- } else {
- /*get the correct decimal unicode*/
- decimal_unicode_in = isCaps ? french_decimal_unicodes[letter][accent][1] : french_decimal_unicodes[letter][accent][0];
- break_int_in_array(decimal_unicode_in, decimal_unicode_size, decimal_unicode_out);
- register_code(KC_LALT);
- tap_win_alt_code();
- unregister_code(KC_LALT);
- }
-}
-
-/*Couple functions used to output the same macro on two different sequences*/
-
-/* (|) */
-void ldrkey_send_paranthesis_wrap_ini(void) {
- SEND_STRING("()" SS_TAP(X_LEFT));
-}
-
-/* (X) */
-void ldrkey_send_paranthesis_wrap_word(void) {
- onMac ? SEND_STRING(SS_LALT(SS_TAP(X_LEFT)) "(" SS_LALT(SS_TAP(X_RIGHT)) ")") : SEND_STRING(SS_LCTL(SS_TAP(X_LEFT)) "(" SS_LCTL(SS_TAP(X_RIGHT)) ")");
-}
-
-/* (selection) */
-void ldrkey_send_paranthesis_wrap_selection(void) {
- onMac ? SEND_STRING(SS_LGUI(SS_TAP(X_X)) "()" SS_TAP(X_LEFT) SS_LGUI(SS_TAP(X_V)) SS_TAP(X_RIGHT)) : SEND_STRING(SS_LCTL(SS_TAP(X_X)) "()" SS_TAP(X_LEFT) SS_LCTL(SS_TAP(X_V)) SS_TAP(X_RIGHT));
-}
-
-/* [|] */
-void ldrkey_send_bracket_wrap_ini(void) {
- SEND_STRING("[]" SS_TAP(X_LEFT));
-}
-
-/* [X] */
-void ldrkey_send_bracket_wrap_word(void) {
- onMac ? SEND_STRING(SS_LALT(SS_TAP(X_LEFT)) "[" SS_LALT(SS_TAP(X_RIGHT)) "]") : SEND_STRING(SS_LCTL(SS_TAP(X_LEFT)) "[" SS_LCTL(SS_TAP(X_RIGHT)) "]");
-}
-
-/* [selection] */
-void ldrkey_send_bracket_wrap_selection(void) {
- onMac ? SEND_STRING(SS_LGUI(SS_TAP(X_X)) "[]" SS_TAP(X_LEFT) SS_LGUI(SS_TAP(X_V)) SS_TAP(X_RIGHT)) : SEND_STRING(SS_LCTL(SS_TAP(X_X)) "[]" SS_TAP(X_LEFT) SS_LCTL(SS_TAP(X_V)) SS_TAP(X_RIGHT));
-}
-
-/* {|} */
-void ldrkey_send_curlybrace_wrap_ini(void) {
- SEND_STRING("{}" SS_TAP(X_LEFT));
-}
-
-/* {X} */
-void ldrkey_send_curlybrace_wrap_word(void) {
- onMac ? SEND_STRING(SS_LALT(SS_TAP(X_LEFT)) "{" SS_LALT(SS_TAP(X_RIGHT)) "}") : SEND_STRING(SS_LCTL(SS_TAP(X_LEFT)) "{" SS_LCTL(SS_TAP(X_RIGHT)) "}");
-}
-
-/* {selection} */
-void ldrkey_send_curlybrace_wrap_selection(void) {
- onMac ? SEND_STRING(SS_LGUI(SS_TAP(X_X)) "{}" SS_TAP(X_LEFT) SS_LGUI(SS_TAP(X_V)) SS_TAP(X_RIGHT)) : SEND_STRING(SS_LCTL(SS_TAP(X_X)) "{}" SS_TAP(X_LEFT) SS_LCTL(SS_TAP(X_V)) SS_TAP(X_RIGHT));
-}
-
-void leader_start_user(void) {
- isLeader = true;
-}
-
-void leader_end_user(void) {
- isLeader = false;
-
- /* Sequences on layer _MAIN & _MAC */
- /* รฉร‰ => LdrKey > / */
- if (leader_sequence_one_key(KC_SLSH)) {
- send_french_accent(_E, _ACUTE);
- }
- /* ร ร€ => LdrKey > A */
- if (leader_sequence_one_key(KC_A)) {
- send_french_accent(_A, _GRAVE);
- }
- /* รจรˆ => LdrKey > E */
- if (leader_sequence_one_key(KC_E)) {
- send_french_accent(_E, _GRAVE);
- }
- /* รนร™ => LdrKey > U */
- if (leader_sequence_one_key(KC_U)) {
- send_french_accent(_U, _GRAVE);
- }
- /* รขร‚ => LdrKey > A > A */
- if (leader_sequence_two_keys(KC_A, KC_A)) {
- send_french_accent(_A, _CIRCUMFLEX);
- }
- /* รชรŠ => LdrKey > E > E */
- if (leader_sequence_two_keys(KC_E, KC_E)) {
- send_french_accent(_E, _CIRCUMFLEX);
- }
- /* รฎรŽ => LdrKey > I > I */
- if (leader_sequence_two_keys(KC_I, KC_I)) {
- send_french_accent(_I, _CIRCUMFLEX);
- }
- /* รดร” => LdrKey > O > O */
- if (leader_sequence_two_keys(KC_O, KC_O)) {
- send_french_accent(_O, _CIRCUMFLEX);
- }
- /* รปร› => LdrKey > U > U */
- if (leader_sequence_two_keys(KC_U, KC_U)) {
- send_french_accent(_U, _CIRCUMFLEX);
- }
- /* รงร‡ => LdrKey > C */
- if (leader_sequence_one_key(KC_C)) {
- if (onMac) {
- SEND_STRING(SS_LALT("c"));
- } else {
- host_keyboard_led_state().caps_lock ? SEND_STRING(SS_DOWN(X_LALT) SS_TAP(X_P1) SS_TAP(X_P2) SS_TAP(X_P8) SS_UP(X_LALT)) : SEND_STRING(SS_DOWN(X_LALT) SS_TAP(X_P1) SS_TAP(X_P3) SS_TAP(X_P5) SS_UP(X_LALT));
- }
- }
- /* CapsLock */
- if (leader_sequence_one_key(QK_LEAD)) {
- tap_code(KC_CAPS);
- }
- /* ยฑ => LdrKey > = > - */
- if (leader_sequence_two_keys(KC_EQL, KC_MINS)) {
- onMac ? SEND_STRING(SS_LALT(SS_LSFT(SS_TAP(X_EQL)))) : SEND_STRING(SS_DOWN(X_LALT) SS_TAP(X_P2) SS_TAP(X_P4) SS_TAP(X_P1) SS_UP(X_LALT));
- }
- /* โ‰ค => LdrKey > - > = */
- if (leader_sequence_two_keys(KC_MINS, KC_EQL)) {
- onMac ? SEND_STRING(SS_LALT(SS_TAP(X_COMM))) : SEND_STRING(SS_DOWN(X_LALT) SS_TAP(X_P2) SS_TAP(X_P4) SS_TAP(X_P3) SS_UP(X_LALT));
- }
- /* โ‰ฅ => LdrKey > = > = */
- if (leader_sequence_two_keys(KC_EQL, KC_EQL)) {
- onMac ? SEND_STRING(SS_LALT(SS_TAP(X_DOT))) : SEND_STRING(SS_DOWN(X_LALT) SS_TAP(X_P2) SS_TAP(X_P4) SS_TAP(X_P2) SS_UP(X_LALT));
- }
- /* <= => LdrKey > , > , */
- if (leader_sequence_two_keys(KC_COMM, KC_COMM)) {
- SEND_STRING(SS_LSFT(SS_TAP(X_COMM)) SS_TAP(X_SPC) SS_TAP(X_EQL) SS_TAP(X_LEFT) SS_TAP(X_BSPC) SS_TAP(X_RIGHT));
- }
- /* => => LdrKey > . > . */
- if (leader_sequence_two_keys(KC_DOT, KC_DOT)) {
- SEND_STRING("=>");
- }
- /* ", " => LdrKey > " " */
- if (leader_sequence_one_key(KC_SPC)) {
- SEND_STRING(", ");
- }
- /* ". " => LdrKey > " " > " " */
- if (leader_sequence_two_keys(KC_SPC, KC_SPC)) {
- SEND_STRING(". ");
- }
- /* Backward delete current word (on cursor) */
- if (leader_sequence_two_keys(KC_BSPC, KC_BSPC)) {
- onMac ? SEND_STRING(SS_LALT(SS_TAP(X_RIGHT)) SS_LALT(SS_LSFT(SS_TAP(X_LEFT))) SS_TAP(X_BSPC)) : SEND_STRING(SS_LCTL(SS_TAP(X_RIGHT)) SS_LCTL(SS_LSFT(SS_TAP(X_LEFT))) SS_TAP(X_BSPC));
- }
- /* Previous word delete */
- if (leader_sequence_one_key(KC_BSPC)) {
- onMac ? SEND_STRING(SS_LALT(SS_LSFT(SS_TAP(X_LEFT))) SS_TAP(X_BSPC)) : SEND_STRING(SS_LCTL(SS_LSFT(SS_TAP(X_LEFT))) SS_TAP(X_BSPC));
- }
- /* Forward delete current word (on cursor) */
- if (leader_sequence_two_keys(KC_DEL, KC_DEL)) {
-
- onMac ? SEND_STRING(SS_LALT(SS_TAP(X_LEFT)) SS_LALT(SS_LSFT(SS_TAP(X_RIGHT))) SS_TAP(X_DEL)) : SEND_STRING(SS_LCTL(SS_TAP(X_LEFT)) SS_LCTL(SS_LSFT(SS_TAP(X_RIGHT))) SS_TAP(X_DEL));
- }
- /* Next word delete */
- if (leader_sequence_one_key(KC_DEL)) {
- onMac ? SEND_STRING(SS_LALT(SS_LSFT(SS_TAP(X_RIGHT))) SS_TAP(X_DEL)): SEND_STRING(SS_LCTL(SS_LSFT(SS_TAP(X_RIGHT))) SS_TAP(X_DEL));
- }
- /* ` => LdrKey > Escape */
- if (leader_sequence_one_key(QK_GESC)) {
- SEND_STRING("`");
- }
- /* ``` => LdrKey > Escape > Escape > Escape */
- if (leader_sequence_three_keys(QK_GESC, QK_GESC, QK_GESC)) {
- SEND_STRING("```");
- }
- /* Printscreen => LdrKey > Insert */
- if (leader_sequence_one_key(KC_INS)) {
- onMac ? SEND_STRING(SS_LGUI(SS_LSFT(SS_TAP(X_4)))) : SEND_STRING(SS_TAP(X_PSCR));
- }
- /* Home => LdrKey > Page Up */
- if (leader_sequence_one_key(KC_PGUP)) {
- onMac ? SEND_STRING(SS_TAP(X_HOME)) : SEND_STRING(SS_LCTL(SS_TAP(X_HOME)));
- }
- /* End => LdrKey > Page Down */
- if (leader_sequence_one_key(KC_PGDN)) {
- onMac ? SEND_STRING(SS_TAP(X_END)) : SEND_STRING(SS_LCTL(SS_TAP(X_END)));
- }
- /* Close Curernt File/Tab => LdrKey > W */
- if (leader_sequence_one_key(KC_W)) {
- onMac ? SEND_STRING(SS_LGUI(SS_TAP(X_W))) : SEND_STRING(SS_LCTL(SS_TAP(X_W)));
- }
- /* Close Current App => LdrKey > Q */
- if (leader_sequence_one_key(KC_Q)) {
- onMac ? SEND_STRING(SS_LGUI(SS_TAP(X_Q))) : SEND_STRING(SS_LALT(SS_TAP(X_F4)));
- }
- /* " => LdrKey > ' */
- if (leader_sequence_one_key(KC_QUOT)) {
- SEND_STRING("\"");
- }
- /* "|" => LdrKey > ' > ' */
- if (leader_sequence_two_keys(KC_QUOT, KC_QUOT)) {
- SEND_STRING("\"\"" SS_TAP(X_LEFT));
- }
- /* "X" wrap => LdrKey > ' > ' > ' */
- if (leader_sequence_three_keys(KC_QUOT, KC_QUOT, KC_QUOT)) {
- onMac ? SEND_STRING(SS_LALT(SS_TAP(X_LEFT)) "\"" SS_LALT(SS_TAP(X_RIGHT)) "\"") : SEND_STRING(SS_LCTL(SS_TAP(X_LEFT)) "\"" SS_LCTL(SS_TAP(X_RIGHT)) "\"");
- }
- /* ( => LdrKey > Left Shift */
- if (leader_sequence_one_key(KC_LSFT)) {
- SEND_STRING("(");
- }
- /* ) => LdrKey > Right Shift */
- if (leader_sequence_one_key(KC_RSFT)) {
- SEND_STRING(")");
- }
- /* (|) => LdrKey > Left Shift > Left Shift */
- if (leader_sequence_two_keys(KC_LSFT, KC_LSFT)) {
- ldrkey_send_paranthesis_wrap_ini();
- }
- /* (|) => LdrKey > Right Shift > Right Shift */
- if (leader_sequence_two_keys(KC_RSFT, KC_RSFT)) {
- ldrkey_send_paranthesis_wrap_ini();
- }
- /* (X) wrap => LdrKey > Left Shift > W */
- if (leader_sequence_two_keys(KC_LSFT, KC_W)) {
- ldrkey_send_paranthesis_wrap_word();
- }
- /* (X) wrap => LdrKey > Right Shift > W */
- if (leader_sequence_two_keys(KC_RSFT, KC_W)) {
- ldrkey_send_paranthesis_wrap_word();
- }
- /* (X) wrap selection => LdrKey > Left Shift > W > W */
- if (leader_sequence_three_keys(KC_LSFT, KC_W, KC_W)) {
- ldrkey_send_paranthesis_wrap_selection();
- }
- /* (X) wrap selection => LdrKey > Right Shift > W > W */
- if (leader_sequence_three_keys(KC_RSFT, KC_W, KC_W)) {
- ldrkey_send_paranthesis_wrap_selection();
- }
- /* [ => LdrKey > Left CTL */
- if (leader_sequence_one_key(KC_LCTL)) {
- SEND_STRING("[");
- }
- /* ] => LdrKey > Right CTL */
- if (leader_sequence_one_key(KC_RCTL)) {
- SEND_STRING("]");
- }
- /* [|] => LdrKey > Left CTL > Left CTL */
- if (leader_sequence_two_keys(KC_LCTL, KC_LCTL)) {
- ldrkey_send_bracket_wrap_ini();
- }
- /* [|] => LdrKey > Right CTL > Right CTL */
- if (leader_sequence_two_keys(KC_RCTL, KC_RCTL)) {
- ldrkey_send_bracket_wrap_ini();
- }
- /* [X] wrap => LdrKey > Left CTL > W */
- if (leader_sequence_two_keys(KC_LCTL, KC_W)) {
- ldrkey_send_bracket_wrap_word();
- }
- /* [X] wrap => LdrKey > Right CTL > W */
- if (leader_sequence_two_keys(KC_RCTL, KC_W)) {
- ldrkey_send_bracket_wrap_word();
- }
- /* [X] wrap selection => LdrKey > Left CTL > W > W */
- if (leader_sequence_three_keys(KC_LCTL, KC_W, KC_W)) {
- ldrkey_send_bracket_wrap_selection();
- }
- /* [X] wrap selection => LdrKey > Right CTL > W > W */
- if (leader_sequence_three_keys(KC_RCTL, KC_W, KC_W)) {
- ldrkey_send_bracket_wrap_selection();
- }
- /* { => LdrKey > Left ALT */
- if (leader_sequence_one_key(KC_LALT)) {
- SEND_STRING("{");
- }
- /* } => LdrKey > Right ALT */
- if (leader_sequence_one_key(KC_RALT)) {
- SEND_STRING("}");
- }
- /* {|} => LdrKey > Left ALT > Left ALT */
- if (leader_sequence_two_keys(KC_LALT, KC_LALT)) {
- ldrkey_send_curlybrace_wrap_ini();
- }
- /* {|} => LdrKey > Right ALT > Right ALT */
- if (leader_sequence_two_keys(KC_RALT, KC_RALT)) {
- ldrkey_send_curlybrace_wrap_ini();
- }
- /* {X} wrap => LdrKey > Left ALT > W */
- if (leader_sequence_two_keys(KC_LALT, KC_W)) {
- ldrkey_send_curlybrace_wrap_word();
- }
- /* {X} wrap => LdrKey > Right ALT > W */
- if (leader_sequence_two_keys(KC_RALT, KC_W)) {
- ldrkey_send_curlybrace_wrap_word();
- }
- /* {X} wrap selection => LdrKey > Left ALT > W > W */
- if (leader_sequence_three_keys(KC_LALT, KC_W, KC_W)) {
- ldrkey_send_curlybrace_wrap_selection();
- }
- /* {X} wrap selection => LdrKey > Right ALT > W > W */
- if (leader_sequence_three_keys(KC_RALT, KC_W, KC_W)) {
- ldrkey_send_curlybrace_wrap_selection();
- }
- /* Select everything on this line before cursor => LdrKey > Left */
- if (leader_sequence_one_key(KC_LEFT)) {
- onMac ? SEND_STRING(SS_LSFT(SS_LGUI(SS_TAP(X_LEFT)))) : SEND_STRING(SS_LSFT(SS_TAP(X_HOME)));
- }
- /* Select everything on this line after cursor => LdrKey > Right */
- if (leader_sequence_one_key(KC_RIGHT)) {
- onMac ? SEND_STRING(SS_LSFT(SS_LGUI(SS_TAP(X_RIGHT)))) : SEND_STRING(SS_LSFT(SS_TAP(X_END)));
- }
- /* Select everything on this line before cursor and bring on previous line => LdrKey > Left > Left */
- if (leader_sequence_two_keys(KC_LEFT, KC_LEFT)) {
- onMac ? SEND_STRING(SS_LSFT(SS_TAP(X_UP) SS_LGUI(SS_TAP(X_RIGHT)))) : SEND_STRING(SS_LSFT(SS_TAP(X_UP) SS_TAP(X_END)));
- }
- /* Select everything on this line => LdrKey > Right > Left */
- if (leader_sequence_two_keys(KC_RIGHT, KC_LEFT)) {
- onMac ? SEND_STRING(SS_LGUI(SS_TAP(X_RIGHT) SS_LSFT(SS_LGUI(SS_TAP(X_LEFT))))) : SEND_STRING(SS_TAP(X_END) SS_LSFT(SS_TAP(X_HOME)));
- }
- /* Select 1x Page Up on the page before the cursor => LdrKey > Up */
- if (leader_sequence_one_key(KC_UP)) {
- SEND_STRING(SS_LSFT(SS_TAP(X_PGUP)));
- }
- /* Select 1x Page Down on the page after the cursor => LdrKey > Down */
- if (leader_sequence_one_key(KC_DOWN)) {
- SEND_STRING(SS_LSFT(SS_TAP(X_PGDN)));
- }
- /* Select everything on the page before the cursor => LdrKey > Up > Up */
- if (leader_sequence_two_keys(KC_UP, KC_UP)) {
- onMac ? SEND_STRING(SS_LSFT(SS_LGUI(SS_TAP(X_UP)))) : SEND_STRING(SS_LSFT(SS_LCTL(SS_TAP(X_HOME))));
- }
- /* Select everything on the page after the cursor => LdrKey > Down > Down */
- if (leader_sequence_two_keys(KC_DOWN, KC_DOWN)) {
- onMac ? SEND_STRING(SS_LSFT(SS_LGUI(SS_TAP(X_DOWN)))) : SEND_STRING(SS_LSFT(SS_LCTL(SS_TAP(X_END))));
- }
- /* HELPER => spit out the url of the layout description page on github */
- if (leader_sequence_five_keys(QK_GESC, QK_GESC, QK_GESC, QK_GESC, QK_GESC)) {
- SEND_STRING("https://github.com/qmk/qmk_firmware/tree/master/keyboards/dztech/dz65rgb/keymaps/drootz");
- }
- /* google.ca => LdrKey > G > G */
- if (leader_sequence_two_keys(KC_G, KC_G)) {
- SEND_STRING("https://google.ca" SS_TAP(X_ENT));
- }
- /* @gmail => LdrKey > M > L > T */
- if (leader_sequence_three_keys(KC_M, KC_L, KC_T)) {
- SEND_STRING("mailto." SS_TAP(X_D) SS_TAP(X_A) SS_TAP(X_N) SS_TAP(X_I) SS_TAP(X_E) SS_TAP(X_L) SS_TAP(X_R) SS_TAP(X_A) SS_TAP(X_C) SS_TAP(X_I) SS_TAP(X_N) SS_TAP(X_E) "@gmail.com");
- }
- /* Show Desktop => LdrKey > D */
- if (leader_sequence_one_key(KC_D)) {
- onMac ? SEND_STRING(SS_LGUI(SS_TAP(X_SPC)) "Mission" SS_TAP(X_ENT)) : SEND_STRING(SS_LGUI(SS_TAP(X_D)));
- }
-}
-
-#endif /* LEADER */
-
-/**************** DYNAMIC MACRO *********************/
-
-void dynamic_macro_record_start_user(int8_t direction) {
- onMac = false; /* reset layer bool as dynamic macro clear the keyboard and reset layers. */
- if (!isBlinking && !isRecording) {
- reset_blink_cycle();
- isBlinking = true;
- isRecording = true;
- }
-}
-
-void dynamic_macro_record_end_user(int8_t direction) {
- if (isBlinking && isRecording) {
- reset_blink_status();
- reset_blink_cycle();
- }
-}
-
-void dynamic_macro_play_user(int8_t direction) {
- switch (direction) {
- case 1:
- if (!isBlinking && !isPlaying) {
- reset_blink_cycle();
- isBlinking = true;
- isPlaying = true;
- macro_one_play_timer = timer_read();
- }
- break;
- case -1:
- if (!isBlinking && !isPlaying) {
- reset_blink_cycle();
- isBlinking = true;
- isPlaying = true;
- macro_two_play_timer = timer_read();
- }
- break;
- }
-}
diff --git a/keyboards/dztech/dz65rgb/keymaps/drootz/readme.md b/keyboards/dztech/dz65rgb/keymaps/drootz/readme.md
deleted file mode 100644
index 15f15d752b..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/drootz/readme.md
+++ /dev/null
@@ -1,210 +0,0 @@
-![DZ65RGBv2 Layout Image - MAIN](https://res.cloudinary.com/drootz/image/upload/c_scale,w_800/v1582000645/drootz_dz65rgb_layer_0_main_n61oxl.jpg)
-
-# Drootz's DZ65RGBv2 ANSI Layout
-
-This layout fit best people who mainly type in English but regularly need to type in French _(using an English keyboard in OS setting)_. There are also some cool LED indicator effects and tons of Leader Key bindings/macros designed to work on both Mac and Windows OS. I tried to keep things as simple as possible from a usability perspective. Enjoy!
-
-- [LAYERS](#LAYERS)
-- [LEADER KEY BINDINGS:](#LEADER-KEY-BINDINGS)
- - [OS and Keyboard Macros](#OS-and-Keyboard-Macros)
- - [French Accents](#French-Accents)
- - [Special Characters and Punctuation](#Special-Characters-and-Punctuation)
- - [Text Selection Macros](#Text-Selection-Macros)
- - [Expanded Space Cadet Macros](#Expanded-Space-Cadet-Macros)
- - [Text Expanders](#Text-Expanders)
-- [STEP BY STEP FLASH INSTRUCTIONS](#STEP-BY-STEP-FLASH-INSTRUCTIONS)
-
-## HIGH LEVEL DESCRIPTION
-
-#### Dual function Capslock key
-- Single tap to trigger the Leader Key
-- Double tap to toggle Capslock ON/OFF
-
-#### 70+ useful Leader Key bindings and macros
-- "Designed" to work on both Mac and Windows OS with an English keyboard OS setting
-- Per key timing set at 425ms. Never a key sequence!
-- 20+ Punctuation, ASCII, System shortcuts and macros
-- 15+ French accents (รจ, รฉ, รช, รˆ, ร‰, รŠ, ร , etc.)
- - No need to switch to a French keyboard OS setting!
- - Preserve Capslock if enabled
-- 8 Text "selection" shortcuts
-- 20+ Expanded "Space Cadet" feature with Shift, Ctrl, Alt and DoubleQuote for (), [], {} and ""
-- Few useful strings output for my workflow (You may want to change or remove them...)
-
-#### Dynamic Macros enabled
-- Record/Play up to 2 Macros
-- Nesting allowed
-
-#### Kept only 4 RGB matrix animations due to size of firmware
-- Typing Heatmap => How hot is your WPM! (preferred animation because of LED indicators)
-- Matrix Splash => Full gradient & value pulse away from a single key hit then fades value out
-- Solid Splash => Hue & value pulse away from a single key hit then fades value out
-- Solid Color => Static single hue, no speed support
-
-#### LED indicators and animations
-- White led when Capslock toggle ON
-- The brightness of all the other indicator can be adjusted globally with the RGB matrix brightness setting on layer \_FN
-- White LED indicator for layer selection and current layer identification
-- Red and green blinking indicator when "recording" or "playing" Dynamic Macros
-- Leader Key LED indicator:
- - Persistent 50% dimmed under-glow on top right corner key
- - Light up at 100% for the duration of the Leader Key timeout when activated
- - Hue, saturation and brightness can be globally adjusted with the RGB matrix settings on layer \_FN
-
-#### 3 Layers
-- \_MAIN: Default layer for Windows OS
-- \_MAC: Transparent layer that switch left hand modifier KC_LALT and KC_LGUI keys for MacOS
-- \_FN: Functions & settings layer:
- - Macro 1 & 2 keycodes (Record, Stop, Play) with LED indicators
- - F Keys (F1...F12) on number row
- - RGB matrix & animation settings
- - Screen brightness & volume system controls
- - Layer selection
-
-## LAYERS
-
-- Colored keys on the layout visuals below represent the position of the LED indicators on each layer.
-- Press down and hold the MO(\_FN) key to access the \_FN layer
-- Double tap on the Capslock key to toggle Capslock ON/OFF
-- \_TRNS keys use the next lowest non-transparent key (on lower layers)
-- \_NO keys are ignored (nothing happens)
-
-### [Layer 0: \_MAIN](http://www.keyboard-layout-editor.com/#/gists/67c22220856a927766bd3e0331ed782a)
-![DZ65RGBv2 Layout Image - MAIN](https://res.cloudinary.com/drootz/image/upload/c_scale,w_800/v1582000645/drootz_dz65rgb_layer_0_main_n61oxl.jpg)
-
-### [Layer 1: \_MAC](http://www.keyboard-layout-editor.com/#/gists/4a32d80c67c778658febf28524fb5000)
-![DZ65RGBv2 Layout Image - MAC](https://res.cloudinary.com/drootz/image/upload/c_scale,w_800/v1582000653/drootz_dz65rgb_layer_1_mac_z4tsaw.jpg)
-
-### [Layer 2: \_FN](http://www.keyboard-layout-editor.com/#/gists/b583bd7cc5b0a75b4610bbda18fba65e)
-![DZ65RGBv2 Layout Image - FN](https://res.cloudinary.com/drootz/image/upload/c_scale,w_800/v1582000661/drootz_dz65rgb_layer_2_fn_zv8yte.jpg)
-
-## LEADER KEY BINDINGS
-
-The Leader Key on this layout is triggered by tapping the Capslock key once. Once triggered, we have 450ms between each key press to type any one of the sequences listed below. All sequences are designed to work on both Mac and Windows with an English keyboard OS setting.
-
-- [OS and Keyboard Macros](#OS-and-Keyboard-Macros)
-- [French Accents](#French-Accents)
-- [Special Characters and Ponctuation](#Special-Characters-and-Ponctuation)
-- [Text Selection Macros](#Text-Selection-Macros)
-- [Expanded Space Cadet Macros](#Expanded-Space-Cadet-Macros)
-- [Text Expanders](#Text-Expanders)
-
-#### Legend:
-
-| Acronym | Description |
-| :--- | :--- |
-| LDR | Leader Key |
-| SFT | Shift key |
-| CTL | Control key |
-| ESC | Escape key |
-| ยถ | Text cursor position |
-
-### OS and Keyboard Macros
-
-| Output | Sequence | Description
-| :--- | :--- | :--- |
-| Toggle Capslock | `LDR LDR` | Single tap Capslock to trigger the LDR key |
-| Delete all previous characters in word on cursor OR; | `LDR BACKSPACE` | n/a |
-| => Delete previous word if triggered repeatedly | `LDR BACKSPACE` | n/a |
-| Delete all forward characters in word on cursor OR; | `LDR DEL` | n/a |
-| => Delete next word if triggered repeatedly | `LDR DEL` | n/a |
-| Backward Delete whole word on cursor | `LDR BACKSPACE BACKSPACE` | n/a |
-| Forward Delete whole word on cursor | `LDR DEL DEL` | n/a |
-| Printscreen | `LDR INSERT` | n/a |
-| Home | `LDR PAGE-UP` | n/a |
-| End | `LDR PAGE-DOWN` | n/a |
-| OS: Close current file/tab | `LDR W` | n/a |
-| OS: Close current application | `LDR Q` | n/a |
-| OS: Show Desktop(Win) or Mission Control(Mac) | `LDR D` | The Mac sequence will work with LaunchBar (Cmd+Space) |
-
-### French Accents
-
-| Output | Sequence | Description
-| :--- | :--- | :--- |
-| `ร `ยถ &nbsp;&nbsp;or&nbsp;&nbsp; `ร€`ยถ | `LDR A` | Will output upper character if Capslock enabled. |
-| `รข`ยถ &nbsp;&nbsp;or&nbsp;&nbsp; `ร‚`ยถ | `LDR A A` | Will output upper character if Capslock enabled. |
-| `รง`ยถ &nbsp;&nbsp;or&nbsp;&nbsp; `ร‡`ยถ | `LDR C` | Will output upper character if Capslock enabled. |
-| `รจ`ยถ &nbsp;&nbsp;or&nbsp;&nbsp; `รˆ`ยถ | `LDR E` | Will output upper character if Capslock enabled. |
-| `รช`ยถ &nbsp;&nbsp;or&nbsp;&nbsp; `รŠ`ยถ | `LDR E E` | Will output upper character if Capslock enabled. |
-| `รฉ`ยถ &nbsp;&nbsp;or&nbsp;&nbsp; `ร‰`ยถ | `LDR /` | Will output upper character if Capslock enabled |
-| `รฎ`ยถ &nbsp;&nbsp;or&nbsp;&nbsp; `รŽ`ยถ | `LDR I I` | Will output upper character if Capslock enabled. |
-| `รด`ยถ &nbsp;&nbsp;or&nbsp;&nbsp; `ร”`ยถ | `LDR O O` | Will output upper character if Capslock enabled. |
-| `รน`ยถ &nbsp;&nbsp;or&nbsp;&nbsp; `ร™`ยถ | `LDR U` | Will output upper character if Capslock enabled. |
-| `รป`ยถ &nbsp;&nbsp;or&nbsp;&nbsp; `ร›`ยถ | `LDR U U` | Will output upper character if Capslock enabled. |
-
-### Special Characters and Punctuation
-
-| Output | Sequence | Description |
-| :--- | :--- | :--- |
-| `ยฑ`ยถ | `LDR = -` | n/a |
-| `โ‰ค`ยถ | `LDR - =` | n/a |
-| `โ‰ฅ`ยถ | `LDR = =` | n/a |
-| `=>`ยถ | `LDR , ,` | n/a |
-| `<=`ยถ | `LDR . .` | n/a |
-| ``` ` ``` ยถ | `LDR ESC` | n/a |
-| \`\`\` ยถ | `LDR ESC ESC ESC` | n/a |
-| `,` space ยถ | `LDR SPACE` | n/a |
-| `.` space ยถ | `LDR SPACE SPACE` | n/a |
-
-### Text Selection Macros
-
-| Output | Sequence |
-| :--- | :--- |
-| Select everything on this line before cursor | `LDR LEFT-ARROW` |
-| Select everything on this line after cursor | `LDR RIGHT-ARROW` |
-| Select everything on this line before cursor up to end of previous line | `LDR LEFT-ARROW LEFT-ARROW` | n/a |
-| Select everything on this line | `LDR RIGHT-ARROW LEFT-ARROW` |
-| Select 1x Page Up on the page before the cursor | `LDR UP-ARROW` |
-| Select 1x Page Down on the page after the cursor | `LDR DOWN-ARROW` |
-| Select everything on the page before the cursor | `LDR UP-ARROW UP-ARROW` |
-| Select everything on the page after the cursor | `LDR DOWN-ARROW DOWN-ARROW` |
-
-### Expanded Space Cadet Macros
-
-| Output | Sequence | Description |
-| :--- | :--- | :--- |
-| `"`ยถ | `LDR '` | Will output single double-quote |
-| `"`ยถ`"` | `LDR ' '` | Will wrap cursor between two double-quotes |
-| `"`WORD`"`ยถ | `LDR ' ' '` | Will wrap word on cursor between two double-quotes |
-| `(`ยถ | `LDR LEFT-SFT` | Will output single left parenthesis |
-| `)`ยถ | `LDR RIGHT-SFT` | Will output single right parenthesis |
-| `(`ยถ`)` | `LDR LEFT-SFT LEFT-SFT` | Will wrap cursor between two parenthesis' |
-| `(`ยถ`)` | `LDR RIGHT-SFT RIGHT-SFT` | Will wrap cursor between two parenthesis' |
-| `(`WORD`)`ยถ | `LDR LEFT-SFT W` | Will wrap word on cursor between two parenthesis' |
-| `(`WORD`)`ยถ | `LDR RIGHT-SFT W` | Will wrap word on cursor between two parenthesis' |
-| `(`SELECTION`)`ยถ | `LDR LEFT-SFT W W` | Will wrap selection between two parenthesis' |
-| `(`SELECTION`)`ยถ | `LDR RIGHT-SFT W W` | Will wrap selection between two parenthesis' |
-| `[`ยถ | `LDR LEFT-CTL` | Will output single left bracket |
-| `]`ยถ | `LDR RIGHT-CTL` | Will output single right bracket |
-| `[`ยถ`]` | `LDR LEFT-CTL LEFT-CTL` | Will wrap cursor between two brackets' |
-| `[`ยถ`]` | `LDR RIGHT-CTL RIGHT-CTL` | Will wrap cursor between two brackets' |
-| `[`WORD`]`ยถ | `LDR LEFT-CTL W` | Will wrap word on cursor between two brackets' |
-| `[`WORD`]`ยถ | `LDR RIGHT-CTL W` | Will wrap word on cursor between two brackets' |
-| `[`SELECTION`]`ยถ | `LDR LEFT-CTL W W` | Will wrap selection between two brackets' |
-| `[`SELECTION`]`ยถ | `LDR RIGHT-CTL W W` | Will wrap selection between two brackets' |
-| `{`ยถ | `LDR LEFT-ALT` | Will output single left curly brace |
-| `}`ยถ | `LDR RIGHT-ALT` | Will output single right curly brace |
-| `{`ยถ`}` | `LDR LEFT-ALT LEFT-ALT` | Will wrap cursor between two curly braces' |
-| `{`ยถ`}` | `LDR RIGHT-ALT RIGHT-ALT` | Will wrap cursor between two curly braces' |
-| `{`WORD`}`ยถ | `LDR LEFT-ALT W` | Will wrap word on cursor between two curly braces' |
-| `{`WORD`}`ยถ | `LDR RIGHT-ALT W` | Will wrap word on cursor between two curly braces' |
-| `{`SELECTION`}`ยถ | `LDR LEFT-ALT W W` | Will wrap selection between two curly braces' |
-| `{`SELECTION`}`ยถ | `LDR RIGHT-ALT W W` | Will wrap selection between two curly braces' |
-
-### Text Expanders
-
-| Output | Sequence | Description |
-| :--- | :--- | :--- |
-| https://google.ca | `LDR G G` | n/a |
-| Layout Help URL | `LDR ESC ESC ESC ESC ESC` | URL to this readme.md page |
-| My Gmail | `LDR M L T` | You may want to update this before compiling the firmware |
-
-## STEP BY STEP FLASH INSTRUCTIONS
-1. Build the Firmware. Run build command in directory: `make dztech/dz65rgb/v2:drootz`
- - Approximate firmware size: 27302/28672 (95%, 1370 bytes free)
-2. Flash the Firmware:
- - Open QMK Toolbox Application
- - Open firmware file: dztech_dz65rgb_v2_drootz.hex
- - Unplug keyboard USB, and hold the ESC key while plugging it back in
- - Check that QMK Toolbox displays: *** DFU device connected.
- - Hit the flash button!
diff --git a/keyboards/dztech/dz65rgb/keymaps/drootz/rules.mk b/keyboards/dztech/dz65rgb/keymaps/drootz/rules.mk
deleted file mode 100644
index 2f8ab8ecc3..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/drootz/rules.mk
+++ /dev/null
@@ -1,11 +0,0 @@
-DYNAMIC_MACRO_ENABLE = yes
-LEADER_ENABLE = yes
-
-# Firmware size Optimizations
-LTO_ENABLE = yes
-MOUSEKEY_ENABLE = no
-NKRO_ENABLE = no
-SPACE_CADET_ENABLE = no
-TAP_DANCE_ENABLE = no
-UNICODEMAP_ENABLE = no
-SPLIT_KEYBOARD = no
diff --git a/keyboards/dztech/dz65rgb/keymaps/jumper149/config.h b/keyboards/dztech/dz65rgb/keymaps/jumper149/config.h
deleted file mode 100644
index 081b2d8b41..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/jumper149/config.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/* Copyright 2021 Felix Springer
- *
- * 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/>.
- */
-#pragma once
-
-#define FORCE_NKRO
-
-#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_RAINBOW_MOVING_CHEVRON
-# undef ENABLE_RGB_MATRIX_DUAL_BEACON
-# undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
-# undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL
-# 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_TYPING_HEATMAP
-# undef ENABLE_RGB_MATRIX_DIGITAL_RAIN
-# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE
-# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
-# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
-# undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
-# 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_SOLID_REACTIVE_MULTINEXUS
-# undef ENABLE_RGB_MATRIX_SPLASH
-# undef ENABLE_RGB_MATRIX_MULTISPLASH
-# undef ENABLE_RGB_MATRIX_SOLID_SPLASH
-# undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
-
-// Fix RGB_MATRIX_STARTUP, because RGB_MATRIX_CYCLE_ALL is disabled.
-// The actual handling of RGB_EFFECTs is done in keymap.c
-#undef RGB_MATRIX_DEFAULT_MODE
-
-#endif
diff --git a/keyboards/dztech/dz65rgb/keymaps/jumper149/keymap.c b/keyboards/dztech/dz65rgb/keymaps/jumper149/keymap.c
deleted file mode 100644
index ec63d53bd7..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/jumper149/keymap.c
+++ /dev/null
@@ -1,120 +0,0 @@
-/* Copyright 2021 Felix Springer
- *
- * 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
-
-enum layers_user {
- _QWERTY,
- _AD,
- _VI,
- _FN,
- _KB
-};
-
-enum keycodes_user {
- _BASEEF = SAFE_RANGE,
- _KITTEF
-};
-
-int selected_mode_user = RGB_MATRIX_CUSTOM_base_effect; // for layer_state_set_user()
-bool process_record_user(uint16_t keycode, keyrecord_t * record) {
- switch (keycode) {
- case _BASEEF:
- if (record->event.pressed) {
- selected_mode_user = RGB_MATRIX_CUSTOM_base_effect;
- }
- return false;
- case _KITTEF:
- if (record->event.pressed) {
- selected_mode_user = RGB_MATRIX_CUSTOM_kitt_effect;
- }
- return false;
- default:
- return true;
- }
-}
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_QWERTY] = LAYOUT_65_ansi(
- KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP,
- KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END,
- KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(_FN), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
- ),
- [_AD] = LAYOUT_65_ansi(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_END,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
- ),
- [_VI] = LAYOUT_65_ansi(
- KC_ESC, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PGUP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- KC_ESC, XXXXXXX, XXXXXXX, KC_PGDN, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, XXXXXXX, XXXXXXX, _______, XXXXXXX,
- _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_FIND, _______, _______, XXXXXXX,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
- ),
- [_FN] = LAYOUT_65_ansi(
- XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_INS,
- XXXXXXX, KC_MUTE, KC_VOLU, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PSCR, KC_SCRL, KC_PAUS, XXXXXXX, KC_PSTE,
- CTL_T(KC_CAPS), KC_BRID, KC_VOLD, KC_BRIU, XXXXXXX, XXXXXXX, TG(_AD), TG(_VI), XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_COPY,
- KC_LSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_APP, XXXXXXX, XXXXXXX, XXXXXXX, KC_RSFT, KC_MSTP, KC_CUT,
- KC_LCTL, KC_LGUI, KC_LALT, XXXXXXX, MO(_KB), XXXXXXX, KC_RCTL, KC_MPRV, KC_MPLY, KC_MNXT
- ),
- [_KB] = LAYOUT_65_ansi(
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_SPI, RGB_SPD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, QK_BOOT, XXXXXXX,
- XXXXXXX, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, RGB_SAI, RGB_SAD, XXXXXXX, XXXXXXX, _BASEEF, _KITTEF, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, EE_CLR, XXXXXXX,
- KC_LSFT, RGB_VAI, RGB_VAD, XXXXXXX, XXXXXXX, XXXXXXX, NK_TOGG, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_RSFT, XXXXXXX, XXXXXXX,
- XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
- )
- /*
- [_LEDS] = LAYOUT_65_ansi(
- 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 ,
- 15 , 16 Q, 17 W, 18 E, 19 R, 20 T, 21 Y, 22 U, 23 I, 24 O, 25 P, 26 , 27 , 28 , 29 ,
- 30 , 31 A, 32 S, 33 D, 34 F, 35 G, 36 H, 37 J, 38 K, 39 L, 40 , 41 , 42 , 43 ,
- 44 , 45 Z, 46 X, 47 C, 48 V, 49 B, 50 N, 51 M, 52 , 53 , 54 , 55 , 56 , 57 ,
- 58 , 59 , 60 , 61 , 62 , 63 , 64 , 65 , 66 , 67
- )
- */
-};
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- switch (get_highest_layer(state)) {
- case _QWERTY:
- rgb_matrix_mode(selected_mode_user);
- break;
- case _AD:
- if (selected_mode_user == RGB_MATRIX_CUSTOM_base_effect) {
- rgb_matrix_mode(RGB_MATRIX_CUSTOM_base_ad_effect);
- } else {
- rgb_matrix_mode(selected_mode_user);
- }
- break;
- case _VI:
- rgb_matrix_mode(RGB_MATRIX_CUSTOM_vi_effect);
- break;
- case _FN:
- rgb_matrix_mode(RGB_MATRIX_CUSTOM_fn_indicator);
- break;
- case _KB:
- rgb_matrix_mode(RGB_MATRIX_CUSTOM_kb_indicator);
- break;
- }
-
- return state;
-}
diff --git a/keyboards/dztech/dz65rgb/keymaps/jumper149/readme.md b/keyboards/dztech/dz65rgb/keymaps/jumper149/readme.md
deleted file mode 100644
index 9de86be2d1..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/jumper149/readme.md
+++ /dev/null
@@ -1,24 +0,0 @@
-# jumper149's DZ65RGB v2
-
-Run commands in the root directory of this repository.
-
-```
-qmk compile && sudo dfu-programmer atmega32u4 erase && sudo dfu-programmer atmega32u4 flash ./dztech_dz65rgb_v2_jumper149.hex && sudo dfu-programmer atmega32u4 reset
-```
-
-## build
-
-```
-qmk compile
-```
-
-## flash
-
-Use `qmk flash` or if it is broken (unknown reason) you can try this workaround.
-I personally had some problems on ArchLinux, that I didn't debug any further though.
-
-```
-sudo dfu-programmer atmega32u4 erase
-sudo dfu-programmer atmega32u4 flash ./dztech_dz65rgb_v2_jumper149.hex
-sudo dfu-programmer atmega32u4 reset
-```
diff --git a/keyboards/dztech/dz65rgb/keymaps/jumper149/rgb_matrix_user.inc b/keyboards/dztech/dz65rgb/keymaps/jumper149/rgb_matrix_user.inc
deleted file mode 100644
index 8d99ff9481..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/jumper149/rgb_matrix_user.inc
+++ /dev/null
@@ -1,700 +0,0 @@
-/* Copyright 2021 Felix Springer
- *
- * 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/>.
- */
-RGB_MATRIX_EFFECT(base_effect)
-RGB_MATRIX_EFFECT(base_ad_effect)
-RGB_MATRIX_EFFECT(vi_effect)
-RGB_MATRIX_EFFECT(fn_indicator)
-RGB_MATRIX_EFFECT(kb_indicator)
-RGB_MATRIX_EFFECT(kitt_effect)
-
-#ifdef RGB_MATRIX_CUSTOM_EFFECT_IMPLS
-
-/*
-[_LEDS] = LAYOUT_65_ansi(
- 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 ,
- 15 , 16 Q, 17 W, 18 E, 19 R, 20 T, 21 Y, 22 U, 23 I, 24 O, 25 P, 26 , 27 , 28 , 29 ,
- 30 , 31 A, 32 S, 33 D, 34 F, 35 G, 36 H, 37 J, 38 K, 39 L, 40 , 41 , 42 , 43 ,
- 44 , 45 Z, 46 X, 47 C, 48 V, 49 B, 50 N, 51 M, 52 , 53 , 54 , 55 , 56 , 57 ,
- 58 , 59 , 60 , 61 , 62 , 63 , 64 , 65 , 66 , 67
-)
-*/
-
-// variable for startup animation
-bool BASE_EFFECT_NOT_STARTED_YET = true;
-uint8_t base_effect_startup_counter = 255;
-
-static HSV base_effect_math(HSV hsv, uint8_t i, uint8_t time) {
-
- if (BASE_EFFECT_NOT_STARTED_YET) {
- base_effect_startup_counter = 0;
- BASE_EFFECT_NOT_STARTED_YET = false;
- }
-
- // startup animation
- if (base_effect_startup_counter < 255) {
-
- // jump to correct indices for alpha keys
- if (i == 0) { // only run for one key (key 0 is an arbitrary choice)
- if (base_effect_startup_counter == 0) {
- base_effect_startup_counter = 1;
- } else if (base_effect_startup_counter == 1) {
- base_effect_startup_counter = 17;
- } else if (base_effect_startup_counter == 26) {
- base_effect_startup_counter = 31;
- } else if (base_effect_startup_counter == 40) {
- base_effect_startup_counter = 45;
- } else if (base_effect_startup_counter == 52) {
- base_effect_startup_counter = 100;
- } else if (base_effect_startup_counter == 120) {
- base_effect_startup_counter = 255;
- } else {
- base_effect_startup_counter++;
- }
- }
-
- // overwrite some highlit keys
- if (3 + 39 - i < base_effect_startup_counter - 100 && i >= 36 && i <= 39) {
- hsv.s = hsv.s;
- } else if (3 + 39 - i < base_effect_startup_counter - 100 && i >= 31 && i <= 34) {
- hsv.s = hsv.s;
- // light up alpha keys
- } else if (i < base_effect_startup_counter && i >= 16 && i <= 25) {
- hsv.s = 0;
- } else if (31 + 39 - i < base_effect_startup_counter && i >= 31 && i <= 39) {
- hsv.s = 0;
- } else if (i < base_effect_startup_counter && i >= 45 && i <= 51) {
- hsv.s = 0;
- // light up number row
- } else if (12 + 1 - i < base_effect_startup_counter - 100 && i == 2) {
- hsv.s = 0;
- hsv.v = 1 * (hsv.v / 8);
- } else if (12 + 1 - i < base_effect_startup_counter - 100 && i == 3) {
- hsv.s = 0;
- hsv.v = 2 * (hsv.v / 8);
- } else if (12 + 1 - i < base_effect_startup_counter - 100 && i == 4) {
- hsv.s = 0;
- hsv.v = 3 * (hsv.v / 8);
- } else if (12 + 1 - i < base_effect_startup_counter - 100 && i >= 5 && i <= 8) {
- hsv.v = hsv.v;
- } else if (12 + 1 - i < base_effect_startup_counter - 100 && i == 9) {
- hsv.s = 0;
- hsv.v = 3 * (hsv.v / 8);
- } else if (12 + 1 - i < base_effect_startup_counter - 100 && i == 10) {
- hsv.s = 0;
- hsv.v = 2 * (hsv.v / 8);
- } else if (12 + 1 - i < base_effect_startup_counter - 100 && i == 11) {
- hsv.s = 0;
- hsv.v = 1 * (hsv.v / 8);
- // light up punctuation keys
- } else if (27 + 1 - i < base_effect_startup_counter - 100 && i >= 26 && i <= 27) {
- hsv.s = 0;
- hsv.v = hsv.v / 8;
- } else if (41 + 2 - i < base_effect_startup_counter - 100 && i >= 40 && i <= 41) {
- hsv.s = 0;
- hsv.v = hsv.v / 8;
- } else if (54 + 3 - i < base_effect_startup_counter - 100 && i >= 52 && i <= 54) {
- hsv.s = 0;
- hsv.v = hsv.v / 8;
- // rest
- } else {
- hsv.v = 0;
- }
-
- } else {
-
- switch (i) {
-
- // number row
- case 0:
- hsv.v = 0;
- break;
- case 1:
- hsv.v = 0;
- break;
- case 2:
- hsv.s = 0;
- hsv.v = 1 * (hsv.v / 8);
- break;
- case 3:
- hsv.s = 0;
- hsv.v = 2 * (hsv.v / 8);
- break;
- case 4:
- hsv.s = 0;
- hsv.v = 3 * (hsv.v / 8);
- break;
- case 5:
- hsv.v = hsv.v;
- break;
- case 6:
- hsv.v = hsv.v;
- break;
- case 7:
- hsv.v = hsv.v;
- break;
- case 8:
- hsv.v = hsv.v;
- break;
- case 9:
- hsv.s = 0;
- hsv.v = 3 * (hsv.v / 8);
- break;
- case 10:
- hsv.s = 0;
- hsv.v = 2 * (hsv.v / 8);
- break;
- case 11:
- hsv.s = 0;
- hsv.v = 1 * (hsv.v / 8);
- break;
- case 12:
- hsv.v = 0;
- break;
-
- // punctuation keys
- case 26:
- hsv.s = 0;
- hsv.v = hsv.v / 8;
- break;
- case 27:
- hsv.s = 0;
- hsv.v = hsv.v / 8;
- break;
- case 40:
- hsv.s = 0;
- hsv.v = hsv.v / 8;
- break;
- case 41:
- hsv.s = 0;
- hsv.v = hsv.v / 8;
- break;
- case 52:
- hsv.s = 0;
- hsv.v = hsv.v / 8;
- break;
- case 53:
- hsv.s = 0;
- hsv.v = hsv.v / 8;
- break;
- case 54:
- hsv.s = 0;
- hsv.v = hsv.v / 8;
- break;
-
- default:
- if (
- (i > 15 && i <= 25) ||
- (i > 30 && i <= 39) ||
- (i > 44 && i <= 51)
- ) {
- if (i > 35 && i <= 39) {
- hsv.s = hsv.s;
- } else if (i > 30 && i <= 34) {
- hsv.s = hsv.s;
- } else {
- hsv.s = 0;
- }
- } else {
- hsv.v = 0;
- }
- break;
-
- }
-
- }
-
- return hsv;
-}
-
-bool base_effect(effect_params_t* params) {
- return effect_runner_i(params, &base_effect_math);
-}
-
-static HSV base_ad_effect_math(HSV hsv, uint8_t i, uint8_t time) {
-
- // no startup animation
- if (BASE_EFFECT_NOT_STARTED_YET) {
- base_effect_startup_counter = 255; // act like startup is already completed
- BASE_EFFECT_NOT_STARTED_YET = false;
- }
-
- switch (i) {
-
- // delete
- case 14:
- hsv.h = 0;
- hsv.s = 255;
- break;
-
- // insert
- case 29:
- hsv.h = 255/3;
- hsv.s = 255;
- break;
-
- // home
- case 43:
- hsv.s = 0;
- break;
-
- // end
- case 57:
- hsv.s = 255;
- break;
-
- default:
- hsv = base_effect_math(hsv, i, time);
- break;
-
- }
-
- return hsv;
-}
-
-bool base_ad_effect(effect_params_t* params) {
- return effect_runner_i(params, &base_ad_effect_math);
-}
-
-static HSV vi_effect_math(HSV hsv, uint8_t i, uint8_t time) {
-
- // no startup animation
- if (BASE_EFFECT_NOT_STARTED_YET) {
- base_effect_startup_counter = 255; // act like startup is already completed
- BASE_EFFECT_NOT_STARTED_YET = false;
- }
-
- switch (i) {
-
- // hjkl
- case 36:
- break;
- case 37:
- break;
- case 38:
- break;
- case 39:
- break;
-
- // page up
- case 22:
- hsv.s = 0;
- break;
-
- // page down
- case 33:
- hsv.s = 0;
- break;
-
- // find
- case 54:
- hsv.s = 0;
- break;
-
- default:
- hsv.v = 0;
- break;
-
- }
-
- return hsv;
-}
-
-bool vi_effect(effect_params_t* params) {
- return effect_runner_i(params, &vi_effect_math);
-}
-
-static HSV fn_indicator_math(HSV hsv, uint8_t i, uint8_t time) {
-
- // cancel base effect startup
- base_effect_startup_counter = 255;
-
- switch (i) {
-
- // F1 - F12
- case 1:
- hsv.h = 0 * 255 / 3;
- hsv.s = 255;
- break;
- case 2:
- hsv.h = 0 * 255 / 3;
- hsv.s = 255;
- break;
- case 3:
- hsv.h = 0 * 255 / 3;
- hsv.s = 255;
- break;
- case 4:
- hsv.h = 0 * 255 / 3;
- hsv.s = 255;
- break;
- case 5:
- hsv.h = 1 * 255 / 3;
- hsv.s = 255;
- break;
- case 6:
- hsv.h = 1 * 255 / 3;
- hsv.s = 255;
- break;
- case 7:
- hsv.h = 1 * 255 / 3;
- hsv.s = 255;
- break;
- case 8:
- hsv.h = 1 * 255 / 3;
- hsv.s = 255;
- break;
- case 9:
- hsv.h = 2 * 255 / 3;
- hsv.s = 255;
- break;
- case 10:
- hsv.h = 2 * 255 / 3;
- hsv.s = 255;
- break;
- case 11:
- hsv.h = 2 * 255 / 3;
- hsv.s = 255;
- break;
- case 12:
- hsv.h = 2 * 255 / 3;
- hsv.s = 255;
- break;
-
- // delete/insert
- case 13:
- hsv.h = 0;
- hsv.s = 255;
- break;
- case 14:
- hsv.h = 1 * (255 / 3);
- hsv.s = 255;
- break;
-
- // paste/copy/cut
- case 29:
- hsv.s = 0;
- break;
- case 43:
- hsv.h = 200;
- hsv.s = 255;
- break;
- case 57:
- hsv.h = 0;
- hsv.s = 255;
- break;
-
- // print/scroll/pause
- case 25:
- hsv.s = 0;
- break;
- case 26:
- hsv.s = 0;
- break;
- case 27:
- hsv.s = 0;
- break;
-
- // caps lock
- case 30:
- hsv.s = 0;
- break;
-
- // modifier
- case 44:
- hsv.s = 0;
- hsv.v = hsv.v / 2;
- break;
- case 55:
- hsv.s = 0;
- hsv.v = hsv.v / 2;
- break;
- case 58:
- hsv.s = 0;
- hsv.v = hsv.v / 2;
- break;
- case 59:
- hsv.s = 0;
- hsv.v = hsv.v / 2;
- break;
- case 60:
- hsv.s = 0;
- hsv.v = hsv.v / 2;
- break;
- case 64:
- hsv.s = 0;
- hsv.v = hsv.v / 2;
- break;
-
- // volume
- case 18: // mute
- hsv.h = 0;
- break;
- case 17: // increase
- hsv.s = 255;
- break;
- case 32: // decrease
- hsv.s = 0;
- break;
-
- // brightness
- case 33: // increase
- hsv.s = 255;
- break;
- case 31: // decrease
- hsv.s = 0;
- break;
-
- // media
- case 65: // previous
- hsv.s = 0;
- break;
- case 67: // next
- hsv.s = 0;
- break;
- case 56: // stop
- hsv.h = 0;
- break;
- case 66: // play/pause
- hsv.h = 255/3;
- break;
-
- // menu
- case 51:
- hsv.s = 0;
- break;
-
- // toggle AD layer
- case 36:
- hsv.h = 0;
- break;
-
- // toggle VI layer
- case 37:
- hsv.h = 255/3;
- break;
-
- // KB layer
- case 62:
- hsv.h = time;
- hsv.s = 255;
- break;
-
- // no function
- default:
- hsv.v = 0;
- break;
-
- }
-
- return hsv;
-}
-
-bool fn_indicator(effect_params_t* params) {
- return effect_runner_i(params, &fn_indicator_math);
-}
-
-static HSV kb_indicator_math(HSV hsv, uint8_t i, uint8_t time) {
-
- // cancel base effect startup
- base_effect_startup_counter = 255;
-
- switch (i) {
-
- // test HSV
- case 14:
- break;
- case 29:
- break;
- case 43:
- break;
- case 57:
- break;
- case 67:
- break;
-
- // toggle RGB
- case 16:
- hsv.s = 0;
- if (time < (255 / 2)) {
- hsv.v = 255;
- } else {
- hsv.v = 0;
- }
- break;
-
- // cycle effect
- case 17:
- hsv.s = 255;
- hsv.v = 255;
- if (time < (255 / 3)) {
- hsv.h = 0;
- } else if (time < (2 * 255 / 3)) {
- hsv.h = 255 / 3;
- } else {
- hsv.h = 2 * 255 / 3;
- }
- break;
-
- // adjust hue
- case 18:
- hsv.h = time;
- hsv.s = 255;
- hsv.v = 255;
- break;
- case 19:
- hsv.h = 255 - time;
- hsv.s = 255;
- hsv.v = 255;
- break;
-
- // adjust saturation
- case 32:
- hsv.s = 255;
- hsv.v = 255;
- break;
- case 33:
- hsv.s = 0;
- hsv.v = 255;
- break;
-
- // adjust value
- case 45:
- hsv.v = 255;
- break;
- case 46:
- hsv.v = 63;
- break;
-
- // adjust speed
- case 4:
- if (((time / 8) % 2) == 0) {
- hsv.v = 255;
- } else {
- hsv.v = 63;
- }
- break;
- case 5:
- if (((time / 16) % 2) == 0) {
- hsv.v = 63;
- } else {
- hsv.v = 255;
- }
- break;
-
- // set main effect
- case 36: // BASE
- hsv.s = 0;
- break;
- case 37: // KITT
- hsv.h = 0;
- hsv.s = 255;
- if (time < 128) {
- hsv.v = time;
- } else {
- hsv.v = 255 - time;
- }
- break;
-
- // reset (for flashing)
- case 13:
- hsv.s = 0;
- if (time < 16) {
- hsv.v = 255 - time * 128 / 16;
- } else {
- hsv.v = 127;
- }
- break;
-
- // reset (reinitialize EEPROM)
- case 42:
- hsv.s = 0;
- hsv.v = 127;
- break;
-
- // shift
- case 44:
- hsv.s = 0;
- hsv.v = 63;
- break;
- case 55:
- hsv.s = 0;
- hsv.v = 63;
- break;
-
- // no function
- default:
- hsv.v = 0;
-
- }
-
- return hsv;
-}
-
-bool kb_indicator(effect_params_t* params) {
- return effect_runner_i(params, &kb_indicator_math);
-}
-
-uint8_t led_count = 7;
-uint8_t led_first = 33;
-static uint8_t time_to_led(uint8_t time, uint8_t led_behind) {
- uint16_t led_time = led_count * time;
- uint16_t step = ((2 * led_count + (led_time / 128)) - led_behind) % (2 * led_count);
- uint8_t led;
- if (step < led_count) {
- led = step;
- } else {
- led = led_count - 1 - (step - led_count);
- }
- return led;
-}
-
-static HSV kitt_effect_math(HSV hsv, uint8_t i, uint8_t time) {
-
- // reset base effect startup
- if (i == 0) {
- BASE_EFFECT_NOT_STARTED_YET = true;
- }
-
- hsv.h = 0;
- hsv.s = 255;
-
- if (i >= led_first && i < led_first + led_count) {
- uint8_t j = i - led_first;
- if (j == time_to_led(time, 0)) {
- hsv.v = hsv.v;
- } else if (j == time_to_led(time, 1)) {
- hsv.v = hsv.v/2;
- } else if (j == time_to_led(time, 2)) {
- hsv.v = hsv.v/4;
- } else if (j == time_to_led(time, 3)) {
- hsv.v = hsv.v/8;
- } else {
- hsv.v = 0;
- }
- } else {
- hsv.v = 0;
- }
-
- return hsv;
-}
-
-bool kitt_effect(effect_params_t* params) {
- return effect_runner_i(params, &kitt_effect_math);
-}
-
-#endif // RGB_MATRIX_CUSTOM_EFFECT_IMPLS
-
-// vim: syntax=c
diff --git a/keyboards/dztech/dz65rgb/keymaps/jumper149/rules.mk b/keyboards/dztech/dz65rgb/keymaps/jumper149/rules.mk
deleted file mode 100644
index 6245023e80..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/jumper149/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
-RGB_MATRIX_CUSTOM_USER = yes
diff --git a/keyboards/dztech/dz65rgb/keymaps/matthewrobo/config.h b/keyboards/dztech/dz65rgb/keymaps/matthewrobo/config.h
deleted file mode 100644
index bce34bcfbc..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/matthewrobo/config.h
+++ /dev/null
@@ -1,65 +0,0 @@
-#pragma once
-
-#define FORCE_NKRO
-
-#define PERMISSIVE_HOLD
-#define TAPPING_TERM 150
-
-#define TAP_HOLD_CAPS_DELAY 0
-#undef RGB_MATRIX_DEFAULT_MODE
-#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
-
-// #undef ENABLE_RGB_MATRIX_SOLID_COLOR
-// #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_RAINBOW_MOVING_CHEVRON
-#undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
-// #undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL
-#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_TYPING_HEATMAP
-#undef ENABLE_RGB_MATRIX_DIGITAL_RAIN
-// #undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
-#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE
-// #undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
-// #undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
-// #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_SOLID_REACTIVE_MULTINEXUS
-// #undef ENABLE_RGB_MATRIX_SPLASH
-// #undef ENABLE_RGB_MATRIX_MULTISPLASH
-// #undef ENABLE_RGB_MATRIX_SOLID_SPLASH
-// #undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
-
-// #define RGB_MATRIX_KEYRELEASES
-
-// some speed shit
-
-#ifndef NO_DEBUG
-#define NO_DEBUG
-#endif // !NO_DEBUG
-#if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE)
-#define NO_PRINT
-#endif // !NO_PRINT
-
-#define NO_ACTION_ONESHOT
-#define QUICK_TAP_TERM 0
-
-// #include "config_led.h"
-// #include "dz60rgb.h"
diff --git a/keyboards/dztech/dz65rgb/keymaps/matthewrobo/keymap.c b/keyboards/dztech/dz65rgb/keymaps/matthewrobo/keymap.c
deleted file mode 100644
index 7936aaff75..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/matthewrobo/keymap.c
+++ /dev/null
@@ -1,306 +0,0 @@
-#include QMK_KEYBOARD_H
-
-enum dz65rgb_layers {
- _QWERTY,
- _FNM,
- _NAV,
- _FNC
-};
-
-enum dz65rgb_keycodes {
- REBOOT = SAFE_RANGE,
- REEPROM,
- MAS_CRM,
- MAS_PRP,
- MAS_RED,
- MAS_GRN,
- MAS_BLU,
- MAS_CYN,
- MAS_MGT,
- MAS_YEL,
- MAS_KEY,
- MAS_WHT,
-};
-
-#define TG_NKRO MAGIC_TOGGLE_NKRO
-#define _V_V_V_ KC_TRNS
-#define LT_CAPS LT(_NAV, KC_CAPS)
-#define MT_APP RALT_T(KC_APP)
-#define LM_LALT LM(_FNM, MOD_LALT)
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_QWERTY] = LAYOUT_65_ansi(
- QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP,
- LT_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN,
- SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, KC_UP, KC_END,
- KC_LCTL, KC_LGUI, LM_LALT, KC_SPC, KC_RALT, MO(_FNC), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
- ),
- [_FNM] = LAYOUT_65_ansi(
- _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _V_V_V_, _______, _______, _______, _______, _______, _______, _______
- ),
- [_NAV] = LAYOUT_65_ansi(
- KC_NUM, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_P7, KC_P8, KC_P9, KC_PAST, KC_PMNS, KC_PPLS, _______, _______,
- _______, KC_PGUP, KC_HOME, KC_UP, KC_END, _______, _______, KC_P4, KC_P5, KC_P6, KC_PSLS, KC_PSCR, KC_SCRL, KC_INS, KC_PMNS,
- _V_V_V_, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_P1, KC_P2, KC_P3, _______, _______, KC_PENT, KC_PPLS,
- _______, _______, _______, _______, _______, _______, KC_P0, KC_P0, KC_P0, KC_PDOT, KC_PSLS, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
- ),
- [_FNC] = LAYOUT_65_ansi(
- _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, AS_TOGG,
- _______, RGB_MOD, RGB_SPI, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, MAS_MGT, MAS_BLU, MAS_WHT, RGB_RMOD, RGB_MOD, _______, KC_MPRV,
- _______, RGB_RMOD, RGB_SPD, RGB_HUD, RGB_SAD, RGB_VAD, _______, MAS_RED, MAS_KEY, MAS_CYN, MAS_PRP, _______, EE_CLR, KC_MNXT,
- _______, RGB_TOG, _______, _______, REEPROM, REBOOT, TG_NKRO, MAS_YEL, MAS_GRN, MAS_CRM, _______, _______, KC_VOLU, KC_MUTE,
- _______, _______, _______, _______, _______, _V_V_V_, _______, RGB_SPD, KC_VOLD, RGB_SPI
- ),
- /*
- [_LEDS] = LAYOUT_65_ansi(
- 17, 16, 15, 14, 13, 12, 11, 10, 9, 18, 19, 20, 21, 22, 23,
- 7, 6, 5, 4, 3, 2, 1, 0, 26, 27, 28, 29, 30, 31, 24,
- 8, 48, 47, 46, 45, 44, 43, 51, 52, 53, 54, 55, 56, 25,
- 49, 40, 39, 38, 37, 36, 60, 61, 62, 63, 57, 58, 59, 32,
- 50, 42, 41, 35, 64, 65, 66, 67, 34, 33
- ),
- */
-};
-
-/*
-17, 16, 15, 14, 13, 12, 11, 10, 9, 18, 19, 20, 21, 22, 23
- 7, 6, 5, 4, 3, 2, 1, 0, 26, 27, 28, 29, 30, 31, 24
- 8, 48, 47, 46, 45, 44, 43, 51, 52, 53, 54, 55, 56, 25
-49, 40, 39, 38, 37, 36, 60, 61, 62, 63, 57, 58, 59, 32
-50, 42, 41, 35, 64, 65, 66, 67, 34, 33
-
-ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, -, =, BCK, DEL
-TAB, Q, W, E, R, T, Y, U, I, O, P, [, ], \, -
-CPS, A, S, D, F, G, H, J, K, L, COL, QOT, RETURN, +
-SFT, Z, X, C, V, B, N, M, COM, DOT, SLS, SHIFT, UP, 0
-CTL, GUI, ALT, SPACEBAR, ALT, FN, CTL, LFT, DWN, RIT
-*/
-bool rgb_matrix_indicators_user(void) {
- if (host_keyboard_led_state().caps_lock) {
- rgb_matrix_set_color(8, 0xFF, 0xFF, 0xFF);
- }
-
- led_t led_state = host_keyboard_led_state();
-
- if (!g_suspend_state && rgb_matrix_config.enable) {
- switch (get_highest_layer(layer_state)) {
- case _NAV:
- if (led_state.num_lock) {
- rgb_matrix_set_color(17, 0xFF, 0x00, 0x00);
- rgb_matrix_set_color(26, 0xFF, 0xFF, 0x00);
- } else {
- rgb_matrix_set_color(17, 0x00, 0x00, 0x00);
- rgb_matrix_set_color(26, 0xFF, 0x00, 0x00);
- }
-
- rgb_matrix_set_color(8, 0xFF, 0xFF, 0xFF); // layer indicator
- // ESDF
- rgb_matrix_set_color(4, 0xFF, 0x00, 0x00);
- rgb_matrix_set_color(47, 0xFF, 0x00, 0x00);
- rgb_matrix_set_color(46, 0xFF, 0x00, 0x00);
- rgb_matrix_set_color(45, 0xFF, 0x00, 0x00);
- // home/end
- rgb_matrix_set_color(5, 0x00, 0xFF, 0x00);
- rgb_matrix_set_color(3, 0x00, 0xFF, 0x00);
- // pgup/dn
- rgb_matrix_set_color(6, 0x00, 0x00, 0xFF);
- rgb_matrix_set_color(48, 0x00, 0x00, 0xFF);
- // numpad
- rgb_matrix_set_color(10, 0xFF, 0xFF, 0x00);
- rgb_matrix_set_color(9, 0xFF, 0xFF, 0x00);
- rgb_matrix_set_color(18, 0xFF, 0xFF, 0x00);
- rgb_matrix_set_color(0, 0xFF, 0xFF, 0x00);
- rgb_matrix_set_color(27, 0xFF, 0xFF, 0x00);
- rgb_matrix_set_color(51, 0xFF, 0xFF, 0x00);
- rgb_matrix_set_color(52, 0xFF, 0xFF, 0x00);
- rgb_matrix_set_color(53, 0xFF, 0xFF, 0x00);
- // zero
- rgb_matrix_set_color(60, 0xFF, 0x00, 0x00);
- rgb_matrix_set_color(61, 0xFF, 0x00, 0x00);
- rgb_matrix_set_color(62, 0xFF, 0x00, 0x00);
- // dot
- rgb_matrix_set_color(63, 0x00, 0x00, 0xFF);
- // math shit
- rgb_matrix_set_color(19, 0x00, 0x00, 0xFF);
- rgb_matrix_set_color(20, 0x00, 0x00, 0xFF);
- rgb_matrix_set_color(21, 0x00, 0x00, 0xFF);
- rgb_matrix_set_color(28, 0x00, 0x00, 0xFF);
- rgb_matrix_set_color(24, 0x00, 0x00, 0xFF); // macro minus
- rgb_matrix_set_color(25, 0x00, 0x00, 0xFF); // macro plus
- // other
- rgb_matrix_set_color(29, 0xFF, 0xFF, 0xFF);
- rgb_matrix_set_color(30, 0xFF, 0xFF, 0xFF);
- rgb_matrix_set_color(31, 0xFF, 0xFF, 0xFF);
- break;
-
- case _FNC: {
- HSV hsv = { rgb_matrix_config.hsv.h, rgb_matrix_config.hsv.s, rgb_matrix_config.hsv.v };
- HSV hui = hsv;
- HSV hud = hsv;
- HSV sai = hsv;
- HSV sad = hsv;
- HSV vai = hsv;
- HSV vad = hsv;
- hui.h = hsv.h + 8;
- hud.h = hsv.h - 8;
- sai.s = hsv.s + 16 > 255 ? 255u : hsv.s + 16;
- sad.s = hsv.s - 16 < 0 ? 0 : hsv.s - 16;
- vai.v = hsv.v + 16 > 255 ? 255 : hsv.v + 16;
- vad.v = hsv.v - 16 < 0 ? 0 : hsv.v - 16;
- RGB rgb = hsv_to_rgb(hsv);
- RGB rgbHUI = hsv_to_rgb(hui);
- RGB rgbHUD = hsv_to_rgb(hud);
- RGB rgbSAI = hsv_to_rgb(sai);
- RGB rgbSAD = hsv_to_rgb(sad);
- RGB rgbVAI = hsv_to_rgb(vai);
- RGB rgbVAD = hsv_to_rgb(vad);
- rgb_matrix_set_color(65, 0xFF, 0xFF, 0xFF); // layer indicator
- rgb_matrix_set_color(36, 0xFF, 0x00, 0x00); // MASBOOT
- rgb_matrix_set_color(37, 0xFF, 0x00, 0x40); // REEPROM
- rgb_matrix_set_color(37, 0xFF, 0x00, 0x40); // 60
- rgb_matrix_set_color(59, 0x00, 0x80, 0xFF); // KC_VOLU
- rgb_matrix_set_color(34, 0x00, 0x80, 0xFF);
- rgb_matrix_set_color(32, 0xFF, 0x00, 0x00); // KC_MUTE
- rgb_matrix_set_color(24, 0xFF, 0x40, 0x00); // KC_MPRV
- rgb_matrix_set_color(25, 0xFF, 0x40, 0x00);
-
- rgb_matrix_set_color(6, 0xFF, 0x80, 0x00); //RGB_MOD
- rgb_matrix_set_color(48, 0xFF, 0x80, 0x00);
- rgb_matrix_set_color(29, 0xFF, 0x80, 0x00); //RGB_MOD
- rgb_matrix_set_color(30, 0xFF, 0x80, 0x00);
- rgb_matrix_set_color(40, 0xFF, 0x40, 0x00); //RGB_TOG
- rgb_matrix_set_color(4, rgbHUI.r, rgbHUI.g, rgbHUI.b); //RGB_HUI
- rgb_matrix_set_color(46, rgbHUD.r, rgbHUD.g, rgbHUD.b);
- rgb_matrix_set_color(3, rgbSAI.r, rgbSAI.g, rgbSAI.b); //RGB_SAI
- rgb_matrix_set_color(45, rgbSAD.r, rgbSAD.g, rgbSAD.b);
- rgb_matrix_set_color(2, rgbVAI.r, rgbVAI.g, rgbVAI.b); //RGB_VAI
- rgb_matrix_set_color(44, rgbVAD.r, rgbVAD.g, rgbVAD.b);
- rgb_matrix_set_color(35, rgb.r, rgb.g, rgb.b); // config display
- rgb_matrix_set_color(5, 0x80, 0x80, 0x80); //RGB_SPI
- rgb_matrix_set_color(47, 0x80, 0x80, 0x80);
- rgb_matrix_set_color(67, 0x80, 0x80, 0x80); //RGB_SPI
- rgb_matrix_set_color(33, 0x80, 0x80, 0x80);
- rgb_matrix_set_color(26, 0xF0, 0x00, 0xFF); //MAS_MGT
- rgb_matrix_set_color(27, 0x00, 0x02, 0xFF); //MAS_BLU
- rgb_matrix_set_color(51, 0xFF, 0x00, 0x00); //MAS_RED
- rgb_matrix_set_color(52, 0x00, 0x00, 0x00); //MAS_KEY
- rgb_matrix_set_color(53, 0x00, 0xFF, 0xF7); //MAS_CYN
- rgb_matrix_set_color(61, 0xFF, 0xDA, 0x00); //MAS_YEL
- rgb_matrix_set_color(62, 0x00, 0xFF, 0x01); //MAS_GRN
- rgb_matrix_set_color(63, 0xFF, 0xA5, 0x18); //MAS_CRM
- rgb_matrix_set_color(54, 0x81, 0x3C, 0xFF); //MAS_PRP
- rgb_matrix_set_color(28, 0xFF, 0xFF, 0xFF); //MAS_WHT
- }
- break;
- }
- }
- return false;
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t* record)
-{
- static uint32_t key_timer;
-
- switch (keycode) {
- case REBOOT:
- if (record->event.pressed) {
- key_timer = timer_read32();
- } else {
- if (timer_elapsed32(key_timer) >= 500) {
- reset_keyboard();
- }
- }
-
- return false;
-
- case REEPROM:
- if (record->event.pressed) {
- key_timer = timer_read32();
- } else {
- if (timer_elapsed32(key_timer) >= 500) {
- eeconfig_init();
- }
- }
-
- return false;
-
- case MAS_CRM:
- if (record->event.pressed) {
- rgb_matrix_sethsv(32, 160, 255);
- }
-
- return false;
-
- case MAS_PRP:
- if (record->event.pressed) {
- rgb_matrix_sethsv(192, 112, 255);
- }
-
- return false;
-
- case MAS_RED:
- if (record->event.pressed) {
- rgb_matrix_sethsv(0, 255, 255);
- }
-
- return false;
-
- case MAS_GRN:
- if (record->event.pressed) {
- rgb_matrix_sethsv(88, 255, 255);
- }
-
- return false;
-
- case MAS_BLU:
- if (record->event.pressed) {
- rgb_matrix_sethsv(168, 255, 255);
- }
-
- return false;
-
- case MAS_CYN:
- if (record->event.pressed) {
- rgb_matrix_sethsv(128, 255, 255);
- }
-
- return false;
-
- case MAS_MGT:
- if (record->event.pressed) {
- rgb_matrix_sethsv(216, 255, 255);
- }
-
- return false;
-
- case MAS_YEL:
- if (record->event.pressed) {
- rgb_matrix_sethsv(40, 255, 255);
- }
-
- return false;
-
- case MAS_KEY:
- if (record->event.pressed) {
- rgb_matrix_sethsv(0, 0, 0);
- }
-
- return false;
-
- case MAS_WHT:
- if (record->event.pressed) {
- rgb_matrix_sethsv(128, 0, 255);
- }
-
- return false;
-
- default:
- return true;
- }
-}
diff --git a/keyboards/dztech/dz65rgb/keymaps/matthewrobo/rules.mk b/keyboards/dztech/dz65rgb/keymaps/matthewrobo/rules.mk
deleted file mode 100644
index 29afe8cd03..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/matthewrobo/rules.mk
+++ /dev/null
@@ -1,5 +0,0 @@
-NKRO_ENABLE = yes # USB Nkey Rollover
-AUTO_SHIFT_ENABLE = yes # Auto Shift
-# VELOCIKEY_ENABLE = yes
-
-LTO_ENABLE = yes
diff --git a/keyboards/dztech/dz65rgb/keymaps/pagondel/keymap.c b/keyboards/dztech/dz65rgb/keymaps/pagondel/keymap.c
deleted file mode 100644
index ae7e29c837..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/pagondel/keymap.c
+++ /dev/null
@@ -1,65 +0,0 @@
-/* Copyright 2020 pagondel
- *
- * 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
-
-enum layers {
- _BL,
- _FL,
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- /* Keymap _BL: (Base Layer) Default Layer
- * ,-----------------------------------------------------------------------------.
- * |Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |Backsp |~ ` |
- * |-----------------------------------------------------------------------------|
- * |Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |Del |
- * |-----------------------------------------------------------------------------|
- * |FN | A | S | D | F | G | H | J | K | L | ; | ' |Return |PgUp|
- * |-----------------------------------------------------------------------------|
- * |Shift | Z | X | C | V | B | N | M | , | . | / |Shift | Up |PgDn|
- * |-----------------------------------------------------------------------------|
- * |Ctrl |Win |Alt | Space |Alt | FN |Ctrl |Lef |Dow |Rig |
- * `-----------------------------------------------------------------------------'
- */
- [_BL] = LAYOUT_65_ansi(
- KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_GRV,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL,
- MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
- KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
- ),
- /* Keymap _FL: Function Layer
- * ,-----------------------------------------------------------------------------.
- * |Esc | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 |F10 |F11 |F12 |DEL |PNTS|
- * |-----------------------------------------------------------------------------|
- * | |RgbT|RgbM|Hue+|Hue-|Sat+|Sat-|BR+ |BR- | | |SLCK|Paus|RST | |
- * |-----------------------------------------------------------------------------|
- * | |Eff+|Eff-| | | | | | | | | |EEP RST | |
- * |-----------------------------------------------------------------------------|
- * |Shift | | | | | |NK T|Mute|Vol-|Vol+| | |PgUp| |
- * |-----------------------------------------------------------------------------|
- * | | | | Play | | | |Home|PgDn|End |
- * `-----------------------------------------------------------------------------'
- */
- [_FL] = LAYOUT_65_ansi(
- KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_PSCR,
- _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, KC_SCRL, KC_PAUS, QK_BOOT, _______,
- _______, RGB_SPI, RGB_SPD, _______, _______, _______, _______, _______, _______, _______, _______, _______, EE_CLR, _______,
- KC_LSFT, _______, _______, _______, _______, _______, NK_TOGG, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, KC_PGUP, _______,
- _______, _______, _______, KC_MPLY, _______, _______, _______, KC_HOME, KC_VOLD, KC_END
- )
-};
diff --git a/keyboards/dztech/dz65rgb/keymaps/pagondel/readme.md b/keyboards/dztech/dz65rgb/keymaps/pagondel/readme.md
deleted file mode 100644
index 8f55ce428a..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/pagondel/readme.md
+++ /dev/null
@@ -1,35 +0,0 @@
-# pagondel's DZ65RGB v2 layout
-
-```
- Keymap Default Layer
- ,-----------------------------------------------------------------------------.
- |Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |Backsp |~ ` |
- |-----------------------------------------------------------------------------|
- |Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |Del |
- |-----------------------------------------------------------------------------|
- |FN | A | S | D | F | G | H | J | K | L | ; | ' |Return |PgUp|
- |-----------------------------------------------------------------------------|
- |Shift | Z | X | C | V | B | N | M | , | . | / |Shift | Up |PgDn|
- |-----------------------------------------------------------------------------|
- |Ctrl |Win |Alt | Space |Alt | FN |Ctrl |Lef |Dow |Rig |
- `-----------------------------------------------------------------------------'
-```
-
-```
- Keymap Function Layer
- ,-----------------------------------------------------------------------------.
- |Esc | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 |F10 |F11 |F12 |DEL |PNTS|
- |-----------------------------------------------------------------------------|
- | |RgbT|RgbM|Hue+|Hue-|Sat+|Sat-|BR+ |BR- | | |SLCK|Paus|RST | |
- |-----------------------------------------------------------------------------|
- | |Eff+|Eff-| | | | | | | | | |EEP RST | |
- |-----------------------------------------------------------------------------|
- |Shift | | | | | |NK T|Mute|Vol-|Vol+| | |PgUp| |
- |-----------------------------------------------------------------------------|
- | | | | Play | | | |Home|PgDn|End |
- `-----------------------------------------------------------------------------'
-```
-
-### Build layout
-
-```qmk compile -kb dztech/dz65rgb/v2 -km pagondel```
diff --git a/keyboards/dztech/dz65rgb/keymaps/sbennett13/config.h b/keyboards/dztech/dz65rgb/keymaps/sbennett13/config.h
deleted file mode 100644
index 2d4559fadd..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/sbennett13/config.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2021 Scott Bennett (@SBennett13)
-// SPDX-License-Identifier: GPL-2.0-or-later
-#pragma once
-
-#define NO_MUSIC_MODE
-#define FORCE_NKRO
-
-// I don't use a bunch of layers
-#define LAYER_STATE_8BIT
-
-// Disable the RGB Light (underglow) stuff
-#undef RBGLIGHT_ANIMATIONS
-#undef RBGLIGHT_EFFECT_BREATHING
-#undef RBGLIGHT_EFFECT_RAINBOW_MOOD
-#undef RBGLIGHT_EFFECT_RAINBOW_SWIRL
-#undef RBGLIGHT_EFFECT_SNAKE
-#undef RBGLIGHT_EFFECT_KNIGHT
-#undef RBGLIGHT_EFFECT_CHRISTMAS
-#undef RBGLIGHT_EFFECT_STATIC_GRADIENT
-#undef RBGLIGHT_EFFECT_RGB_TEST
-#undef RBGLIGHT_EFFECT_ALTERNATING
-#undef RBGLIGHT_EFFECT_TWINKLE
-
-// No Cherry MX Lock switch
-#undef LOCKING_SUPPORT_ENABLE
-#undef LOCKING_RESYNC_ENABLE
-
-// No oneshot (Active until another key hit)
-#define NO_ACTION_ONESHOT
-
-// Remove some RGB
-#undef ENABLE_RGB_MATRIX_ALPHAS_MODS
-#undef ENABLE_RGB_MATRIX_BREATHING
-#undef ENABLE_RGB_MATRIX_BAND_VAL
-#undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
-#undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
-#undef ENABLE_RGB_MATRIX_PIXEL_FRACTAL
-#undef ENABLE_RGB_MATRIX_PIXEL_FLOW
-#undef ENABLE_RGB_MATRIX_PIXEL_RAIN
-#undef ENABLE_RGB_MATRIX_RAINDROPS
-#undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
-#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
-#undef ENABLE_RGB_MATRIX_SOLID_SPLASH
diff --git a/keyboards/dztech/dz65rgb/keymaps/sbennett13/keymap.c b/keyboards/dztech/dz65rgb/keymaps/sbennett13/keymap.c
deleted file mode 100644
index 34977bdbe3..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/sbennett13/keymap.c
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2021 Scott Bennett (@SBennett13)
-// SPDX-License-Identifier: GPL-2.0-or-later
-#include QMK_KEYBOARD_H
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT_65_ansi(
- QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP,
- CTL_T(KC_CAPS), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END,
- KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
- ),
- [1] = LAYOUT_65_ansi(
- KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_PSCR,
- _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, KC_SCRL, KC_PAUS, QK_BOOT, KC_PGUP,
- CTL_T(KC_CAPS), RGB_SPI, RGB_SPD, _______, _______, _______, _______, _______, _______, _______, _______, _______, EE_CLR, KC_PGDN,
- KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, KC_MUTE,
- _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT
- )
-};
diff --git a/keyboards/dztech/dz65rgb/keymaps/sbennett13/readme.md b/keyboards/dztech/dz65rgb/keymaps/sbennett13/readme.md
deleted file mode 100644
index e5535e9ffc..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/sbennett13/readme.md
+++ /dev/null
@@ -1,50 +0,0 @@
-# sbennett13 DZ65RGB v2 layout
-
-Copyright 2022 Scott Bennett scottbennett027@gmail @SBennett13
-
-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/>.
-
-```text
- Keymap Default Layer
- ,-----------------------------------------------------------------------------.
- |Esc ~| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = |Backsp|Home|
- |-----------------------------------------------------------------------------|
- |Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |PgUp|
- |-----------------------------------------------------------------------------|
- |FN | A | S | D | F | G | H | J | K | L | ; | ' |Return |PgDn|
- |-----------------------------------------------------------------------------|
- |Shift | Z | X | C | V | B | N | M | , | . | / |Shift | Up | End|
- |-----------------------------------------------------------------------------|
- |Ctrl |Win |Alt | Space |Alt | FN |Ctrl |Lef |Dow |Rig |
- `-----------------------------------------------------------------------------'
-```
-
-```text
- Keymap Function Layer
- ,-----------------------------------------------------------------------------.
- | `~ | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 |F10 |F11 |F12 |DEL |PNTS|
- |-----------------------------------------------------------------------------|
- | |RgbT|RgbM|Hue+|Hue-|Sat+|Sat-|BR+ |BR- | | |SLCK|Paus|RST | |
- |-----------------------------------------------------------------------------|
- | |Eff+|Eff-| | | | | | | | | |EEP RST | |
- |-----------------------------------------------------------------------------|
- | | | | | | | | | | | | |Vol+|MUTE|
- |-----------------------------------------------------------------------------|
- | | | | | | | |LAST|Vol-|NEXT|
- `-----------------------------------------------------------------------------'
-```
-
-### Build layout
-
-```qmk compile -kb dztech/dz65rgb/v2 -km sbennett13```
diff --git a/keyboards/dztech/dz65rgb/keymaps/sbennett13/rules.mk b/keyboards/dztech/dz65rgb/keymaps/sbennett13/rules.mk
deleted file mode 100644
index ed0a53416b..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/sbennett13/rules.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-# Load Time Optimization
-LTO_ENABLE = yes
-
-# Space Cadet (Shift/Ctrl/Alt tapping for parenthesis)
-SPACE_CADET_ENABLE = no
-
-# Mouse keys bindable to keyboard
-MOUSEKEY_ENABLE = no
-
-# Console
-CONSOLE_ENABLE = no
-
-# Command (Change keyboard behavior without having to flash)
-COMMAND_ENABLE = no
-
-# Magic QMK keycodes
-MAGIC_ENABLE = no
-
-# No audio stuff
-MUSIC_ENABLE = no
-
-# No WPM
-WPM_ENABLE = no \ No newline at end of file
diff --git a/keyboards/dztech/dz65rgb/keymaps/yuannan/config.h b/keyboards/dztech/dz65rgb/keymaps/yuannan/config.h
deleted file mode 100644
index e0c5522cb0..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/yuannan/config.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Copyright 2021 DZTECH <moyi4681@live.cn>
- *
- * 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/>.
- */
-
-#pragma once
-
-#undef ENABLE_RGB_MATRIX_PIXEL_FLOW
-#undef ENABLE_RGB_MATRIX_PIXEL_FRACTAL
-#undef ENABLE_RGB_MATRIX_PIXEL_RAIN
-#undef ENABLE_RGB_MATRIX_RAINDROPS
-#undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
-
-#undef RGB_MATRIX_DEFAULT_MODE
-#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_OUT_IN_DUAL
-
-#define RGB_MATRIX_HUE_STEP 8
-#define RGB_MATRIX_SAT_STEP 8
-#define RGB_MATRIX_VAL_STEP 8
-#define RGB_MATRIX_SPD_STEP 8
-
-#define MOUSEKEY_DELAY 0
-#define MOUSEKEY_INTERVAL 1
-#define MOUSEKEY_MOVE_DELTA 1
-#define MOUSEKEY_MAX_SPEED 25
-#define MOUSEKEY_TIME_TO_MAX 255
-#define MOUSEKEY_WHEEL_DELAY 0
-#define MOUSEKEY_WHEEL_INTERVAL 100
-#define MOUSEKEY_WHEEL_MAX_SPEED 100
-#define MOUSEKEY_WHEEL_TIME_TO_MAX 100
diff --git a/keyboards/dztech/dz65rgb/keymaps/yuannan/keymap.c b/keyboards/dztech/dz65rgb/keymaps/yuannan/keymap.c
deleted file mode 100644
index 87ea995a9a..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/yuannan/keymap.c
+++ /dev/null
@@ -1,212 +0,0 @@
-/* Copyright 2021 Yuannan (https://github.com/yuannan)
- *
- * 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
-
-enum custom_keycodes {
- AUTOCLICK_TOGGLE = SAFE_RANGE,
- AUTO_BURST,
- RAPID_BURST,
- INC_CLICK_SPEED,
- DEC_CLICK_SPEED,
- DEL_LINE,
- DEL_HOME,
- DEL_END
-};
-
-enum my_layers {
- _ALPHA_LAYER,
- _VIM_EDITING_LAYER,
- _MOUSE_LAYER,
- _HYPER_LAYER
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_ALPHA_LAYER] = LAYOUT_65_ansi(
- QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, KC_EQUAL, KC_BSPC, KC_HOME,
- KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC,KC_RBRC, KC_BSLS, KC_PGUP,
- KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOTE, KC_ENTER, KC_PGDN,
- KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, KC_SLASH, KC_RSFT, KC_UP, KC_END,
- KC_CAPS,KC_LGUI,TL_LOWR, KC_SPACE, TL_UPPR, KC_LALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT
- ),
- [_VIM_EDITING_LAYER] = LAYOUT_65_ansi(
- KC_GRAVE, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DELETE, KC_INSERT,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, DEL_HOME, KC_HOME, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_SCRL,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, DEL_LINE, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_TRNS, KC_TRNS, KC_MPLY, KC_PAUSE,
- KC_TRNS, AUTOCLICK_TOGGLE, KC_TRNS, AUTO_BURST,RAPID_BURST, KC_TRNS, DEL_END, KC_END, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLU, KC_PSCR,
- DEC_CLICK_SPEED,INC_CLICK_SPEED, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_VOLD, KC_MNXT
- ),
- [_MOUSE_LAYER] = LAYOUT_65_ansi(
- KC_GRAVE, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS,
- KC_ACL0, KC_BTN1, KC_MS_U, KC_BTN2, KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN4, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_ACL1, KC_MS_L, KC_MS_D, KC_MS_R, KC_TRNS, KC_TRNS, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_ACL2, AUTOCLICK_TOGGLE, KC_BTN3, AUTO_BURST, RAPID_BURST, KC_TRNS, KC_TRNS, KC_BTN5, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- DEC_CLICK_SPEED,INC_CLICK_SPEED,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
- ),
- [_HYPER_LAYER] = LAYOUT_65_ansi(
- DM_RSTP, DM_REC1, DM_REC2, 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_NO, DM_PLY1, DM_PLY2, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_NO, KC_NO, KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_LSFT, KC_NO, KC_NO, RGB_HUI, RGB_SAI, RGB_VAI, RGB_SPI, RGB_MOD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, RGB_TOG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
- )
-};
-
-#define CLICKSPEEDS 5
-const uint16_t clickspeed_sets[CLICKSPEEDS] = {1000, 100, 50, 20, 1};
-uint16_t clickspeed_set = CLICKSPEEDS - 1;
-deferred_token autoclick_token = INVALID_DEFERRED_TOKEN;
-bool rapid = false;
-
-void decrement_click_speed(void){
- clickspeed_set += CLICKSPEEDS - 1;
- clickspeed_set %= CLICKSPEEDS;
-}
-
-void increment_click_speed(void){
- clickspeed_set ++;
- clickspeed_set %= CLICKSPEEDS;
-}
-
-uint32_t autoclick_callback(uint32_t trigger_time, void *cb_arg){
- tap_code(KC_BTN1);
-
- return rapid ? 1 : clickspeed_sets[clickspeed_set];
-}
-
-void start_autoclicker(void){
- autoclick_token = defer_exec(1, autoclick_callback, NULL);
-}
-
-void stop_autoclicker(void){
- cancel_deferred_exec(autoclick_token);
- autoclick_token = INVALID_DEFERRED_TOKEN;
-}
-
-// Custom process key to allow for custom keycodes
-bool process_record_user(uint16_t keycode, keyrecord_t *record){
- switch (keycode) {
- case AUTOCLICK_TOGGLE:
- if (record->event.pressed) {
- if (autoclick_token == INVALID_DEFERRED_TOKEN){
- start_autoclicker();
- } else{
- stop_autoclicker();
- }
- }
- break;
- case AUTO_BURST:
- if (record->event.pressed && (autoclick_token == INVALID_DEFERRED_TOKEN)) {
- start_autoclicker();
- } else if (autoclick_token != INVALID_DEFERRED_TOKEN){
- stop_autoclicker();
- }
- break;
- case RAPID_BURST:
- if (record->event.pressed){
- rapid = true;
- start_autoclicker();
- } else{
- rapid = false;
- stop_autoclicker();
- }
- break;
- case INC_CLICK_SPEED:
- if (record->event.pressed){
- if (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RSFT)){
- decrement_click_speed();
- } else{
- increment_click_speed();
- }
- }
- break;
- case DEC_CLICK_SPEED:
- if (record->event.pressed){
- if (get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RSFT)){
- increment_click_speed();
- } else{
- decrement_click_speed();
- }
- }
- break;
- case DEL_LINE:
- if(record->event.pressed){
- SEND_STRING(SS_TAP(X_HOME) SS_LSFT(SS_TAP(X_END)) SS_TAP(X_DELETE));
- }
- break;
- case DEL_HOME:
- if(record->event.pressed){
- SEND_STRING(SS_LSFT(SS_TAP(X_HOME)) SS_TAP(X_DELETE));
- }
- break;
- case DEL_END:
- if(record->event.pressed){
- SEND_STRING(SS_LSFT(SS_TAP(X_END)) SS_TAP(X_DELETE));
- }
- break;
- case RGB_TOG:
- if(record->event.pressed){
- if (!(get_mods() & MOD_BIT(KC_LSFT) || get_mods() & MOD_BIT(KC_RSFT))){
- if(rgb_matrix_get_val() < 128){
- rgb_matrix_sethsv(rgb_matrix_get_hue(), rgb_matrix_get_sat(), 255);
- } else{
- rgb_matrix_sethsv(rgb_matrix_get_hue(), rgb_matrix_get_sat(), 0);
- }
- return false;
- }
- }
- break;
- }
-
- return true;
-};
-
-RGB get_inverted_RGB(void){
- HSV current_HSV = rgb_matrix_get_hsv();
- current_HSV.h = 255 - current_HSV.h;
- current_HSV.s = 255;
- current_HSV.v = 255;
-
- return hsv_to_rgb(current_HSV);
-}
-
-// Move Caps indicator to the ctrl key where it belongs
-bool rgb_matrix_indicators_user(void){
- RGB inverted_RGB = get_inverted_RGB();
- if (host_keyboard_led_state().caps_lock){
- rgb_matrix_set_color(58, inverted_RGB.r, inverted_RGB.g, inverted_RGB.b);
- }
- return false;
-}
-
-// show coloured indicator for layers with a keybind
-bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max){
- uint8_t layer = get_highest_layer(layer_state);
- if (layer > 0) {
- RGB inverted_RGB = get_inverted_RGB();
- for (uint8_t row = 0; row < MATRIX_ROWS; ++row) {
- for (uint8_t col = 0; col < MATRIX_COLS; ++col) {
- uint8_t index = g_led_config.matrix_co[row][col];
-
- if (index >= led_min && index <= led_max && index != NO_LED &&
- keymap_key_to_keycode(layer, (keypos_t){col,row}) > KC_TRNS) {
- rgb_matrix_set_color(index, inverted_RGB.r, inverted_RGB.g, inverted_RGB.b);
- }
- }
- }
- }
- return false;
-}
diff --git a/keyboards/dztech/dz65rgb/keymaps/yuannan/readme.md b/keyboards/dztech/dz65rgb/keymaps/yuannan/readme.md
deleted file mode 100644
index c6768aceec..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/yuannan/readme.md
+++ /dev/null
@@ -1,88 +0,0 @@
-[DZ65RGB/v3 Yuannan's Layout Imgur Album](https://imgur.com/a/BI2RjgE)
-
-![Alpha](https://i.imgur.com/ikqvrtF.png)
-![Vim Editing Layer](https://i.imgur.com/hoBvSRR.png)
-![Mouse and Autoclicker](https://i.imgur.com/QWmWaWY.png)
-![Hyper functions and RGB Layer](https://i.imgur.com/Zm6Tf6p.png)
-
-# Yuannan's DZ65 Custom Profile. Autoclicker, Vim, and more!
-
-## Features
-
-1. Much better mouse support. Now able to:
- - Move mouse around with 3 levels of acceleration
- - Click and nav using mouse buttons 1-5
- - Mouse scroll in all 4 directions, autoclick with 5 different levels of speed!
- - Increase or Decrease the autoclick speed from the preset array of {500, 50, 20, 10, 1} clicks per second \*(Read Notes). Press Shift while using the Increase or Decrease button to do the opposite. Designed to work with other keymaps and keyboards!
-2. Ctrl and Caps swapped. The new indicator is dynamically colored and has been moved to the CTRL key to reflect the keymap.
-3. Improved navigation via Vim like keys.
-4. Dynamic Macros now enabled!
-5. Custom Editing Macros such as:
- - Deleting entire line
- - Deleting from cursor to start of line
- - Deleting form cursor to end of line
-6. VIA support.
-7. Improved granularity of the RGB Matrix. Now with steps of 8/256, which is 32 steps!
-8. The default toggle for RGB now sets the matrix to be on low brightness. Why? If the matrix is completely toggled off then the indicators for Caps Locks and FN are also completely off. You can completely turn it off by pressing shift while processing the "RGB_TOG" keycode. (It is {FN1+FN2+Shift+Space} on this keymap.)
-9. Disabled some effects to free up more space.
-
-### Notes
-
-#### Note Autoclicker Speed
-
-The click events are now programmed with the new Deferred Execution API (https://docs.qmk.fm/#/custom_quantum_functions?id=deferred-execution).
-
-While it's programmed to input with a delay of 1ms (500CPS), the result will vary depending on your board and host. This is a massive improvment compared to timer based events. This new API is much faster and will work with less interference from other tasks on the board.
-
-#### Note Autoclick Linux libinput (Linux autoclicker not working)
-
-Linux's input driver (libinput) has a debounce feature. This is useful in normal usage as a person cannot feasibly click more than 20CPS. However when the keyboard tries to input 50+CPS and sometimes up to ~500CPS this is a problem.
-
-Create a file at "/etc/libinput/local-overrides.quirks" with the contents:
-
- [Never Debounce]
- MatchUdevType=mouse
- ModelBouncingKeys=1
-
-This disables the debounce feature for libnput. This maybe be different if you use evdev, On Arch Linux the driver packages are {"libinput", "xf86-input-libinput"} compared to {"libevdev", "xf86-input-evdev"}. I have {"libinput", "xf86-input-libinput"} installed. In addition I have {"libevdev"} installed as a dependency of other packages. You maybe need to change the driver for your device if you have both installed. For me it was working just fine. Check what driver your xsession currently is utilizing with:
-
- $cat /var/log/Xorg.0.log | grep libinput
-
-If it is using libinput then it will show contents. Otherwise search for "evdev".
-
-#### Still not working? (Linux)
-
-Check if the events are reaching your OS with either:
-
- $evtest /dev/input/by-id/YOUR_KEYBOARD
-
-or
-
- $cat /dev/input/by-id/YOUR_KEYBOARD
-
-It should end in `event-mouse`. In my case it was `/dev/input/by-id/usb-DZTECH_DZ65RGBV3-if02-event-mouse` which was a symlink to `/dev/input/event12`. It **WILL** vary on your setup.
-
-The output will appear "garbled" as it's trying to interoperate the data stream into text. The underlying data is actually a struct of the form:
-
- struct input_event {
- struct timeval time;
- unsigned short type;
- unsigned short code;
- unsigned int value;
- };
-
-You can read more about it here (https://www.kernel.org/doc/Documentation/input/input.txt)
-
-If it has an output when you autoclick but do not receive it in your desktop then it's a driver issue.
-
-View libinput with:
-
- $libinput debug-events --device /dev/input/by-id/usb-DZTECH_DZ65RGBV3-if02-event-mouse --verbose
-
-If you experience "DEBOUNCE" events then it's a driver issue and should be able to be disabled with the above method, restart your display manager or just reboot afterwards.
-
-If you have any issues feel free to make bug report or pull request to me, QMK, or libinput. Please send logs along with any steps you have tried.
-
-#### ALT Position
-
-The physical Right_Alt is mapped as a Left_Alt. This is to ensure compatibility in legacy and programs which treat them differently. A key example would be the TTY system in Linux.
diff --git a/keyboards/dztech/dz65rgb/keymaps/yuannan/rules.mk b/keyboards/dztech/dz65rgb/keymaps/yuannan/rules.mk
deleted file mode 100644
index e98ba61c3a..0000000000
--- a/keyboards/dztech/dz65rgb/keymaps/yuannan/rules.mk
+++ /dev/null
@@ -1,5 +0,0 @@
-VIA_ENABLE = yes
-LTO_ENABLE = yes
-DYNAMIC_MACRO_ENABLE = yes
-MOUSEKEY_ENABLE = yes
-DEFERRED_EXEC_ENABLE = yes