2020-05-02 13:10:11 +10:00
|
|
|
mainmenu "ZMK Firmware"
|
|
|
|
|
2020-05-29 14:15:57 +10:00
|
|
|
config ZMK_KEYBOARD_NAME
|
|
|
|
string "Keyboard Name"
|
|
|
|
|
|
|
|
config USB_DEVICE_PRODUCT
|
|
|
|
default ZMK_KEYBOARD_NAME
|
|
|
|
|
|
|
|
config BT_DEVICE_NAME
|
|
|
|
default ZMK_KEYBOARD_NAME
|
|
|
|
|
2020-05-02 13:10:11 +10:00
|
|
|
config ZMK_KSCAN_EVENT_QUEUE_SIZE
|
|
|
|
int "Size of the event queue for KSCAN events to buffer events"
|
|
|
|
default 4
|
|
|
|
|
2020-05-29 14:15:57 +10:00
|
|
|
menu "HID Output Types"
|
|
|
|
|
|
|
|
config ZMK_USB
|
|
|
|
bool "USB"
|
|
|
|
select USB
|
|
|
|
select USB_DEVICE_STACK
|
|
|
|
select USB_DEVICE_HID
|
|
|
|
|
|
|
|
menuconfig ZMK_BLE
|
|
|
|
bool "BLE (HID over GATT)"
|
2020-05-18 23:11:46 +10:00
|
|
|
select BT
|
|
|
|
select BT_SMP
|
|
|
|
select BT_SMP_SC_PAIR_ONLY
|
|
|
|
select BT_PERIPHERAL
|
|
|
|
select BT_GATT_DIS
|
|
|
|
select BT_GATT_BAS
|
2020-05-13 03:22:07 +10:00
|
|
|
|
2020-05-19 05:07:37 +10:00
|
|
|
if ZMK_BLE
|
|
|
|
|
2020-05-29 14:15:57 +10:00
|
|
|
# HID GATT notifications sent this way are *not* picked up by Linux, and possibly others.
|
|
|
|
config BT_GATT_NOTIFY_MULTIPLE
|
|
|
|
default n
|
|
|
|
|
|
|
|
config BT_DEVICE_APPEARANCE
|
|
|
|
default 961
|
|
|
|
|
2020-05-19 05:07:37 +10:00
|
|
|
config ZMK_BLE_PASSKEY_ENTRY
|
|
|
|
bool "Experimental: Requiring typing passkey from host to pair BLE connection"
|
|
|
|
default n
|
|
|
|
|
2020-05-29 14:15:57 +10:00
|
|
|
# Incresed stack due to settings API usage
|
|
|
|
# CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
|
|
|
|
#
|
|
|
|
# CONFIG_BT_SETTINGS=y
|
|
|
|
# CONFIG_FLASH=y
|
|
|
|
# CONFIG_FLASH_PAGE_LAYOUT=y
|
|
|
|
# CONFIG_FLASH_MAP=y
|
|
|
|
# CONFIG_NVS=y
|
|
|
|
# CONFIG_SETTINGS=y
|
|
|
|
|
2020-05-19 05:07:37 +10:00
|
|
|
endif
|
|
|
|
|
2020-05-29 14:15:57 +10:00
|
|
|
endmenu
|
|
|
|
|
2020-05-25 08:22:16 +10:00
|
|
|
config ZMK_KSCAN_MOCK_DRIVER
|
|
|
|
bool "Enable mock kscan driver to simulate key presses"
|
|
|
|
default n
|
2020-05-13 03:22:07 +10:00
|
|
|
|
2020-05-27 14:48:03 +10:00
|
|
|
|
|
|
|
config ZMK_KSCAN_COMPOSITE_DRIVER
|
|
|
|
bool "Enable composite kscan driver to combine kscan devices"
|
|
|
|
default n
|
|
|
|
|
2020-05-23 12:47:03 +10:00
|
|
|
menu "ZMK Actions"
|
|
|
|
|
|
|
|
config ZMK_ACTION_MOD_TAP
|
|
|
|
bool "Enable the Mod-Tap Action"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2020-05-25 08:22:16 +10:00
|
|
|
module = ZMK
|
|
|
|
module-str = zmk
|
2020-05-13 03:22:07 +10:00
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
2020-05-29 06:56:39 +10:00
|
|
|
rsource "boards/Kconfig"
|
|
|
|
rsource "boards/shields/*/Kconfig.defconfig"
|
|
|
|
|
2020-05-02 13:10:11 +10:00
|
|
|
source "Kconfig.zephyr"
|
2020-05-29 06:56:39 +10:00
|
|
|
|