Update ownkb.dtsi

This commit is contained in:
Daniel Bauer
2023-08-02 08:03:47 +02:00
committed by GitHub
parent a2893898c3
commit a9cada9404

View File

@@ -30,7 +30,7 @@ RC(0,0) RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6)
label = "LEFT_ENCODER";
a-gpios = <&pro_micro 20 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
b-gpios = <&pro_micro 21 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
resolution = <4>;
resolution = <2>;
status = "disabled";
};
@@ -39,7 +39,7 @@ RC(0,0) RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6)
label = "RIGHT_ENCODER";
a-gpios = <&pro_micro 3 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
b-gpios = <&pro_micro 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
resolution = <4>;
resolution = <2>;
status = "disabled";
};
@@ -47,4 +47,4 @@ RC(0,0) RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6)
compatible = "zmk,keymap-sensors";
sensors = <&left_encoder &right_encoder>;
};
};
};