Skip to content

Commit

Permalink
3.51: use now-available labels for mmv and msc input listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
SethMilliken committed Apr 10, 2024
1 parent d5f1936 commit 3a62282
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions config/shared.dtsi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define VER_PATCH N0
#define VER_PATCH N1
#define VER_MINOR N5
#define VER_MAJOR N3

Expand Down Expand Up @@ -843,21 +843,6 @@
ignored-key-positions = <1 16 18 19 20 21 25 34 40>;
ignored-layers = <DEFAULT NUMPAD>;
};
// copied from mmv from `app/dts/behaviors/mouse_move.dtsi`
// just to be able to add configuration to its listener
/omit-if-no-ref/ mmv: slow_mouse_move {
compatible = "zmk,behavior-input-two-axis";
#binding-cells = <1>;
x-input-code = <INPUT_REL_X>;
y-input-code = <INPUT_REL_Y>;
time-to-max-speed-ms = <300>;
acceleration-exponent = <1>;
};
mmv_input_listener {
compatible = "zmk,input-listener";
scale-multiplier = <2>;
device = <&mmv>;
};
/omit-if-no-ref/ fmmv: fast_mouse_move {
compatible = "zmk,behavior-input-two-axis";
#binding-cells = <1>;
Expand All @@ -871,6 +856,12 @@
scale-multiplier = <6>;
device = <&fmmv>;
};
&mmv_input_listener {
scale-multiplier = <2>;
};
&msc_input_listener {
scale-multiplier = <5>;
};
capsy: caps_word_and_lock {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
Expand Down

0 comments on commit 3a62282

Please sign in to comment.