zmk_mf68/boards/shields/petejohanson_handwire/petejohanson_handwire.overlay
2020-05-16 17:30:30 -04:00

17 lines
422 B
Text

/ {
chosen {
zmk,kscan = &kscan0;
};
kscan0: kscan {
compatible = "gpio-kscan";
label = "KSCAN";
diode-direction = "row2col";
row-gpios = <&arduino_header 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>,
<&arduino_header 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
col-gpios = <&arduino_header 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>,
<&arduino_header 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
};
};