|
5 | 5 | #include <dt-bindings/zmk/outputs.h>
|
6 | 6 |
|
7 | 7 | / {
|
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 | + # }; |
19 | 19 |
|
20 | 20 | trackball_snipe_listener {
|
21 | 21 | compatible = "zmk,input-behavior-listener";
|
|
46 | 46 | input-code = <INPUT_REL_WHEEL>;
|
47 | 47 | };
|
48 | 48 |
|
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 | + # }; |
54 | 54 |
|
55 | 55 | behaviors {
|
56 | 56 | lt: layer_tap {
|
|
62 | 62 | bindings = <&mo>, <&kp>;
|
63 | 63 | };
|
64 | 64 |
|
65 |
| - bhm: balanced_homerow_mods { |
| 65 | + slt: short_layer_tap { |
66 | 66 | compatible = "zmk,behavior-hold-tap";
|
67 | 67 | #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>; |
71 | 70 | flavor = "balanced";
|
72 |
| - bindings = <&kp>, <&kp>; |
| 71 | + bindings = <&mo>, <&kp>; |
73 | 72 | };
|
74 | 73 |
|
75 |
| - slt: short_layer_tap { |
| 74 | + bhm: balanced_homerow_mods { |
76 | 75 | compatible = "zmk,behavior-hold-tap";
|
77 |
| - label = "short_layer_tap"; |
78 |
| - bindings = <&mo>, <&kp>; |
79 |
| - |
80 | 76 | #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>; |
83 | 80 | flavor = "balanced";
|
| 81 | + bindings = <&kp>, <&kp>; |
84 | 82 | };
|
85 | 83 | };
|
86 | 84 |
|
|
0 commit comments