Skip to content

Commit

Permalink
use df to esc
Browse files Browse the repository at this point in the history
  • Loading branch information
dcai committed May 12, 2024
1 parent 2a826be commit d480059
Showing 1 changed file with 24 additions and 19 deletions.
43 changes: 24 additions & 19 deletions config/34.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,30 @@
/ {
combos {
compatible = "zmk,combos";
combo_df_esc {
timeout-ms = <50>;
key-positions = <12 13>;
bindings = <&kp ESC>;
};
combo_qw_esc {
timeout-ms = <50>;
key-positions = <0 1>;
bindings = <&kp ESC>;
};

combo_vol_down {
bindings = <&kp C_VOL_DN>;
key-positions = <26 27>;
};

combo_vol_up {
bindings = <&kp C_VOL_UP>;
key-positions = <27 28>;
};
combo_caps_word {
bindings = <&caps_word>;
key-positions = <13 16>;
};
/* lock { */
/* timeout-ms = <50>; */
/* key-positions = <0 9 20 29>; */
Expand All @@ -97,25 +121,6 @@
/* bindings = <&to 3>; */
/* key-positions = <0 9>; */
/* }; */
combo_esc {
timeout-ms = <50>;
key-positions = <0 1>;
bindings = <&kp ESC>;
};

combo_vol_down {
bindings = <&kp C_VOL_DN>;
key-positions = <26 27>;
};

combo_vol_up {
bindings = <&kp C_VOL_UP>;
key-positions = <27 28>;
};
combo_caps_word {
bindings = <&caps_word>;
key-positions = <13 16>;
};
};

behaviors {
Expand Down

0 comments on commit d480059

Please sign in to comment.