We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9298f6 commit eddb2b9Copy full SHA for eddb2b9
1 file changed
config/cool642tb-mini.keymap
@@ -27,6 +27,18 @@
27
};
28
29
30
+ // エンコーダー:マウススクロール(MOVE_Y)
31
+
32
+ scroll_move_y: sensor_rotate_msc_for_move_y {
33
+ compatible = "zmk,behavior-sensor-rotate";
34
+ #sensor-binding-cells = <0>;
35
+ bindings = <&msc MOVE_Y(20)>, <&msc MOVE_Y(-20)>;
36
37
+ // tap-ms下限メモ Yの値で可変: Y(15) <81>, Y(20) <65>, Y(25) <49>
38
39
+ tap-ms = <65>;
40
+ };
41
42
keymap {
43
compatible = "zmk,keymap";
44
@@ -38,7 +50,7 @@
50
&kp TAB &kp C_MUTE &kp LEFT_GUI &kp LEFT_ALT < 2 SPACE &mt LSHIFT DELETE &mt RSHFT BACKSPACE < 1 ENTER &kp F4
51
>;
52
- sensor-bindings = <&inc_dec_kp PG_UP PAGE_DOWN>, <&inc_dec_kp 0 0>;
53
+ sensor-bindings = <&scroll_move_y>;
54
55
56
FUNCTION {
0 commit comments