zmk: add key wakeup from deepsleep

This commit is contained in:
phiwan-dev 2025-12-01 17:31:34 +01:00
parent 8f1742f9d6
commit 3e915e10dc
2 changed files with 2 additions and 2 deletions

View file

@ -6,11 +6,11 @@
zephyr,display = &oled_left; zephyr,display = &oled_left;
}; };
kscan0: kscan_0 { kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix"; compatible = "zmk,kscan-gpio-matrix";
label = "KSCAN"; label = "KSCAN";
diode-direction = "col2row"; diode-direction = "col2row";
wakeup-source;
col-gpios col-gpios
= <&xiao_d 10 GPIO_ACTIVE_HIGH> = <&xiao_d 10 GPIO_ACTIVE_HIGH>

View file

@ -10,7 +10,7 @@
compatible = "zmk,kscan-gpio-matrix"; compatible = "zmk,kscan-gpio-matrix";
label = "KSCAN"; label = "KSCAN";
diode-direction = "col2row"; diode-direction = "col2row";
wakeup-source;
col-gpios col-gpios
= <&xiao_d 6 GPIO_ACTIVE_HIGH> = <&xiao_d 6 GPIO_ACTIVE_HIGH>