Skip to content

Commit df7bbb8

Browse files
committed
nth
1 parent bd5d435 commit df7bbb8

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

config/boards/shields/charybdis/charybdis_right.overlay

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@
5555
reg = <0>;
5656
spi-max-frequency = <2000000>;
5757
irq-gpios = <&gpio0 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
58-
scroll-layers = <4 5>; // Add layer 4 here for volume control
58+
scroll-layers = <4 5>;
59+
snipe-layers = <6>;
5960
};
6061
};
6162

@@ -72,13 +73,20 @@
7273
&zip_xy_to_scroll_mapper
7374
>;
7475
};
75-
// Volume control on layer 4
76+
7677
volume_control {
7778
layers = <5>;
7879
input-processors = <
7980
&zip_xy_scaler 1 1 // Adjust sensitivity (higher = less sensitive)
8081
&zip_xy_to_scroll_mapper
8182
>;
8283
};
84+
85+
snipe {
86+
layers = <6>;
87+
input-processors = <
88+
&zip_xy_scaler 1 1 // Adjust sensitivity (higher = less sensitive)
89+
>;
90+
};
8391
};
8492
};

0 commit comments

Comments
 (0)