* ZMK_SLEEP also enables PM_DEVICE, so be sure to mark kscan nodes as wakeup sources so they can wake keyboards from sleep.
15 lines
259 B
Text
15 lines
259 B
Text
/*
|
|
* Copyright (c) 2023 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include "microdox_common.dtsi"
|
|
|
|
/ {
|
|
kscan0: kscan {
|
|
compatible = "zmk,kscan-gpio-matrix";
|
|
wakeup-source;
|
|
diode-direction = "col2row";
|
|
};
|
|
};
|