diff --git a/zaphod.keymap b/zaphod.keymap index 63e9ecad..c4c07c0d 100644 --- a/zaphod.keymap +++ b/zaphod.keymap @@ -13,6 +13,7 @@ #define NAV_L 1 #define SYM_L 2 #define FUN_L 3 +#define KBR_L 4 // Using layer taps on thumbs, having quick tap as well helps w/ repeating space/backspace < { quick_tap_ms = <200>; }; @@ -91,6 +92,12 @@ bindings = <&kp PIPE>; }; + layer_kbr { + timeout-ms = <50>; + key-positions = <30 33>; + bindings = <&tog KBR_L>; + } + }; behaviors { @@ -110,40 +117,50 @@ default_layer { label = "Base"; bindings = < - &kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp SEMI - &hm LGUI A &hm LALT R &hm LSHFT S &hm LCTRL T &kp G &kp M &hm RCTRL N &hm RSHFT E &hm LALT I &hm LGUI O - &kp Z &kp X &kp C &kp D &kp V &kp K &kp H &kp COMMA &kp DOT &kp FSLH - < FUN_L TAB < NAV_L SPACE < SYM_L RET &kp BKSP + &kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp SEMI + &hm LGUI A &hm LALT R &hm LSHFT S &hm LCTRL T &kp G &kp M &hm RCTRL N &hm RSHFT E &hm LALT I &hm LGUI O + &kp Z &kp X &kp C &kp D &kp V &kp K &kp H &kp COMMA &kp DOT &kp FSLH + < FUN_L TAB < NAV_L RET < SYM_L SPACE &kp BKSP >; }; nav_layer { label = "Nav"; bindings = < - &kp C_AC_CLOSE &kp C_PREV &kp C_NEXT &trans &kp C_VOL_UP &trans &kp HOME &kp PG_DN &kp PG_UP &kp END - &kp LGUI &kp LALT &kp LSHFT &kp LCTRL &kp C_VOL_DN &kp C_AL_CALC &kp LARW &kp DARW &kp UARW &kp RARW - &trans &trans &trans &trans &kp C_PP &kp INS &kp HOME &kp PG_DN &kp PG_UP &kp END - &trans &trans &kp ESC &kp DEL + &kp C_AC_CLOSE &kp C_PREV &kp C_NEXT &trans &kp C_VOL_UP &trans &kp HOME &kp PG_DN &kp PG_UP &kp END + &kp LGUI &kp LALT &kp LSHFT &kp LCTRL &kp C_VOL_DN &kp C_AL_CALC &kp LARW &kp DARW &kp UARW &kp RARW + &trans &trans &trans &trans &kp C_PP &kp INS &kp HOME &kp PG_DN &kp PG_UP &kp END + &trans &trans &kp ESC &kp DEL >; }; sym_layer { label = "Sym"; bindings = < - &kp EXCL &kp AT &kp HASH &kp DOLLAR &kp PERCENT &kp BACKSLASH &kp N7 &kp N8 &kp N9 &kp COMMA - &kp PLUS &kp EQUAL &kp UNDERSCORE &kp MINUS &kp CARET &kp N0 &kp N4 &kp N5 &kp N6 &kp DOT - &kp TILDE &kp LS(N1) &kp LS(N2) &kp STAR &kp AMPS &kp SEMICOLON &kp N1 &kp N2 &kp N3 &kp SLASH - &kp BKSP &kp SPACE &trans &trans + &kp EXCL &kp AT &kp HASH &kp DOLLAR &kp PERCENT &kp BACKSLASH &kp N7 &kp N8 &kp N9 &kp COMMA + &kp PLUS &kp EQUAL &kp UNDERSCORE &kp MINUS &kp CARET &kp N0 &kp N4 &kp N5 &kp N6 &kp DOT + &kp TILDE &kp LS(N1) &kp LS(N2) &kp STAR &kp AMPS &kp SEMICOLON &kp N1 &kp N2 &kp N3 &kp SLASH + &kp BKSP &kp SPACE &trans &trans >; }; func_layer { label = "Func"; bindings = < - &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &trans &trans &trans &trans &trans - &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 - &trans &trans &trans &kp F11 &kp F12 &trans &trans &trans &trans &bt BT_CLR - &trans &trans &trans &trans + &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &trans &trans &trans &trans &trans + &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 + &trans &trans &trans &kp F11 &kp F12 &trans &trans &trans &trans &bt BT_CLR + &trans &trans &trans &trans + >; + }; + + keybr_layer { + label = "Base"; + bindings = < + &kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp SEMI + &kp A &kp R &kp S &kp T &kp G &kp M &kp N &kp E &kp I &kp O + &kp Z &kp X &kp C &kp D &kp V &kp K &kp H &kp COMMA &kp DOT &kp FSLH + &kp TAB &kp RET &kp SPACE &kp BKSP >; };