Skip to content

Commit

Permalink
Update shiva.overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
1000eyed authored Nov 22, 2024
1 parent e88a20a commit f2f4449
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions config/boards/shields/shiva/shiva.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,9 @@
RC(0,0) RC(1,0) RC(0,1) RC(1,1) RC(0,2) RC(1,2) RC(0,3) RC(1,3) RC(0,4) RC(1,4) RC(0,5) RC(1,5)
RC(2,0) RC(3,0) RC(2,1) RC(3,1) RC(2,2) RC(3,2) RC(2,3) RC(3,3) RC(2,4) RC(3,4) RC(2,5) RC(3,5)
RC(4,0) RC(5,0) RC(4,1) RC(5,1) RC(4,2) RC(5,2) RC(4,3) RC(5,3) RC(4,4) RC(5,4) RC(4,5) RC(5,5)
RC(6,0) RC(6,1) RC(7,2) RC(7,3) RC(7,4) RC(6,5)
RC(6,0) RC(7,1) RC(7,2) RC(7,3) RC(6,4) RC(6,5)
>;
};

encoder_main: encoder_left {
compatible = "alps,ec11";
label = "LEFT_ENCODER";
a-gpios = <&gpio1 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
b-gpios = <&gpio1 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
steps = <15>;
status = "disabled";
};

sensors {
compatible = "zmk,keymap-sensors";
sensors = <&encoder_main>;
triggers-per-rotation = <15>;
};
};

&encoder_main {
status = "okay";
};

/ {
Expand Down

0 comments on commit f2f4449

Please sign in to comment.