4db5b169bf
* Move central/peripheral setting to Kconfig.defconfig files to allow left/right .conf files to override central/peripheral role for splits.
26 lines
No EOL
361 B
Text
26 lines
No EOL
361 B
Text
# Copyright (c) 2020 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
if SHIELD_CRADIO_LEFT
|
|
|
|
config ZMK_KEYBOARD_NAME
|
|
default "cradio left"
|
|
|
|
config ZMK_SPLIT_BLE_ROLE_CENTRAL
|
|
default y
|
|
|
|
endif
|
|
|
|
if SHIELD_CRADIO_RIGHT
|
|
|
|
config ZMK_KEYBOARD_NAME
|
|
default "cradio right"
|
|
|
|
endif
|
|
|
|
if SHIELD_CRADIO_LEFT || SHIELD_CRADIO_RIGHT
|
|
|
|
config ZMK_SPLIT
|
|
default y
|
|
|
|
endif |