From 7ea022ba88125c27ef2d137f52e7cf846ddb4ee9 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sun, 17 Dec 2023 21:54:01 +1100 Subject: [Keymap Removal] Planck and related keymaps. (#22683) --- keyboards/dz60/keymaps/kifinnsson/keymap.c | 210 ---------------------------- keyboards/dz60/keymaps/kifinnsson/readme.md | 5 - keyboards/dz60/keymaps/kifinnsson/rules.mk | 6 - 3 files changed, 221 deletions(-) delete mode 100644 keyboards/dz60/keymaps/kifinnsson/keymap.c delete mode 100644 keyboards/dz60/keymaps/kifinnsson/readme.md delete mode 100644 keyboards/dz60/keymaps/kifinnsson/rules.mk (limited to 'keyboards/dz60/keymaps/kifinnsson') diff --git a/keyboards/dz60/keymaps/kifinnsson/keymap.c b/keyboards/dz60/keymaps/kifinnsson/keymap.c deleted file mode 100644 index 6fbb4466ab..0000000000 --- a/keyboards/dz60/keymaps/kifinnsson/keymap.c +++ /dev/null @@ -1,210 +0,0 @@ -#include QMK_KEYBOARD_H - -bool is_lgui_active = false; -uint16_t lgui_timer = 0; - - -//Macro Declarations -enum my_keycodes { - KI_NO = SAFE_RANGE, - KI_1, - KI_2, - KI_3, - KI_4, - KI_5, - KI_6, - KI_7, - KI_8, - KI_9, - KI_10, - KI_11, - KI_12, - KI_ESC, - KI_BKSP, - KI_BSLS, - KI_WLFT, - KI_WRGT, - }; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - LAYOUT_all( - 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, XXXXXXX, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSLS, - MO(1), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, MO(2), KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, XXXXXXX, KC_RSFT, XXXXXXX, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), XXXXXXX, MO(3), KC_RCTL), - - LAYOUT_all( - 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, - _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_PGUP, KC_HOME, KC_UP, KC_END, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - _______, XXXXXXX, KC_TAB, KC_LSFT, KC_LCTL, XXXXXXX, KC_PGDN, KC_LEFT, KC_DOWN, KC_RGHT, KC_DEL, KC_CAPS, XXXXXXX, - _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, KC_BSPC, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,, - _______, _______, XXXXXXX, KC_ENT, KC_ENT, KC_ENT, _______, _______, _______, _______, QK_BOOT), - - LAYOUT_all( - KI_ESC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX, KI_BKSP, - _______, KI_1, KI_2, KI_3, KI_4, KI_5, KI_6, KI_7, KI_8, KI_9, KI_10, KI_11, KI_12, KI_BSLS, - _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, KI_WLFT, KI_WRGT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX, _______, XXXXXXX), - - LAYOUT_all( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - // Keycodes Starting with KI_ are place holders for my personal macros. They are set below. Most are simple SEND_STRINGS(). - case KI_ESC: - if (record->event.pressed) { - SEND_STRING(""); - } else { - - } - return false; // Skip all further processing of this key - case KI_1: - if (record->event.pressed) { - SEND_STRING(""); - } else { - - } - return false; // Skip all further processing of this key - case KI_2: - if (record->event.pressed) { - SEND_STRING(""); - } else { - - } - return false; // Skip all further processing of this key - case KI_3: - if (record->event.pressed) { - SEND_STRING(""); - } else { - - } - return false; // Skip all further processing of this key - case KI_4: - if (record->event.pressed) { - SEND_STRING(""); - } else { - - } - return false; // Skip all further processing of this key - case KI_5: - if (record->event.pressed) { - SEND_STRING(""); - } else { - - } - return false; // Skip all further processing of this key - case KI_6: - if (record->event.pressed) { - SEND_STRING(""); - } else { - - } - return false; // Skip all further processing of this key - case KI_7: - if (record->event.pressed) { - SEND_STRING(""); - } else { - - } - return false; // Skip all further processing of this key - case KI_8: - if (record->event.pressed) { - SEND_STRING(""); - } else { - - } - return false; // Skip all further processing of this key - case KI_9: - if (record->event.pressed) { - SEND_STRING(""); - } else { - - } - return false; // Skip all further processing of this key - case KI_10: - if (record->event.pressed) { - SEND_STRING(""); - } else { - - } - return false; // Skip all further processing of this key - case KI_11: - if (record->event.pressed) { - SEND_STRING(""); - } else { - - } - return false; // Skip all further processing of this key - case KI_12: - if (record->event.pressed) { - SEND_STRING(""); - } else { - - } - return false; // Skip all further processing of this key - case KI_BKSP: - if (record->event.pressed) { - SEND_STRING(""); - } else { - - } - return false; // Skip all further processing of this key - case KI_BSLS: - if (record->event.pressed) { - SEND_STRING(""); - } else { - - } - return false; // Skip all further processing of this key - - //Windows Win+Left tap to move window without resetting KC_LGUI - //Additional code is in matrix_scan_user() - case KI_WLFT: - if (record->event.pressed) { - if (!is_lgui_active) { - is_lgui_active = true; - register_code(KC_LGUI); - } - lgui_timer = timer_read(); - tap_code(KC_LEFT); - } else { - - } - return false; // Skip all further processing of this key - //Windows Win+Right tap to move window without resetting KC_LGUI - //Additional code is in matrix_scan_user() - case KI_WRGT: - if (record->event.pressed) { - if (!is_lgui_active) { - is_lgui_active = true; - register_code(KC_LGUI); - } - lgui_timer = timer_read(); - tap_code(KC_RIGHT); - } else { - - } - return false; // Skip all further processing of this key - default: - return true; // Process all other keycodes normally - } -} - -//Check if KC_LGUI is active in KI_WLFT and KI_WRGT -void matrix_scan_user(void) { - if (is_lgui_active) { - if (timer_elapsed(lgui_timer) > 1000) { - unregister_code(KC_LGUI); - is_lgui_active = false; - } - } -} \ No newline at end of file diff --git a/keyboards/dz60/keymaps/kifinnsson/readme.md b/keyboards/dz60/keymaps/kifinnsson/readme.md deleted file mode 100644 index 49f5595030..0000000000 --- a/keyboards/dz60/keymaps/kifinnsson/readme.md +++ /dev/null @@ -1,5 +0,0 @@ -# kifinnsson's Colemak angle mod ansi-ish layout ------------------ - -Keymap for my non-standard DZ60 layout. It is an ansi layout on the right and iso on the left (ie 1.25x left shift). This is to implement the angle mod on for Colemak which is the base layer. A side effect of this is that I have an extra key on row 4, which sits between the "b" and "k" keys in Colemak. I use this key as a switch to layer 2 which is my macro layer. - diff --git a/keyboards/dz60/keymaps/kifinnsson/rules.mk b/keyboards/dz60/keymaps/kifinnsson/rules.mk deleted file mode 100644 index 1874258612..0000000000 --- a/keyboards/dz60/keymaps/kifinnsson/rules.mk +++ /dev/null @@ -1,6 +0,0 @@ -# Build Options -# comment out to disable the options. -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys(+4700) -EXTRAKEY_ENABLE = no # Audio control and System control(+450) \ No newline at end of file -- cgit v1.2.3