summaryrefslogtreecommitdiff
path: root/keyboards/signum
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-02-15 09:42:01 +0000
committerGitHub <noreply@github.com>2024-02-15 09:42:01 +0000
commit5233a62b20d975140f3bc4b808ca6e74a148d54c (patch)
treeaa90b523f0a82abf7cd77c2bfbb6e811110cedef /keyboards/signum
parentf8123c27ad75cbb7147618dd5cf98474b5c150e0 (diff)
Remove obvious user keymaps, keyboards/{s,t}* edition. (#23084)
Diffstat (limited to 'keyboards/signum')
-rw-r--r--keyboards/signum/3_0/keymaps/sgurenkov/config.h39
-rw-r--r--keyboards/signum/3_0/keymaps/sgurenkov/keymap.c138
-rw-r--r--keyboards/signum/3_0/keymaps/sgurenkov/rules.mk2
3 files changed, 0 insertions, 179 deletions
diff --git a/keyboards/signum/3_0/keymaps/sgurenkov/config.h b/keyboards/signum/3_0/keymaps/sgurenkov/config.h
deleted file mode 100644
index 17f6d09479..0000000000
--- a/keyboards/signum/3_0/keymaps/sgurenkov/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/* Copyright 2021 Stan Gurenkov <rococo04_fox@icloud.com>
- *
- * 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 ONESHOT_TAP_TOGGLE 2
-#define ONESHOT_TIMEOUT 5000
-#define LEADER_TIMEOUT 600
-#define LEADER_PER_KEY_TIMING 300
-
-// default but used in macros
-#define TAPPING_TERM 300
-
-// Auto Shift and Retro Shift (Auto Shift for Tap Hold).
-#define AUTO_SHIFT_TIMEOUT TAPPING_TERM
-
-// Mouse key speed and acceleration.
-#undef MOUSEKEY_DELAY
-#define MOUSEKEY_DELAY 0
-#undef MOUSEKEY_INTERVAL
-#define MOUSEKEY_INTERVAL 16
-#undef MOUSEKEY_WHEEL_DELAY
-#define MOUSEKEY_WHEEL_DELAY 0
-#undef MOUSEKEY_MAX_SPEED
-#define MOUSEKEY_MAX_SPEED 6
-#undef MOUSEKEY_TIME_TO_MAX
-#define MOUSEKEY_TIME_TO_MAX 64
diff --git a/keyboards/signum/3_0/keymaps/sgurenkov/keymap.c b/keyboards/signum/3_0/keymaps/sgurenkov/keymap.c
deleted file mode 100644
index 9353d28472..0000000000
--- a/keyboards/signum/3_0/keymaps/sgurenkov/keymap.c
+++ /dev/null
@@ -1,138 +0,0 @@
-/* Copyright 2021 Stan Gurenkov <rococo04_fox@icloud.com>
- *
- * 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
-
-#define M0(kc) MT(MOD_HYPR, kc)
-#define M1(kc) MT(MOD_LGUI, kc)
-#define M2(kc) MT(MOD_LCTL, kc)
-#define M3(kc) MT(MOD_LALT, kc)
-#define M4(kc) MT(MOD_LSFT, kc)
-#define LTH1 LT(L_LEFT, KC_SPC)
-#define LTH2 LT(L_NUM, KC_BSPC)
-#define RTH1 LT(L_RIGHT, KC_SPC)
-#define RTH2 LT(L_NUM, KC_ENT)
-#define COPY LCMD(KC_C)
-#define PASTE LCMD(KC_V)
-// Layers
-#define L_BASE 0
-#define L_LEFT 1
-#define L_RIGHT 2
-#define L_NUM 3
-
-bool is_cmd_tab_active = false;
-
-enum custom_keycodes {
- CMD_TAB = SAFE_RANGE,
-};
-// clang-format off
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-// L_BASE
- LAYOUT(
- KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL,
- KC_TAB, M4(KC_A), M3(KC_S), M2(KC_D), M1(KC_F), M0(KC_G), M0(KC_H), M1(KC_J), M2(KC_K), M3(KC_L), M4(KC_COLN), KC_QUOT,
- KC_GRV, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_BSLS,
- OSM(MOD_LSFT), QK_LEAD, KC_LGUI, LTH1, XXXXXXX, LTH2, RTH2, XXXXXXX, RTH1, KC_RGUI, QK_LEAD, OSM(MOD_HYPR)),
-
-// L_LEFT
- LAYOUT(
- _______, XXXXXXX, XXXXXXX, KC_EQL, KC_PERC, KC_AT, COPY, KC_UNDS, KC_HASH, RALT(KC_SPC), KC_PLUS, _______,
- _______, KC_LSFT, KC_LALT, KC_LCTL, KC_LGUI, KC_HYPR, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_LBRC, KC_RBRC,
- _______, XXXXXXX, KC_EXLM, KC_CIRC, XXXXXXX, KC_HOME, KC_END, KC_MINS, KC_LPRN, KC_RPRN, PASTE, XXXXXXX,
- _______, KC_BRID, KC_BRIU, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, _______),
-
-// L_RIGHT
- LAYOUT(
- _______, XXXXXXX, XXXXXXX, KC_EQL, KC_PERC, KC_AT, COPY, KC_UNDS, KC_HASH, RALT(KC_SPC), KC_PLUS, _______,
- _______, KC_AMPR, KC_ASTR, KC_DLR, LGUI(KC_GRV), XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, KC_RSFT, KC_RBRC,
- _______, XXXXXXX, KC_EXLM, KC_CIRC, XXXXXXX, KC_HOME, KC_END, KC_MINS, KC_LPRN, KC_RPRN, PASTE, XXXXXXX,
- _______, KC_BRID, KC_BRIU, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, _______),
-
-// L_NUM
- LAYOUT(
- _______, XXXXXXX, KC_F7, KC_F8, KC_F9, KC_F12, KC_MINS, KC_7, KC_8, KC_9, KC_COMM, _______,
- _______, M4(KC_LSFT), M3(KC_F4), M2(KC_F5), M1(KC_F6), M0(KC_F11), M0(KC_DOT), M1(KC_4), M2(KC_5), M3(KC_6), M4(KC_0), _______,
- _______, XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F10, KC_PLUS, KC_1, KC_2, KC_3, KC_DOT, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MEDIA_PREV_TRACK , KC_MEDIA_NEXT_TRACK, KC_MEDIA_PLAY_PAUSE),
-
- LAYOUT(
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
-};
-// clang-format on
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case CMD_TAB:
- if (record->event.pressed) {
- register_code(KC_LCMD);
- tap_code(KC_TAB);
- layer_on(2);
- } else {
- unregister_code(KC_LCMD);
- layer_off(2);
- }
- break;
- case KC_ESC:
- layer_clear();
- }
- return true;
-}
-
-void leader_end_user(void) {
- // Cancel task CTRL+C
- if (leader_sequence_one_key(KC_C)) {
- tap_code16(C(KC_C));
- }
- // copy
- if (leader_sequence_one_key(KC_Y)) {
- tap_code16(G(KC_C));
- }
- // cut
- if (leader_sequence_one_key(KC_X)) {
- tap_code16(G(KC_X));
- }
- // paste
- if (leader_sequence_one_key(KC_P)) {
- tap_code16(G(KC_V));
- }
- // undo
- if (leader_sequence_one_key(KC_U)) {
- tap_code16(G(KC_Z));
- }
- // redo
- if (leader_sequence_one_key(KC_R)) {
- tap_code16(S(G(KC_Z)));
- }
- // delete line
- if (leader_sequence_two_keys(KC_D, KC_D)) {
- register_code(KC_LGUI);
-
- tap_code(KC_RIGHT);
-
- tap_code(KC_BACKSPACE);
-
- unregister_code(KC_LGUI);
- }
- // go to the beginning of the string
- if (leader_sequence_one_key(KC_H)) {
- tap_code16(G(KC_LEFT));
- }
- // go to the end of the string
- if (leader_sequence_one_key(KC_L)) {
- tap_code16(G(KC_RIGHT));
- }
-}
diff --git a/keyboards/signum/3_0/keymaps/sgurenkov/rules.mk b/keyboards/signum/3_0/keymaps/sgurenkov/rules.mk
deleted file mode 100644
index 5c9a4b49b7..0000000000
--- a/keyboards/signum/3_0/keymaps/sgurenkov/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-LEADER_ENABLE = yes
-AUTO_SHIFT_ENABLE = no