diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-10-06 17:32:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-06 17:32:35 -0400 |
commit | 12b9a37005cade72ad85134b8cfe31ccefec500d (patch) | |
tree | 130071af412462a462fbd268348756d683d1969e /app/Kconfig | |
parent | ce59223efe9062ac1da77bae93a3578ce0463b66 (diff) | |
parent | a7496ab06425cab7de5fc7164b4ce5a34dd7107b (diff) |
Merge pull request #211 from petejohanson/core/keymap-port-event-exploration
Use PORT events for kscan matrix interrupts, add option for deep sleep.
Diffstat (limited to 'app/Kconfig')
-rw-r--r-- | app/Kconfig | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/app/Kconfig b/app/Kconfig index 9398fce..edf5867 100644 --- a/app/Kconfig +++ b/app/Kconfig @@ -76,6 +76,25 @@ endif endmenu +menuconfig ZMK_SLEEP + bool "Enable deep sleep support" + imply USB + +if ZMK_SLEEP + +config SYS_POWER_DEEP_SLEEP_STATES + default y + +choice SYS_PM_POLICY + default SYS_PM_POLICY_APP +endchoice + +config ZMK_IDLE_SLEEP_TIMEOUT + int "Milliseconds to wait to sleep when going idle" + default 900000 + +endif + config ZMK_DISPLAY bool "ZMK display support" default n @@ -112,7 +131,6 @@ config ZMK_SPLIT_BLE_ROLE_CENTRAL config ZMK_SPLIT_BLE_ROLE_PERIPHERAL bool "Peripheral" - select BT_KEYS_OVERWRITE_OLDEST if ZMK_SPLIT_BLE_ROLE_PERIPHERAL |