scrollwheel

This commit is contained in:
daniel
2023-07-22 00:19:07 +02:00
parent 487752ac78
commit 36839f8763
6 changed files with 15 additions and 13 deletions

View File

@@ -8,7 +8,6 @@
/ {
chosen {
zmk,kscan = &kscan0;
// zephyr,display = &oled; // TODO remove or keep?
zmk,matrix_transform = &default_transform;
};
@@ -47,8 +46,8 @@ RC(0,3) RC(1,3) RC(2,3) RC(3,3) RC(4,3) RC(5,3) RC(5,4) RC(6,4) RC(6,3) RC(7,3)
right_encoder: encoder_right {
compatible = "alps,ec11";
label = "RIGHT_ENCODER";
a-gpios = <&pro_micro 20 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
b-gpios = <&pro_micro 21 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
a-gpios = <&pro_micro 3 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
b-gpios = <&pro_micro 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
resolution = <4>;
status = "disabled";
};