From 4db5b169bff1f3de5353324baef5724be4f9a6a5 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Sat, 12 Dec 2020 23:13:49 -0500 Subject: 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. --- app/boards/shields/jian/Kconfig.defconfig | 4 +++- app/boards/shields/jian/jian_left.conf | 2 -- app/boards/shields/jian/jian_right.conf | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) (limited to 'app/boards/shields/jian') 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 -- cgit v1.2.3