Skip to content

Commit b7d4bd7

Browse files
authored
Add volume layers and controller to charybdis overlay
1 parent c866930 commit b7d4bd7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

config/boards/shields/charybdis/charybdis_right.overlay

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66

77
#include <input/processors.dtsi>
8+
#include <dt-bindings/zmk/hid.h>
89
#include "charybdis.dtsi"
910

1011
&default_transform {
@@ -57,6 +58,7 @@
5758
spi-max-frequency = <2000000>;
5859
irq-gpios = <&gpio0 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
5960
scroll-layers = <3>;
61+
volume-layers = <4>;
6062
};
6163
};
6264

@@ -69,5 +71,9 @@
6971
layers = <3>;
7072
input-processors = <&zip_xy_to_scroll_mapper>;
7173
};
74+
volume_controller {
75+
layers = <4>;
76+
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DOWN>;
77+
};
7278
};
7379
};

0 commit comments

Comments
 (0)