diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-12-12 23:13:49 -0500 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-12-28 10:16:24 -0500 |
commit | 4db5b169bff1f3de5353324baef5724be4f9a6a5 (patch) | |
tree | c690932524a26fb28e20528fe1d2b1745dae195a /app/boards/shields/jian | |
parent | 842aa5a842e117b7b00e49258ca0bde44dc0c789 (diff) |
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.
Diffstat (limited to 'app/boards/shields/jian')
-rw-r--r-- | app/boards/shields/jian/Kconfig.defconfig | 4 | ||||
-rw-r--r-- | app/boards/shields/jian/jian_left.conf | 2 | ||||
-rw-r--r-- | app/boards/shields/jian/jian_right.conf | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/app/boards/shields/jian/Kconfig.defconfig b/app/boards/shields/jian/Kconfig.defconfig index b743e7a..9e1da62 100644 --- a/app/boards/shields/jian/Kconfig.defconfig +++ b/app/boards/shields/jian/Kconfig.defconfig @@ -4,6 +4,9 @@ if SHIELD_JIAN_LEFT config ZMK_KEYBOARD_NAME default "Jian Left" +config ZMK_SPLIT_BLE_ROLE_CENTRAL + default y + endif @@ -18,6 +21,5 @@ if SHIELD_JIAN_LEFT || SHIELD_JIAN_RIGHT config ZMK_SPLIT default y - endif diff --git a/app/boards/shields/jian/jian_left.conf b/app/boards/shields/jian/jian_left.conf index 1e028a7..e69de29 100644 --- a/app/boards/shields/jian/jian_left.conf +++ b/app/boards/shields/jian/jian_left.conf @@ -1,2 +0,0 @@ -CONFIG_ZMK_SPLIT=y -CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL=y diff --git a/app/boards/shields/jian/jian_right.conf b/app/boards/shields/jian/jian_right.conf index 990cf7c..e69de29 100644 --- a/app/boards/shields/jian/jian_right.conf +++ b/app/boards/shields/jian/jian_right.conf @@ -1,2 +0,0 @@ -CONFIG_ZMK_SPLIT=y -CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL=y |