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:
@@ -8,6 +8,9 @@ if SHIELD_SPLITREUS62_LEFT
|
||||
config ZMK_KEYBOARD_NAME
|
||||
default "Splitreus62 Left"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if SHIELD_SPLITREUS62_RIGHT
|
||||
@@ -19,4 +22,7 @@ endif
|
||||
|
||||
if SHIELD_SPLITREUS62_LEFT || SHIELD_SPLITREUS62_RIGHT
|
||||
|
||||
config ZMK_SPLIT
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
CONFIG_ZMK_SPLIT=y
|
||||
CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL=y
|
||||
@@ -1,2 +0,0 @@
|
||||
CONFIG_ZMK_SPLIT=y
|
||||
CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL=y
|
||||
Reference in New Issue
Block a user