Skip to content

Commit

Permalink
CPI 3000/4
Browse files Browse the repository at this point in the history
  • Loading branch information
280Zo committed Oct 28, 2024
1 parent eff21ea commit 35da16b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion boards/shields/charybdis-dongle/charybdis_pmw3610.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
reg = <0>;
spi-max-frequency = <2000000>;
irq-gpios = <&gpio0 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
cpi = <1600>;
cpi = <3000>;
evt-type = <INPUT_EV_REL>;
x-input-code = <INPUT_REL_X>;
y-input-code = <INPUT_REL_Y>;
Expand Down
6 changes: 3 additions & 3 deletions config/charybdis.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
x-input-code = <INPUT_REL_X>;
y-input-code = <INPUT_REL_Y>;
scale-multiplier = <1>;
scale-divisor = <2>;
scale-divisor = <4>;
bindings = <&ib_toggle_layer 7>;
};

Expand All @@ -33,7 +33,7 @@
x-input-code = <INPUT_REL_X>;
y-input-code = <INPUT_REL_Y>;
scale-multiplier = <1>;
scale-divisor = <4>;
scale-divisor = <6>;
};

/* input config for mouse scroll mode */
Expand All @@ -60,7 +60,7 @@
ib_toggle_layer: ib_toggle_layer {
compatible = "zmk,input-behavior-tog-layer";
#binding-cells = <1>;
time-to-live-ms = <650>;
time-to-live-ms = <750>;
};

behaviors {
Expand Down

0 comments on commit 35da16b

Please sign in to comment.