Skip to content

Commit

Permalink
Update bb9900.keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
ZitaoTech authored Apr 13, 2024
1 parent 37bb464 commit 4e9c061
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions config/bb9900.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/

#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
Expand All @@ -16,6 +16,7 @@
#define SYM 1
#define UPPER 2


/ {
behaviors {
td0: tap_dance_0 {
Expand All @@ -34,6 +35,16 @@
};
};

behaviors {
bhm: balanced_homerow_mods {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
flavor = "balanced";
tapping-term-ms = <400>;
bindings = <&kp>, <&kp>;
};
};

keymap {
compatible = "zmk,keymap";

Expand All @@ -49,11 +60,11 @@
// | aA | 0 | SPACE | SYM | aA |
// -----------------------------------------------------------------------------------------------------------------

&mkp LCLK &mkp RCLK
&mkp LCLK &mkp RCLK
&kp CLCK &kp LGUI &mkp LCLK &mt ESC K_BACK &kp TAB
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp BSPC
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp SEMI &kp ENTER
&bhm HASH Q &bhm N1 W &bhm N2 E &bhm N3 R &bhm LPAR T &bhm RPAR Y &bhm UNDER U &bhm MINUS I &bhm PLUS O &bhm AT P
&bhm STAR A &bhm N4 S &bhm N5 D &bhm N6 F &bhm SLASH G &bhm COLON H &bhm SEMI J &bhm APOS K &bhm DQT L &kp BSPC
&kp LSHFT &bhm N7 Z &bhm N8 X &bhm N9 C &bhm QMARK V &bhm EXCL B &bhm COMMA N &bhm DOT M &kp SEMI &kp ENTER
&kp LCTRL &kp LALT &kp SPACE &tog SYM &tog UPPER
>;
};
Expand Down Expand Up @@ -84,4 +95,3 @@
};
};
};

0 comments on commit 4e9c061

Please sign in to comment.