Skip to content

Commit 33c4b55

Browse files
committed
update map
1 parent 36622bf commit 33c4b55

File tree

1 file changed

+25
-27
lines changed

1 file changed

+25
-27
lines changed

config/charybdis.keymap

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
#include <dt-bindings/zmk/outputs.h>
66

77
/ {
8-
trackball_listener {
9-
compatible = "zmk,input-behavior-listener";
10-
device = <&vtrackball>;
11-
layers = <0 2 3 4 5>;
12-
evt-type = <INPUT_EV_REL>;
13-
x-input-code = <INPUT_REL_X>;
14-
y-input-code = <INPUT_REL_Y>;
15-
scale-multiplier = <1>;
16-
scale-divisor = <4>;
17-
#bindings = <&ib_toggle_layer 5>;
18-
};
8+
# trackball_listener {
9+
# compatible = "zmk,input-behavior-listener";
10+
# device = <&vtrackball>;
11+
# layers = <0 2 3 4 5>;
12+
# evt-type = <INPUT_EV_REL>;
13+
# x-input-code = <INPUT_REL_X>;
14+
# y-input-code = <INPUT_REL_Y>;
15+
# scale-multiplier = <1>;
16+
# scale-divisor = <4>;
17+
# #bindings = <&ib_toggle_layer >;
18+
# };
1919

2020
trackball_snipe_listener {
2121
compatible = "zmk,input-behavior-listener";
@@ -46,11 +46,11 @@
4646
input-code = <INPUT_REL_WHEEL>;
4747
};
4848

49-
ib_toggle_layer: ib_toggle_layer {
50-
compatible = "zmk,input-behavior-tog-layer";
51-
#binding-cells = <1>;
52-
#time-to-live-ms = <>;
53-
};
49+
# ib_toggle_layer: ib_toggle_layer {
50+
# compatible = "zmk,input-behavior-tog-layer";
51+
# #binding-cells = <1>;
52+
# #time-to-live-ms = <>;
53+
# };
5454

5555
behaviors {
5656
lt: layer_tap {
@@ -62,25 +62,23 @@
6262
bindings = <&mo>, <&kp>;
6363
};
6464

65-
bhm: balanced_homerow_mods {
65+
slt: short_layer_tap {
6666
compatible = "zmk,behavior-hold-tap";
6767
#binding-cells = <2>;
68-
tapping-term-ms = <300>;
69-
quick-tap-ms = <175>;
70-
require-prior-idle-ms = <150>;
68+
tapping-term-ms = <150>;
69+
quick-tap-ms = <0>;
7170
flavor = "balanced";
72-
bindings = <&kp>, <&kp>;
71+
bindings = <&mo>, <&kp>;
7372
};
7473

75-
slt: short_layer_tap {
74+
bhm: balanced_homerow_mods {
7675
compatible = "zmk,behavior-hold-tap";
77-
label = "short_layer_tap";
78-
bindings = <&mo>, <&kp>;
79-
8076
#binding-cells = <2>;
81-
tapping-term-ms = <150>;
82-
quick-tap-ms = <0>;
77+
tapping-term-ms = <300>;
78+
quick-tap-ms = <175>;
79+
require-prior-idle-ms = <150>;
8380
flavor = "balanced";
81+
bindings = <&kp>, <&kp>;
8482
};
8583
};
8684

0 commit comments

Comments
 (0)