feat(shields): Add soft-off to the nrf52840dk ZMK Uno

* Use Button 1 for soft off on the nrf52840 when using the ZMK Uno
  shield.
This commit is contained in:
Peter Johanson
2023-09-16 11:50:12 -07:00
committed by Pete Johanson
parent b19df0cbf0
commit d3fffb9e89
2 changed files with 44 additions and 1 deletions

View File

@@ -124,6 +124,7 @@ nice_view_spi: &arduino_spi {
kscan_matrix: kscan_matrix {
compatible = "zmk,kscan-gpio-matrix";
wakeup-source;
diode-direction = "col2row";
@@ -141,6 +142,7 @@ nice_view_spi: &arduino_spi {
kscan_direct: kscan_direct {
compatible = "zmk,kscan-gpio-direct";
wakeup-source;
status = "disabled";
input-gpios