Skip to content

Commit 88fe659

Browse files
committed
feat: update trackpoint
1 parent 3a8e6ac commit 88fe659

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

boards/shields/charybdis/charybdis_right.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CONFIG_ZMK_POINTING=y
44
CONFIG_PMW3610=y
55
CONFIG_PMW3610_SWAP_XY=y
66
CONFIG_PMW3610_INVERT_X=y
7+
CONFIG_PMW3610_INVERT_Y=y
78
CONFIG_PMW3610_SMART_ALGORITHM=y
89

910
CONFIG_ZMK_EXT_POWER=y

boards/shields/charybdis/charybdis_right.overlay

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
reg = <0>;
5959
spi-max-frequency = <2000000>;
6060
irq-gpios = <&gpio0 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
61-
cpi = <2560>;
61+
cpi = <1000>;
6262
evt-type = <INPUT_EV_REL>;
6363
x-input-code = <INPUT_REL_X>;
6464
y-input-code = <INPUT_REL_Y>;
@@ -82,7 +82,10 @@
8282

8383
scroller {
8484
layers = <3>;
85-
input-processors = <&zip_xy_to_scroll_mapper>;
85+
input-processors = <
86+
&zip_xy_to_scroll_mapper
87+
// &zip_xy_scaler 1 3
88+
>;
8689
};
8790
};
8891
};

0 commit comments

Comments
 (0)