summaryrefslogtreecommitdiff
path: root/app/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'app/Kconfig')
-rw-r--r--app/Kconfig55
1 files changed, 52 insertions, 3 deletions
diff --git a/app/Kconfig b/app/Kconfig
index a9d4f34..285ed91 100644
--- a/app/Kconfig
+++ b/app/Kconfig
@@ -9,6 +9,15 @@ config USB_DEVICE_PRODUCT
config BT_DEVICE_NAME
default ZMK_KEYBOARD_NAME
+config USB_DEVICE_VID
+ default 0x1D50
+
+config USB_DEVICE_PID
+ default 0x615E
+
+config USB_DEVICE_MANUFACTURER
+ default "ZMK Project"
+
config ZMK_KSCAN_EVENT_QUEUE_SIZE
int "Size of the event queue for KSCAN events to buffer events"
default 4
@@ -21,12 +30,16 @@ menuconfig ZMK_USB
select USB_DEVICE_STACK
select USB_DEVICE_HID
-if ZMK_USB
+if USB
config ZMK_USB_INIT_PRIORITY
int "Init Priority"
default 50
+endif
+
+if ZMK_USB
+
config USB_NUMOF_EP_WRITE_RETRIES
default 10
@@ -72,6 +85,29 @@ 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_EXT_POWER
+ bool "Enable support to control external power output"
+ default y
+
config ZMK_DISPLAY
bool "ZMK display support"
default n
@@ -108,7 +144,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
@@ -132,16 +167,30 @@ endif
endif
-if ZMK_BLE && (!ZMK_SPLIT_BLE || ZMK_SPLIT_BLE_ROLE_CENTRAL)
+if ZMK_BLE
+
+if ZMK_SPLIT_BLE && ZMK_SPLIT_BLE_ROLE_CENTRAL
config BT_MAX_CONN
default 6
config BT_MAX_PAIRED
+ default 6
+
+endif
+
+if !ZMK_SPLIT_BLE
+
+config BT_MAX_CONN
+ default 5
+
+config BT_MAX_PAIRED
default 5
endif
+endif
+
endmenu
config ZMK_KSCAN_MOCK_DRIVER