From bd7a64d1627c3f51aae649e17d9274ca4dcc497d Mon Sep 17 00:00:00 2001 From: caksoylar Date: Wed, 3 Jan 2024 12:25:17 -0800 Subject: [PATCH] Wait until key release to start alt-tab timer --- config/3x5.dtsi | 3 +- keymap-drawer/corneish_zen.svg | 159 +------------------------------- keymap-drawer/corneish_zen.yaml | 48 +--------- keymap-drawer/hypergolic.svg | 7 +- keymap-drawer/hypergolic.yaml | 4 +- keymap-drawer/rommana.svg | 141 +--------------------------- keymap-drawer/rommana.yaml | 42 +-------- 7 files changed, 17 insertions(+), 387 deletions(-) diff --git a/config/3x5.dtsi b/config/3x5.dtsi index c5faa51b..b0b1f28f 100644 --- a/config/3x5.dtsi +++ b/config/3x5.dtsi @@ -184,7 +184,8 @@ tap-ms = <10>; bindings = <¯o_press &kp LALT> // leave ALT down to keep menu up , <¯o_tap &kp TAB> // open the menu - , <¯o_tap &sk_at RALT> // this will release ALT after a timeout + , <¯o_pause_for_release> // wait until key release + , <¯o_tap &sk_at RALT> // start timer to release ALT after timeout , <¯o_release &kp LALT>; // now release the initial hold ) }; diff --git a/keymap-drawer/corneish_zen.svg b/keymap-drawer/corneish_zen.svg index e074797c..4343ccb7 100644 --- a/keymap-drawer/corneish_zen.svg +++ b/keymap-drawer/corneish_zen.svg @@ -1,4 +1,4 @@ - + diff --git a/keymap-drawer/corneish_zen.yaml b/keymap-drawer/corneish_zen.yaml index 9ed54423..0d706a9e 100644 --- a/keymap-drawer/corneish_zen.yaml +++ b/keymap-drawer/corneish_zen.yaml @@ -24,7 +24,7 @@ layers: - Z - X - C - - {t: D, h: MSE} + - D - V - J - H @@ -61,7 +61,7 @@ layers: - '' - W - M - - {t: G, h: MSE} + - G - '' - '' - D @@ -170,8 +170,8 @@ layers: - → - End - '' - - Win Prev - - Win Next + - '' + - '&alt_tabber' - Paste - ⏯ - '' @@ -222,43 +222,6 @@ layers: - {type: held} - Boot - '' - MSE: - - '' - - '' - - '' - - '' - - '' - - MW← - - MW↓ - - M↑ - - MW↑ - - MW→ - - Ctrl - - Gui - - Alt - - Shift - - '' - - '' - - M← - - M↓ - - M→ - - '' - - '' - - '' - - '' - - {type: held} - - '' - - '' - - Back Click - - Middle Click - - Forward Click - - '' - - '' - - '' - - '' - - Left Click - - Right Click - - '' combos: - p: [2, 3] k: J @@ -327,6 +290,3 @@ combos: k: BT CLR l: [FUN] a: bottom -- p: [31, 32] - k: MSE - l: [DEF, BRD] diff --git a/keymap-drawer/hypergolic.svg b/keymap-drawer/hypergolic.svg index b5de313c..a2abd2fa 100644 --- a/keymap-drawer/hypergolic.svg +++ b/keymap-drawer/hypergolic.svg @@ -950,15 +950,10 @@ path.combo { - -WinPrev - - -WinNext - +&alt_tabber diff --git a/keymap-drawer/hypergolic.yaml b/keymap-drawer/hypergolic.yaml index ff78c7ee..93c13b8e 100644 --- a/keymap-drawer/hypergolic.yaml +++ b/keymap-drawer/hypergolic.yaml @@ -162,8 +162,8 @@ layers: - → - End - '' - - Win Prev - - Win Next + - '' + - '&alt_tabber' - Paste - ⏯ - '' diff --git a/keymap-drawer/rommana.svg b/keymap-drawer/rommana.svg index 1783ee6c..d8dd26cb 100644 --- a/keymap-drawer/rommana.svg +++ b/keymap-drawer/rommana.svg @@ -1,4 +1,4 @@ - + @@ -412,7 +407,6 @@ path.combo { G -MSE @@ -514,10 +508,6 @@ path.combo { / - - -MSE - @@ -899,15 +889,10 @@ path.combo { - -WinPrev - - -WinNext - +&alt_tabber @@ -1109,126 +1094,4 @@ path.combo { - -MSE: - - - - - - - - - - - - - - - - - - -MW← - - - -MW↓ - - - -M↑ - - - -MW↑ - - - -MW→ - - - -Ctrl - - - -Gui - - - -Alt - - - -Shift - - - - - - - - - -M← - - - -M↓ - - - -M→ - - - - - - - - - - - - - - - - -BackClick - - - - - -MiddleClick - - - - - -ForwardClick - - - - - - - - - - - -LeftClick - - - - - -RightClick - - - - diff --git a/keymap-drawer/rommana.yaml b/keymap-drawer/rommana.yaml index 6a060eb5..2d277ed1 100644 --- a/keymap-drawer/rommana.yaml +++ b/keymap-drawer/rommana.yaml @@ -23,7 +23,7 @@ layers: - {t: O, h: Ctrl} - X - C - - {t: D, h: MSE} + - D - H - ',' - . @@ -54,7 +54,7 @@ layers: - {t: A, h: Ctrl} - W - M - - {t: G, h: MSE} + - G - D - ',' - . @@ -145,8 +145,8 @@ layers: - ↓ - → - End - - Win Prev - - Win Next + - '' + - '&alt_tabber' - Paste - ⌦ - ⏮️ @@ -186,37 +186,6 @@ layers: - {type: held} - {type: held} - Boot - MSE: - - '' - - '' - - '' - - '' - - '' - - MW← - - MW↓ - - M↑ - - MW↑ - - MW→ - - Ctrl - - Gui - - Alt - - Shift - - '' - - '' - - M← - - M↓ - - M→ - - '' - - '' - - '' - - {type: held} - - Back Click - - Middle Click - - Forward Click - - '' - - '' - - Left Click - - Right Click combos: - p: [2, 3] k: J @@ -285,6 +254,3 @@ combos: k: BT CLR l: [FUN] a: bottom -- p: [26, 27] - k: MSE - l: [DEF, BRD]