File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 77#include <dt-bindings/zmk/outputs.h>
88#include <dt-bindings/zmk/pointing.h>
99#include <dt-bindings/zmk/pointing.h>
10- #include <dt-bindings/zmk/pointing.h>
1110#include <dt-bindings/zmk/rgb.h>
1211
1312#define ZMK_MOUSE_DEFAULT_MOVE_VAL 1200 // 600
1918#define ZMK_MOUSE_DEFAULT_MOVE_VAL 1200 // 600
2019#define ZMK_MOUSE_DEFAULT_SCRL_VAL 20 // 10
2120
22- &inc_dec_kp {
23- bindings = <&encoder_increment>, <&encoder_decrement>;
24- };
25-
2621/ {
2722 behaviors {
2823 mmv {
4136 scroll_encoder: scroll_encoder {
4237 compatible = "zmk,behavior-sensor-rotate";
4338 #sensor-binding-cells = <0>;
44- bindings = <&msc SCRL_DOWN >, <&msc SCRL_UP >;
39+ bindings = <&encoder_increment >, <&encoder_decrement >;
4540
46- tap-ms = <30> ;
41+ label = "scroll_encoder" ;
4742 };
4843
4944 braces: braces {
113108&kp C_MUTE &kp F13 &sk LCTRL &sk LEFT_ALT &sk LGUI &kp SPACE &kp F15 &kp RET &kp BACKSPACE &kp RIGHT_SHIFT &kp LEFT_ARROW &kp RIGHT_ARROW
114109 >;
115110
116- sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOL_DN >;
111+ sensor-bindings = <&scroll_encoder >;
117112 display-name = "LAYER0";
118113 };
119114
138133&trans &sys_reset &trans &bootloader &trans &trans &mmv MOVE_RIGHT &trans &trans &sys_reset &soft_off &bootloader &trans
139134&bl BL_TOG &trans &trans &trans &trans &bt BT_CLR_ALL &mkp LCLK &trans &trans &trans &trans &trans
140135 >;
136+
137+ sensor-bindings = <&scroll_encoder>;
141138 };
142139 };
143140};
You can’t perform that action at this time.
0 commit comments