forked from kofal.net/zmk
Initial en11 exploration.
This commit is contained in:
@@ -6,6 +6,18 @@
|
||||
|
||||
#include "kyria.dtsi"
|
||||
|
||||
/ {
|
||||
sensors {
|
||||
encoder: encoder0 {
|
||||
compatible = "alps,en11";
|
||||
label = "Rotary Encoder";
|
||||
a-gpios = <&pro_micro_d 5 GPIO_ACTIVE_HIGH>;
|
||||
b-gpios = <&pro_micro_d 9 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
&kscan0 {
|
||||
col-gpios
|
||||
= <&pro_micro_a 3 GPIO_ACTIVE_HIGH>
|
||||
|
||||
Reference in New Issue
Block a user