Skip to content

Commit d480059

Browse files
committed
use df to esc
1 parent 2a826be commit d480059

File tree

1 file changed

+24
-19
lines changed

1 file changed

+24
-19
lines changed

config/34.dtsi

+24-19
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,30 @@
7171
/ {
7272
combos {
7373
compatible = "zmk,combos";
74+
combo_df_esc {
75+
timeout-ms = <50>;
76+
key-positions = <12 13>;
77+
bindings = <&kp ESC>;
78+
};
79+
combo_qw_esc {
80+
timeout-ms = <50>;
81+
key-positions = <0 1>;
82+
bindings = <&kp ESC>;
83+
};
84+
85+
combo_vol_down {
86+
bindings = <&kp C_VOL_DN>;
87+
key-positions = <26 27>;
88+
};
89+
90+
combo_vol_up {
91+
bindings = <&kp C_VOL_UP>;
92+
key-positions = <27 28>;
93+
};
94+
combo_caps_word {
95+
bindings = <&caps_word>;
96+
key-positions = <13 16>;
97+
};
7498
/* lock { */
7599
/* timeout-ms = <50>; */
76100
/* key-positions = <0 9 20 29>; */
@@ -97,25 +121,6 @@
97121
/* bindings = <&to 3>; */
98122
/* key-positions = <0 9>; */
99123
/* }; */
100-
combo_esc {
101-
timeout-ms = <50>;
102-
key-positions = <0 1>;
103-
bindings = <&kp ESC>;
104-
};
105-
106-
combo_vol_down {
107-
bindings = <&kp C_VOL_DN>;
108-
key-positions = <26 27>;
109-
};
110-
111-
combo_vol_up {
112-
bindings = <&kp C_VOL_UP>;
113-
key-positions = <27 28>;
114-
};
115-
combo_caps_word {
116-
bindings = <&caps_word>;
117-
key-positions = <13 16>;
118-
};
119124
};
120125

121126
behaviors {

0 commit comments

Comments
 (0)