refactor(shields): Move to generic central role config.
* Use new `ZMK_SPLIT_ROLE_CENTRAL` config instead of BLE specific Kconfig setting.
This commit is contained in:
parent
6539b3ae25
commit
2b9a0ce2a5
23 changed files with 24 additions and 24 deletions
|
@ -6,7 +6,7 @@ if SHIELD_A_DUX_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "A. Dux"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -6,7 +6,7 @@ if SHIELD_BFO9000_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "BFO-9000"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -6,7 +6,7 @@ if SHIELD_CLOG_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Clog"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -3,7 +3,7 @@ if SHIELD_CORNE_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Corne"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -6,7 +6,7 @@ if SHIELD_CRADIO_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Cradio"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -6,7 +6,7 @@ if SHIELD_ELEPHANT42_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Elephant42"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -6,7 +6,7 @@ if SHIELD_ERGODASH_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Ergodash"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -7,7 +7,7 @@ if SHIELD_FOURIER_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Fourier"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -6,7 +6,7 @@ if SHIELD_HELIX_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Helix"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -6,7 +6,7 @@ if SHIELD_IRIS_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Iris"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -4,7 +4,7 @@ if SHIELD_JIAN_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Jian"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -6,7 +6,7 @@ if SHIELD_JIRAN_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Jiran"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -4,7 +4,7 @@ if SHIELD_JORNE_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Jorne"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -4,7 +4,7 @@ if SHIELD_KYRIA_LEFT || SHIELD_KYRIA_REV2_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Kyria"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -6,7 +6,7 @@ if SHIELD_LEELOO_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Leeloo"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -4,7 +4,7 @@ if SHIELD_LILY58_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Lily58"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -6,7 +6,7 @@ if SHIELD_LOTUS58_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Lotus58"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -6,7 +6,7 @@ if SHIELD_MICRODOX_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Microdox"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -7,7 +7,7 @@ if SHIELD_QUEFRENCY_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Quefrency"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -5,7 +5,7 @@ if SHIELD_REDOX_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Redox"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -6,7 +6,7 @@ if SHIELD_SOFLE_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Sofle"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -8,7 +8,7 @@ if SHIELD_SPLITREUS62_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Splitreus62"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
|
@ -6,7 +6,7 @@ if SHIELD_ZODIARK_LEFT
|
|||
config ZMK_KEYBOARD_NAME
|
||||
default "Zodiark"
|
||||
|
||||
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue