Skip to content

Commit

Permalink
better cpi settings 1200/2 devisor for scrolling 32
Browse files Browse the repository at this point in the history
  • Loading branch information
AlaaSaadAbdo authored Aug 23, 2024
1 parent 1545a20 commit dd80f8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/base30.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
x-input-code = <INPUT_REL_X>;
y-input-code = <INPUT_REL_Y>;
scale-multiplier = <1>;
scale-divisor = <1>;
scale-divisor = <2>;
};

trackball_snipe_listener {
Expand All @@ -77,7 +77,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 32>;
};

ib_wheel_scaler: ib_wheel_scaler {
Expand Down
2 changes: 1 addition & 1 deletion config/boards/shields/ghazal/ghazal.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ nice_view_spi: &spi1 {
reg = <0>;
spi-max-frequency = <2000000>;
irq-gpios = <&gpio0 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
cpi = <600>;
cpi = <1200>;
evt-type = <INPUT_EV_REL>;
x-input-code = <INPUT_REL_X>;
y-input-code = <INPUT_REL_Y>;
Expand Down

0 comments on commit dd80f8f

Please sign in to comment.