Skip to content

Commit

Permalink
Update glove80.keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
mjfs authored Jul 12, 2024
1 parent c5055d2 commit 5b9165b
Showing 1 changed file with 56 additions and 54 deletions.
110 changes: 56 additions & 54 deletions config/glove80.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,54 @@
#define k_SQT 79

/ {


macros {
rgb_ug_status_macro: rgb_ug_status_macro_0 {
label = "RGB_UG_STATUS";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&rgb_ug RGB_STATUS>;
};

bt_0: bt_profile_macro_0 {
label = "BT_0";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&out OUT_BLE>,
<&bt BT_SEL 0>;
};

bt_1: bt_profile_macro_1 {
label = "BT_1";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&out OUT_BLE>,
<&bt BT_SEL 1>;
};

bt_2: bt_profile_macro_2 {
label = "BT_2";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&out OUT_BLE>,
<&bt BT_SEL 2>;
};

bt_3: bt_profile_macro_3 {
label = "BT_3";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&out OUT_BLE>,
<&bt BT_SEL 3>;
};
};

behaviors {
// For the "layer" key, it'd nice to be able to use it as either a shift or a toggle.
// Configure it as a tap dance, so the first tap (or hold) is a &mo and the second tap is a &to
Expand Down Expand Up @@ -145,13 +193,13 @@
continue-list = <BSPC DEL N1 N2 N3 N4 N5 N6 N7 N8 N9 N0 FSLH>;
};

td_ctlopt: tap_dance_2 {
compatible = "zmk,behavior-tap-dance";
label = "TAP_OPTION";
#binding-cells = <0>;
tapping-term-ms = <400>;
bindings = <&kp RCTRL>, <&kp K_APP>;
};
//td_ctlopt: tap_dance_2 {
// compatible = "zmk,behavior-tap-dance";
// label = "TAP_OPTION";
// #binding-cells = <0>;
// tapping-term-ms = <400>;
// bindings = <&kp RCTRL>, <&kp K_APP>;
//};

td_lshift: tap_dance_3 {
compatible = "zmk,behavior-tap-dance";
Expand Down Expand Up @@ -245,52 +293,6 @@

};

macros {
rgb_ug_status_macro: rgb_ug_status_macro_0 {
label = "RGB_UG_STATUS";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&rgb_ug RGB_STATUS>;
};

bt_0: bt_profile_macro_0 {
label = "BT_0";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&out OUT_BLE>,
<&bt BT_SEL 0>;
};

bt_1: bt_profile_macro_1 {
label = "BT_1";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&out OUT_BLE>,
<&bt BT_SEL 1>;
};

bt_2: bt_profile_macro_2 {
label = "BT_2";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&out OUT_BLE>,
<&bt BT_SEL 2>;
};

bt_3: bt_profile_macro_3 {
label = "BT_3";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&out OUT_BLE>,
<&bt BT_SEL 3>;
};
};

combos {
compatible = "zmk,combos";

Expand Down Expand Up @@ -399,7 +401,7 @@
&kp ESC &kp Q &kp W &kp E &mod_ra_R &mod_ra_T &kp Y &kp U &kp I &kp O &kp P &kp LBKT
&mod_ra_TAB &kp A &mod_ra_S &mod_ra_D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp BSLH
&kp LGUI &kp Z &kp X &kp C &kp V &kp B &td_lshift &kp LCTRL &layer_td &magic MAGIC 0 &td_ctlopt &td_rshift &kp N &kp M &kp COMMA &kp DOT &kp FSLH &mod_ra_GRAVE
&kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp BSPC &kp LALT &kp DEL &kp RALT &kp RET &kp SPACE &kp LEFT &kp UP &kp DOWN &kp RIGHT &mod_ra_RBKT
&kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp BSPC &kp DEL &kp LALT &kp RALT &kp RET &kp SPACE &kp LEFT &kp UP &kp DOWN &kp RIGHT &mod_ra_RBKT

>;
};
Expand Down

0 comments on commit 5b9165b

Please sign in to comment.