From cc8e47be53c4da9bee3ed1afb7a46e299e3ba61d Mon Sep 17 00:00:00 2001 From: urob <978080+urob@users.noreply.github.com> Date: Mon, 16 Sep 2024 11:27:03 -0400 Subject: [PATCH] Remove unicode layer It has been replaced by leader sequences --- config/base.keymap | 29 +---------------------------- config/combos.dtsi | 3 --- 2 files changed, 1 insertion(+), 31 deletions(-) diff --git a/config/base.keymap b/config/base.keymap index 37243e663..4ca3bc033 100644 --- a/config/base.keymap +++ b/config/base.keymap @@ -17,8 +17,7 @@ #define FN 2 #define NUM 3 #define SYS 4 -#define UC 5 -#define MOUSE 6 +#define MOUSE 5 #define XXX &none #define ___ &trans @@ -149,20 +148,6 @@ ZMK_TRI_STATE(swapper, ignored-key-positions = ; ) -// Sticky layer + sticky shift (workaround for issue #1421) -ZMK_STICKY_KEY(sls, - release-after-ms = <1000>; - bindings = <&uc_shift>; - ignore-modifiers; -) -ZMK_MACRO(uc_shift, - wait-ms = <0>; - tap-ms = <1>; - bindings = <¯o_press &mo UC &kp LSHFT> - , <¯o_pause_for_release> - , <¯o_release &mo UC &kp LSHFT>; -) - // reuse basic mod-morph scheme #define SIMPLE_MORPH(NAME, MOD, BINDING1, BINDING2) \ ZMK_MOD_MORPH(NAME, \ @@ -295,18 +280,6 @@ ZMK_LAYER(sys, //╰──────╯ ╰─────────────┴─────────────╯ ╰──────╯ ╰─────────────┴─────────────╯ ╰──────╯ ) -ZMK_LAYER(uc, -//╭──────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭──────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭──────╮ - X_LT ___ &el_omega &el_phi &el_pi &el_beta X_MT ___ &el_lambda &el_upsilon &el_psi &de_eszett X_RT -//├──────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├──────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├──────┤ - X_LM &el_alpha &el_rho &el_sigma &el_tau &el_gamma X_MM &el_mu &el_nu &el_epsilon &el_iota &el_omikron X_RM -//├──────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├──────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├──────┤ - X_LB &el_zeta &el_xi &el_chi &el_delta &el_theta X_MB &el_kappa &el_eta &de_ae &de_oe &de_ue X_RB -//├──────┤ ╰─────────────┼─────────────┴─────────────┼─────────────┼─────────────┤ ├──────┤ ├─────────────┼─────────────┼─────────────┴───────────────────────────╯ ├──────┤ - X_LH ___ ___ X_MH ___ ___ X_RH -//╰──────╯ ╰─────────────┴─────────────╯ ╰──────╯ ╰───────────────────────────╯ ╰──────╯ -) - ZMK_LAYER(mouse, //╭──────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭──────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭──────╮ X_LT ___ ___ ___ ___ ___ X_MT U_WH_L U_WH_D U_MS_U U_WH_U U_WH_R X_RT diff --git a/config/combos.dtsi b/config/combos.dtsi index 89f199a6e..c29f0afdc 100644 --- a/config/combos.dtsi +++ b/config/combos.dtsi @@ -43,9 +43,6 @@ ZMK_COMBO(rbkt, &kp RBKT, RB2 RB3, DEF NUM, COMBO_TERM_FAST, COMBO_ ZMK_COMBO(lbrc, &kp LBRC, RB1 RB2, NAV , COMBO_TERM_FAST, COMBO_IDLE_FAST) ZMK_COMBO(rbrc, &kp RBRC, RB2 RB3, NAV , COMBO_TERM_FAST, COMBO_IDLE_FAST) -ZMK_COMBO(grk, &sl UC, RT1 RT3, DEF NAV NUM, COMBO_TERM_FAST, COMBO_IDLE_FAST) -ZMK_COMBO(cpgrk, &sls 0, RT1 RT2 RT3, DEF NAV NUM, COMBO_TERM_FAST, COMBO_IDLE_FAST) - /* Vertical combos - left hand */ ZMK_COMBO(at, &kp AT, LT3 LM3, DEF NAV NUM, COMBO_TERM_SLOW, COMBO_IDLE_SLOW) ZMK_COMBO(hash, &kp HASH, LT2 LM2, DEF NAV NUM, COMBO_TERM_SLOW, COMBO_IDLE_SLOW)