From 97b45ed89694389f51eb81684677843dea04cb52 Mon Sep 17 00:00:00 2001 From: blistergeist Date: Wed, 6 Jan 2021 06:15:57 +0000 Subject: [PATCH] Made changes to Kconfig.defconfig to bring shield in line with new central and peripheral definitions. Cleared contents of the .conf files for both halves. Fixed layout comment where the pipe character was shown as a backslash. --- app/boards/shields/levinson/Kconfig.defconfig | 13 +++++++++++++ app/boards/shields/levinson/levinson.keymap | 2 +- app/boards/shields/levinson/levinson_left.conf | 2 -- app/boards/shields/levinson/levinson_right.conf | 1 - 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/app/boards/shields/levinson/Kconfig.defconfig b/app/boards/shields/levinson/Kconfig.defconfig index 12c9d443..eddc14cc 100644 --- a/app/boards/shields/levinson/Kconfig.defconfig +++ b/app/boards/shields/levinson/Kconfig.defconfig @@ -7,6 +7,9 @@ if SHIELD_LEVINSON_LEFT config ZMK_KEYBOARD_NAME default "Levinson Left" +config ZMK_SPLIT_BLE_ROLE_CENTRAL + default y + endif if SHIELD_LEVINSON_RIGHT @@ -14,4 +17,14 @@ if SHIELD_LEVINSON_RIGHT config ZMK_KEYBOARD_NAME default "Levinson Right" +config USB + default y + endif + +if SHIELD_LEVINSON_LEFT || SHIELD_LEVINSON_RIGHT + +config ZMK_SPLIT + default y + +endif \ No newline at end of file diff --git a/app/boards/shields/levinson/levinson.keymap b/app/boards/shields/levinson/levinson.keymap index 76ff2b3b..e36c6ef4 100644 --- a/app/boards/shields/levinson/levinson.keymap +++ b/app/boards/shields/levinson/levinson.keymap @@ -85,7 +85,7 @@ raise { // ------------------------------------- ------------------------------------- // | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BSPC| -// | DEL | F1 | F2 | F3 | F4 | F5 | | F6 | - | = | [ | ] | \ | +// | DEL | F1 | F2 | F3 | F4 | F5 | | F6 | - | = | [ | ] | | | // | | F7 | F8 | F9 | F10 | F11 | | F12 | #~ | \| | | | | // | | | | | ADJ | | | | | NEXT| Vol-| Vol+| PLAY| // ------------------------------------- ------------------------------------- diff --git a/app/boards/shields/levinson/levinson_left.conf b/app/boards/shields/levinson/levinson_left.conf index 1e028a78..e69de29b 100644 --- a/app/boards/shields/levinson/levinson_left.conf +++ b/app/boards/shields/levinson/levinson_left.conf @@ -1,2 +0,0 @@ -CONFIG_ZMK_SPLIT=y -CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL=y diff --git a/app/boards/shields/levinson/levinson_right.conf b/app/boards/shields/levinson/levinson_right.conf index ea5f08aa..e69de29b 100644 --- a/app/boards/shields/levinson/levinson_right.conf +++ b/app/boards/shields/levinson/levinson_right.conf @@ -1 +0,0 @@ -CONFIG_ZMK_SPLIT=y \ No newline at end of file