diff options
| author | CrossR <r.cross@lancaster.ac.uk> | 2020-09-01 18:27:40 +0100 |
|---|---|---|
| committer | CrossR <r.cross@lancaster.ac.uk> | 2020-09-01 18:27:40 +0100 |
| commit | 21875cde884a4acdd22864cb0690baa9595c945a (patch) | |
| tree | 690def9599da22add8df8c2f07eefec87f204668 /app/boards/shields/lily58/lily58.dtsi | |
| parent | 6be07b5b243d62fd6c531c4c8d6e81e61147eac6 (diff) | |
| parent | 4202db5a01e04e2e403941f40aea47a11f668853 (diff) | |
Merge remote-tracking branch 'upstream/main' into CrossR/Sofle
Diffstat (limited to 'app/boards/shields/lily58/lily58.dtsi')
| -rw-r--r-- | app/boards/shields/lily58/lily58.dtsi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/boards/shields/lily58/lily58.dtsi b/app/boards/shields/lily58/lily58.dtsi index 23f5644..556909f 100644 --- a/app/boards/shields/lily58/lily58.dtsi +++ b/app/boards/shields/lily58/lily58.dtsi @@ -45,6 +45,19 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(4,5) RC(4,6) RC(3,6) RC(3,7) }; + left_encoder: encoder_left { + compatible = "alps,ec11"; + label = "LEFT_ENCODER"; + a-gpios = <&pro_micro_a 3 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; + b-gpios = <&pro_micro_a 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; + resolution = <4>; + }; + + sensors { + compatible = "zmk,keymap-sensors"; + sensors = <&left_encoder>; + }; + bt_unpair_combo: bt_unpair_combo { compatible = "zmk,bt-unpair-combo"; }; |
