Skip to content

Commit

Permalink
planck: switch to zmkfirmware version of encoder support
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Milliken committed Feb 9, 2024
1 parent b2ae509 commit c3e25da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
20 changes: 0 additions & 20 deletions config/planck_overrides.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -98,24 +98,4 @@
ignored-key-positions = <0 15 19 20 21 22 24 35 44>;
};
// }}}
// Encoder
/ {
encoder: encoder {
compatible = "alps,ec11";
steps = <80>;
status = "disabled";

a-gpios = <&gpiob 12 GPIO_PULL_UP>;
b-gpios = <&gpiob 13 GPIO_PULL_UP>;
};
sensors: sensors {
compatible = "zmk,keymap-sensors";
sensors = <&encoder>;
triggers-per-rotation = <20>;
};

};
&encoder {
status = "okay";
};
/* vim: set ft=dts: */
6 changes: 3 additions & 3 deletions config/west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ manifest:
- name: zmk
#remote: zmkfirmware
#revision: main
#remote: SethMilliken
remote: SethMilliken
revision: experimental-blend # custom branch name
#remote: caksoylar
#revision: caksoylar/zen-v1+v2+experimental # custom branch name
remote: caksoylar
revision: caksoylar/zen-v1+v2+experimental # custom branch name
import: app/west.yml
self:
path: config

0 comments on commit c3e25da

Please sign in to comment.