forked from kofal.net/zmk
refactor(splits): Ability to override split role.
* Move central/peripheral setting to Kconfig.defconfig files to allow left/right .conf files to override central/peripheral role for splits.
This commit is contained in:
@@ -4,6 +4,9 @@ if SHIELD_LILY58_LEFT
|
||||
config ZMK_KEYBOARD_NAME
|
||||
default "Lily58 Left"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if SHIELD_LILY58_RIGHT
|
||||
@@ -15,6 +18,9 @@ endif
|
||||
|
||||
if SHIELD_LILY58_LEFT || SHIELD_LILY58_RIGHT
|
||||
|
||||
config ZMK_SPLIT
|
||||
default y
|
||||
|
||||
if ZMK_DISPLAY
|
||||
|
||||
config I2C
|
||||
@@ -52,3 +58,4 @@ endchoice
|
||||
endif # LVGL
|
||||
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
# Uncomment to enable encoder
|
||||
# CONFIG_EC11=y
|
||||
# CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
|
||||
|
||||
CONFIG_ZMK_SPLIT=y
|
||||
CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL=y
|
||||
@@ -1,2 +1 @@
|
||||
CONFIG_ZMK_SPLIT=y
|
||||
CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL=y
|
||||
|
||||
|
||||
Reference in New Issue
Block a user