From a6e4287d44d8c8e8834de106046b8c574d0b6b40 Mon Sep 17 00:00:00 2001 From: Alexandre Pokhodoun Date: Fri, 24 May 2024 15:27:49 -0400 Subject: [PATCH] compile --- .../boards/shields/ergoalex/ergoalex.keymap | 73 +++++++++++++------ 1 file changed, 52 insertions(+), 21 deletions(-) diff --git a/config/boards/shields/ergoalex/ergoalex.keymap b/config/boards/shields/ergoalex/ergoalex.keymap index 256574d..d09691c 100644 --- a/config/boards/shields/ergoalex/ergoalex.keymap +++ b/config/boards/shields/ergoalex/ergoalex.keymap @@ -18,6 +18,8 @@ #define IDLE 150 #define COMBO_IDLE 50 +#define NUM_KEY 16 + / { macros { @@ -177,12 +179,20 @@ r_combo_amps { timeout-ms = ; - key-positions = <12 6>; + key-positions = <12 5>; layers = ; slow-release; bindings = <&mac SPR AMPS>; require-prior-idle-ms = ; }; + r_combo_under { + timeout-ms = ; + key-positions = <12 6>; + layers = ; + slow-release; + bindings = <&mac SPR UNDER>; + require-prior-idle-ms = ; + }; r_combo_pipe { timeout-ms = ; key-positions = <12 7>; @@ -215,14 +225,6 @@ bindings = <&mac SPR EQUAL>; require-prior-idle-ms = ; }; - r_combo_under { - timeout-ms = ; - key-positions = <12 16>; - layers = ; - slow-release; - bindings = <&mac SPR UNDER>; - require-prior-idle-ms = ; - }; r_combo_qmark { timeout-ms = ; key-positions = <12 18>; @@ -276,7 +278,7 @@ r_combo_five { timeout-ms = ; - key-positions = <33 0>; + key-positions = ; layers = ; slow-release; bindings = <&mac NUM N5>; @@ -284,7 +286,7 @@ }; r_combo_six { timeout-ms = ; - key-positions = <33 1>; + key-positions = ; layers = ; slow-release; bindings = <&mac NUM N6>; @@ -292,7 +294,7 @@ }; r_combo_seven { timeout-ms = ; - key-positions = <33 2>; + key-positions = ; layers = ; slow-release; bindings = <&mac NUM N7>; @@ -300,7 +302,7 @@ }; r_combo_eight { timeout-ms = ; - key-positions = <33 3>; + key-positions = ; layers = ; slow-release; bindings = <&mac NUM N8>; @@ -308,7 +310,7 @@ }; r_combo_nine { timeout-ms = ; - key-positions = <33 4>; + key-positions = ; layers = ; slow-release; bindings = <&mac NUM N9>; @@ -316,7 +318,7 @@ }; r_combo_zero { timeout-ms = ; - key-positions = <33 10>; + key-positions = ; layers = ; slow-release; bindings = <&mac NUM N0>; @@ -324,7 +326,7 @@ }; r_combo_one { timeout-ms = ; - key-positions = <33 11>; + key-positions = ; layers = ; slow-release; bindings = <&mac NUM N1>; @@ -332,7 +334,7 @@ }; r_combo_two { timeout-ms = ; - key-positions = <33 12>; + key-positions = ; layers = ; slow-release; bindings = <&mac NUM N2>; @@ -340,7 +342,7 @@ }; r_combo_three { timeout-ms = ; - key-positions = <33 13>; + key-positions = ; layers = ; slow-release; bindings = <&mac NUM N3>; @@ -348,7 +350,7 @@ }; r_combo_four { timeout-ms = ; - key-positions = <33 14>; + key-positions = ; layers = ; slow-release; bindings = <&mac NUM N4>; @@ -356,6 +358,33 @@ }; + + nav_combo_ret { + timeout-ms = ; + key-positions = <32 13>; + layers = ; + slow-release; + bindings = <&mac NAV RET>; + require-prior-idle-ms = ; + }; + nav_combo_bspc { + timeout-ms = ; + key-positions = <32 12>; + layers = ; + slow-release; + bindings = <&mac NAV BSPC>; + require-prior-idle-ms = ; + }; + nav_combo_tab { + timeout-ms = ; + key-positions = <32 23>; + layers = ; + slow-release; + bindings = <&mac NAV TAB>; + require-prior-idle-ms = ; + }; + + sft_combo_double_quote { timeout-ms = ; key-positions = <19 20>; @@ -443,6 +472,7 @@ >; }; + nav_layer { bindings = < &kp ESC &kp LG(X) &kp LG(C) &kp LG(V) &kp LG(FSLH) &kp PG_UP &kp LA(LEFT) &kp UP &kp LA(RIGHT) ___ @@ -463,13 +493,14 @@ spr_layer { bindings = < - ___ ___ ___ ___ ___ ___ &kp AMPS &kp PIPE &kp LT &kp GT - ___ ___ ___ ___ ___ &kp EQUAL &kp UNDER ___ &kp QMARK &kp MINUS + ___ ___ ___ ___ ___ &kp AMPS &kp UNDER &kp PIPE &kp LT &kp GT + ___ ___ ___ ___ ___ &kp EQUAL ___ ___ &kp QMARK &kp MINUS ___ ___ ___ ___ ___ ___ &kp DLLR &kp TILDE &kp CARET &kp GRAVE ___ ___ ___ ___ >; }; + num_layer { bindings = <