diff --git a/build.yaml b/build.yaml index 2640a51..6440b56 100644 --- a/build.yaml +++ b/build.yaml @@ -1,16 +1,3 @@ -# This file generates the GitHub Actions matrix -# For simple board + shield combinations, add them -# to the top level board and shield arrays, for more -# control, add individual board + shield combinations to -# the `include` property, e.g: -# -# board: [ "nice_nano_v2" ] -# shield: [ "corne_left", "corne_right" ] -# include: -# - board: bdn9_rev2 -# - board: nice_nano_v2 -# shield: reviung41 -# --- include: - board: nice_nano_v2 diff --git a/config/boards/shields/horizon-mini/Kconfig.defconfig b/config/boards/shields/horizon-mini/Kconfig.defconfig index 0ac0b96..9346559 100644 --- a/config/boards/shields/horizon-mini/Kconfig.defconfig +++ b/config/boards/shields/horizon-mini/Kconfig.defconfig @@ -5,5 +5,4 @@ if SHIELD_HORIZON-MINI config ZMK_KEYBOARD_NAME default "Horizon-mini" - endif \ No newline at end of file diff --git a/config/horizon-mini.conf b/config/horizon-mini.conf index e69de29..de1e584 100644 --- a/config/horizon-mini.conf +++ b/config/horizon-mini.conf @@ -0,0 +1,22 @@ +CONFIG_ZMK_KEYBOARD_NAME="Piotr's Horizon Mini" + +# increase bluetooth signal power +CONFIG_BT_CTLR_TX_PWR_PLUS_8=y + +# enable deep sleep support +CONFIG_ZMK_SLEEP=y + +# the keyboard disconnects from bluetooth. +# uses very little power, but it may take +# a few seconds to reconnect after waking. +# 1.800.000 ms = 30 minutes +CONFIG_ZMK_IDLE_TIMEOUT=30000 +CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000 + +# "Eager Debouncing" +# Trying to lower the input lag. +CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS=1 +CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=5 + +# Clears all bond information from the keyboard on startup +# CONFIG_ZMK_BLE_CLEAR_BONDS_ON_START=y \ No newline at end of file