Skip to content

Commit

Permalink
change cpi to 3600 and devisor for scroll to 1 32
Browse files Browse the repository at this point in the history
  • Loading branch information
AlaaSaadAbdo authored Aug 23, 2024
1 parent 0a0c45b commit d30d94e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/base30.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <3200>;
cpi = <3600>;
evt-type = <INPUT_EV_REL>;
x-input-code = <INPUT_REL_X>;
y-input-code = <INPUT_REL_Y>;
Expand Down

0 comments on commit d30d94e

Please sign in to comment.