Skip to content

Commit

Permalink
number and layer keys
Browse files Browse the repository at this point in the history
  • Loading branch information
zoovasoup committed Sep 12, 2024
1 parent 1d30d04 commit 92d9089
Showing 1 changed file with 36 additions and 5 deletions.
41 changes: 36 additions & 5 deletions boards/shields/waffle-34k/waffle-34k.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/mouse.h>

#define def 0
#define nav 1
#define DEF 0
#define NAV 1
#define MSE 2
#define NUM 3
#define FNC 4

/ {

behaviors {
bhm: balanced_homerow_mods {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
tapping-term-ms = <200>; // <---[[moderate duration]]
tapping-term-ms = <120>; // <---[[moderate duration]]
quick-tap-ms = <0>;
flavor = "balanced";
bindings = <&kp>, <&kp>;
Expand All @@ -22,27 +25,55 @@ behaviors {
keymap {
compatible = "zmk,keymap";

default {
// -----------------------------------------------------------------------------------------
// | Q | W | F | P | B | | J | L | U | Y | ; |
// | A | R | S | T | G | | M | N | E | I | O |
// | X | C | D | V | Z | | K | H | , | . | / |
// | GUI | LWR | SPC | | ENT | RSE | ALT |
default {
bindings = <
&kp Q &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp SEMI
&bhm LSHIFT A &bhm LCTRL R &bhm LGUI S &bhm LALT T &kp G &kp M &bhm RALT N &bhm RGUI E &bhm RCTRL I &bhm RSHIFT O
&kp X &kp C &kp D &kp V &kp Z &kp K &kp H &kp COMMA &kp DOT &kp FSLH
&kp BSPC &kp TAB &kp SPACE &kp RET
&lt NUM BSPC &lt NAV TAB &lt MSE SPACE &lt NUM RET
>;
};

navigation {
bindings = <
&kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp STAR &kp LPAR &kp RPAR
&trans &trans &trans &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp SQT
&trans &trans &trans &trans &trans &trans &trans &trans &trans &kp CAPS
&trans &trans &kp DEL &trans
>;
};

number {
bindings = <
&kp GRAVE &kp 1 &kp 2 &kp 3 &kp - &trans &trans &trans &kp LBKT &kp RBKT
&kp ESC &kp 4 &kp 5 &kp 6 &kp 0 &trans &trans &trans &trans &trans
&kp DOT &kp 7 &kp 8 &kp 9 &kp = &trans &trans &trans &trans &trans
&trans &trans &trans &trans
>;
};

number {
bindings = <
&kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp STAR &kp LPAR &kp RPAR
&trans &trans &trans &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp SQT
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans
>;
};

number {
bindings = <
&kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp STAR &kp LPAR &kp RPAR
&trans &trans &trans &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp SQT
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans
>;
};

};
};

0 comments on commit 92d9089

Please sign in to comment.