1 parent c866930 commit b7d4bd7Copy full SHA for b7d4bd7
1 file changed
config/boards/shields/charybdis/charybdis_right.overlay
@@ -5,6 +5,7 @@
5
*/
6
7
#include <input/processors.dtsi>
8
+#include <dt-bindings/zmk/hid.h>
9
#include "charybdis.dtsi"
10
11
&default_transform {
@@ -57,6 +58,7 @@
57
58
spi-max-frequency = <2000000>;
59
irq-gpios = <&gpio0 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
60
scroll-layers = <3>;
61
+ volume-layers = <4>;
62
};
63
64
@@ -69,5 +71,9 @@
69
71
layers = <3>;
70
72
input-processors = <&zip_xy_to_scroll_mapper>;
73
74
+ volume_controller {
75
+ layers = <4>;
76
+ sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DOWN>;
77
+ };
78
79
0 commit comments