Skip to content

Commit

Permalink
Removed warp mode for mouse and scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
ldebritto committed Jan 15, 2025
1 parent 1b32285 commit bb1401e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 34 deletions.
2 changes: 1 addition & 1 deletion config/cradio.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ CONFIG_ZMK_BLE_EXPERIMENTAL_CONN=y

# Enable mouse
CONFIG_ZMK_POINTING=y
# CONFIG_ZMK_POINTING_SMOOTH_SCROLLING=y
CONFIG_ZMK_POINTING_SMOOTH_SCROLLING=y
33 changes: 0 additions & 33 deletions config/mouse.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -21,39 +21,6 @@
delay-ms = <0>; // 0
};

&mmv_input_listener {
warp {
layers = <NAV>;
input-processors = <&zip_xy_scaler 3 1>;
};
precision {
layers = <FN>;
input-processors = <&zip_xy_scaler 1 2>;
};
};

/ {
zip_scroll_scaler: zip_scroll_scaler {
compatible = "zmk,input-processor-scaler";
#input-processor-cells = <2>;
type = <INPUT_EV_REL>;
codes = <INPUT_REL_WHEEL INPUT_REL_HWHEEL>;
track-remainders;
};
};

&msc_input_listener {
warp {
layers = <NAV>;
input-processors = <&zip_scroll_scaler 2 1>;
};
precision {
layers = <FN>;
input-processors = <&zip_scroll_scaler 1 2>;
};
};


// Add these lines to cradio.conf
// # Mouse config, requires PR #778
// CONFIG_ZMK_MOUSE=y
Expand Down

0 comments on commit bb1401e

Please sign in to comment.