From 9d7e217212e562711ea258a9a99cd00384bbe78a Mon Sep 17 00:00:00 2001 From: Sora Nai Date: Sat, 11 Nov 2023 13:58:04 +0700 Subject: [PATCH] Upd ble config --- config/kyria_rev3.conf | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/config/kyria_rev3.conf b/config/kyria_rev3.conf index d71d61e..5e8304b 100644 --- a/config/kyria_rev3.conf +++ b/config/kyria_rev3.conf @@ -1,3 +1,5 @@ +CONFIG_ZMK_KEYBOARD_NAME=Kyria_rev3 + # Enable deep sleep support CONFIG_ZMK_SLEEP=y @@ -10,8 +12,23 @@ CONFIG_ZMK_IDLE_TIMEOUT=60000 # Battery level report interval in seconds (5m) CONFIG_ZMK_BATTERY_REPORT_INTERVAL=300 -# Work around an annoying Windows bug with battery notifications. +# Work around an annoying Windows bug with battery notifications CONFIG_BT_GATT_ENFORCE_SUBSCRIPTION=n # Prevents using some consumer key codes, but allows compatibility with more host OSes CONFIG_ZMK_HID_CONSUMER_REPORT_USAGES_BASIC=y + +# Enable Bluetooth support +CONFIG_BT=y + +# Note that CONFIG_BT_MAX_CONN and CONFIG_BT_MAX_PAIRED should be set to the same value +# Maximum number of simultaneous Bluetooth connections +CONFIG_BT_MAX_CONN=5 +# Maximum number of paired Bluetooth devices +CONFIG_BT_MAX_PAIRED=5 + +# Enable ZMK as a Bluetooth keyboard +CONFIG_ZMK_BLE=y + +# Clears all bond information from the keyboard on startup <- https://github.com/zmkfirmware/zmk/issues/1538 +CONFIG_ZMK_BLE_CLEAR_BONDS_ON_START=y \ No newline at end of file