diff --git a/config/corne.keymap b/config/corne.keymap index 473873097..6fce6803d 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -6,6 +6,16 @@ #include #include +&msc { + time-to-max-speed-ms = <400> + acceleration-exponent = <1>; +}; + +&mmv { + time-to-max-speed-ms = <400> + acceleration-exponent = <1>; +}; + / { macros { flash_macro: flash_macro { @@ -55,10 +65,10 @@ }; scroll_encoder: scroll_encoder { - compatible = "zmk,behavior-sensor-rotate"; + compatible = "zmk,behavior-sensor-rotate-var"; + #sensor-binding-cells = <2>; + bindings = <&msc>, <&msc>; label = "SCROLL_ENCODER"; - #sensor-binding-cells = <1>; - bindings = <&msc SCRL_UP >, <&msc SCRL_DOWN >; }; }; @@ -198,7 +208,7 @@ >; label = "Mouse"; - sensor-bindings = <&scroll_encoder>; + sensor-bindings = <&scroll_encoder SCRL_UP SCRL_DOWN>; }; };