Skip to content

Commit

Permalink
update cpi, divisors, layers
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlucachi authored Jul 10, 2024
1 parent d0d6efa commit 14151d6
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/charybdis_3610.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 = <3200>;
cpi = <2400>;
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 @@ -9,12 +9,12 @@
trackball_listener {
compatible = "zmk,input-behavior-listener";
device = <&vtrackball>;
layers = <0>;
layers = <0 2 3 4>;
evt-type = <INPUT_EV_REL>;
x-input-code = <INPUT_REL_X>;
y-input-code = <INPUT_REL_Y>;
scale-multiplier = <1>;
scale-divisor = <6>;
scale-divisor = <4>;
bindings = <&ib_toggle_layer 5>;
};

Expand All @@ -37,7 +37,7 @@
x-input-code = <INPUT_REL_MISC>;
y-input-code = <INPUT_REL_WHEEL>;
y-invert;
bindings = <&ib_wheel_scaler 1 8>;
bindings = <&ib_wheel_scaler 1 16>;
};

ib_wheel_scaler: ib_wheel_scaler {
Expand Down

0 comments on commit 14151d6

Please sign in to comment.