From 3796f76c56d42ca9b4fd36edae7f6bf6656009b9 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Mon, 29 Jun 2020 00:37:11 -0400 Subject: Initial exploration of split BLE service. * Service for split peripheral to report position state to split central. * Updated advertising info. * Behavior for split BT until we have a proper event system. --- app/boards/shields/kyria/Kconfig.defconfig | 3 +++ app/boards/shields/kyria/kyria.dtsi | 1 + 2 files changed, 4 insertions(+) (limited to 'app/boards/shields') diff --git a/app/boards/shields/kyria/Kconfig.defconfig b/app/boards/shields/kyria/Kconfig.defconfig index 25af537..9ce12d9 100644 --- a/app/boards/shields/kyria/Kconfig.defconfig +++ b/app/boards/shields/kyria/Kconfig.defconfig @@ -4,4 +4,7 @@ if SHIELD_KYRIA_LEFT || SHIELD_KYRIA_RIGHT config ZMK_KEYBOARD_NAME default "Kyria" +config ZMK_SPLIT + default y + endif diff --git a/app/boards/shields/kyria/kyria.dtsi b/app/boards/shields/kyria/kyria.dtsi index f96adf0..f2f2d75 100644 --- a/app/boards/shields/kyria/kyria.dtsi +++ b/app/boards/shields/kyria/kyria.dtsi @@ -4,6 +4,7 @@ * SPDX-License-Identifier: MIT */ +#include #include / { -- cgit v1.2.3 From d74efb331ac32c1a65d20193d06b2cabb858b594 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Tue, 14 Jul 2020 12:14:15 -0400 Subject: Kconfig fixes for split roles. --- app/boards/shields/kyria/kyria_left.conf | 2 ++ app/boards/shields/kyria/kyria_right.conf | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 app/boards/shields/kyria/kyria_left.conf create mode 100644 app/boards/shields/kyria/kyria_right.conf (limited to 'app/boards/shields') diff --git a/app/boards/shields/kyria/kyria_left.conf b/app/boards/shields/kyria/kyria_left.conf new file mode 100644 index 0000000..e51dee4 --- /dev/null +++ b/app/boards/shields/kyria/kyria_left.conf @@ -0,0 +1,2 @@ +CONFIG_ZMK_SPLIT=y +CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL=y \ No newline at end of file diff --git a/app/boards/shields/kyria/kyria_right.conf b/app/boards/shields/kyria/kyria_right.conf new file mode 100644 index 0000000..a835adc --- /dev/null +++ b/app/boards/shields/kyria/kyria_right.conf @@ -0,0 +1,2 @@ +CONFIG_ZMK_SPLIT=y +CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL=y \ No newline at end of file -- cgit v1.2.3 From 0321c490b5d0d087e76c06185a2940420cf7ab4c Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Wed, 15 Jul 2020 23:26:35 -0400 Subject: Disable USB on the peripheral size. --- app/boards/shields/kyria/kyria_right.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/boards/shields') diff --git a/app/boards/shields/kyria/kyria_right.conf b/app/boards/shields/kyria/kyria_right.conf index a835adc..99d6c4e 100644 --- a/app/boards/shields/kyria/kyria_right.conf +++ b/app/boards/shields/kyria/kyria_right.conf @@ -1,2 +1,3 @@ CONFIG_ZMK_SPLIT=y -CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL=y \ No newline at end of file +CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL=y +CONFIG_ZMK_USB=n \ No newline at end of file -- cgit v1.2.3 From 6701b7babc68cb8090a9d16105bd3876025aa0e8 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Thu, 16 Jul 2020 15:50:41 -0400 Subject: Working BT settings. --- app/boards/shields/kyria/Kconfig.defconfig | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'app/boards/shields') diff --git a/app/boards/shields/kyria/Kconfig.defconfig b/app/boards/shields/kyria/Kconfig.defconfig index 9ce12d9..bc0a7b8 100644 --- a/app/boards/shields/kyria/Kconfig.defconfig +++ b/app/boards/shields/kyria/Kconfig.defconfig @@ -1,8 +1,20 @@ -if SHIELD_KYRIA_LEFT || SHIELD_KYRIA_RIGHT +if SHIELD_KYRIA_LEFT config ZMK_KEYBOARD_NAME - default "Kyria" + default "Kyria Left" + +endif + + +if SHIELD_KYRIA_RIGHT + +config ZMK_KEYBOARD_NAME + default "Kyria Right" + +endif + +if SHIELD_KYRIA_LEFT || SHIELD_KYRIA_RIGHT config ZMK_SPLIT default y -- cgit v1.2.3 From f4cb3a7cba8f4593f3103470b0c790cf68449ea0 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Thu, 16 Jul 2020 16:01:04 -0400 Subject: Clean up old global behavior logic. --- app/boards/shields/kyria/kyria.dtsi | 1 - 1 file changed, 1 deletion(-) (limited to 'app/boards/shields') diff --git a/app/boards/shields/kyria/kyria.dtsi b/app/boards/shields/kyria/kyria.dtsi index f2f2d75..f96adf0 100644 --- a/app/boards/shields/kyria/kyria.dtsi +++ b/app/boards/shields/kyria/kyria.dtsi @@ -4,7 +4,6 @@ * SPDX-License-Identifier: MIT */ -#include #include / { -- cgit v1.2.3 From 339a15881a07c5b6e05c39ccdb8a312ba53042ff Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Fri, 17 Jul 2020 16:42:02 -0400 Subject: Tweaks for turning off USB for split peripherals. --- app/boards/shields/kyria/kyria_right.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/boards/shields') diff --git a/app/boards/shields/kyria/kyria_right.conf b/app/boards/shields/kyria/kyria_right.conf index 99d6c4e..a835adc 100644 --- a/app/boards/shields/kyria/kyria_right.conf +++ b/app/boards/shields/kyria/kyria_right.conf @@ -1,3 +1,2 @@ CONFIG_ZMK_SPLIT=y -CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL=y -CONFIG_ZMK_USB=n \ No newline at end of file +CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL=y \ No newline at end of file -- cgit v1.2.3 From 5b61c211eaace2174fd68a51a1972e29b14cd5a6 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Fri, 17 Jul 2020 22:44:35 -0400 Subject: Tweaks for split Lily58 sync. --- app/boards/shields/lily58/lily58_left.conf | 2 ++ app/boards/shields/lily58/lily58_right.conf | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 app/boards/shields/lily58/lily58_left.conf create mode 100644 app/boards/shields/lily58/lily58_right.conf (limited to 'app/boards/shields') diff --git a/app/boards/shields/lily58/lily58_left.conf b/app/boards/shields/lily58/lily58_left.conf new file mode 100644 index 0000000..e51dee4 --- /dev/null +++ b/app/boards/shields/lily58/lily58_left.conf @@ -0,0 +1,2 @@ +CONFIG_ZMK_SPLIT=y +CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL=y \ No newline at end of file diff --git a/app/boards/shields/lily58/lily58_right.conf b/app/boards/shields/lily58/lily58_right.conf new file mode 100644 index 0000000..990cf7c --- /dev/null +++ b/app/boards/shields/lily58/lily58_right.conf @@ -0,0 +1,2 @@ +CONFIG_ZMK_SPLIT=y +CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL=y -- cgit v1.2.3 From 64b9963bca66ec0d3d919e7a8d35d485fa2002e9 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Fri, 17 Jul 2020 23:02:00 -0400 Subject: Name each Lily58 side differently. --- app/boards/shields/lily58/Kconfig.defconfig | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'app/boards/shields') diff --git a/app/boards/shields/lily58/Kconfig.defconfig b/app/boards/shields/lily58/Kconfig.defconfig index 9ec5834..8f278b0 100644 --- a/app/boards/shields/lily58/Kconfig.defconfig +++ b/app/boards/shields/lily58/Kconfig.defconfig @@ -1,7 +1,14 @@ -if SHIELD_LILY58_LEFT || SHIELD_LILY58_RIGHT +if SHIELD_LILY58_LEFT config ZMK_KEYBOARD_NAME - default "Lily58" + default "Lily58 Left" + +endif + +if SHIELD_LILY58_RIGHT + +config ZMK_KEYBOARD_NAME + default "Lily58 Right" endif -- cgit v1.2.3