Skip to content

Commit bd023b0

Browse files
committed
Branched from dongle setup and modified to remove the dongle and instead have wired central and bluetooth peripheral
1 parent 0bd9079 commit bd023b0

File tree

8 files changed

+11
-48
lines changed

8 files changed

+11
-48
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Details
22

3-
This is a repository that contains a large number of zmk configurations for different keyboards. I've forked it from Eigatech and set the totem-dongle as the default branch, as I am using it for a wireless totem keyboard with a dongle setup.
3+
This is a repository that contains a large number of zmk configurations for different keyboards. I've forked it from Eigatech and originally set the totem-dongle as the default branch, but this is a newer branch that I created with the intent of switching from a fully bluetooth (with a dongle) setup to a partially wired setup between the central and computer, and part bluetooth -- between the central and peripheral.
44

5-
So far as I currently understand it, the only file that I need to worry about updating is config/totem.keymap file.
5+
To alter the keymap please only update the config/totem.keymap file, but other changes have been made from the totem-dongle branch in order to remove the dongle and adjust how the halves talk to each other and the computer.
66

7-
Any time that a new change is pushed to GitHub it will trigger a workflow that will build the necessary files. To flash the keyboard halves and dongle:
7+
If this branch is set as the main branch, then any time that a new change is pushed to GitHub it will trigger a workflow that will build the necessary files. To flash the keyboard halves:
88
1. Navigate to the Actions tab on the repository webpage
99
2. Click on the most recent workflow run
1010
3. Scroll down to Artifacts and download the firmware zip file
@@ -15,8 +15,9 @@ Any time that a new change is pushed to GitHub it will trigger a workflow that w
1515
3. Double click the reset button (either through the keyboard reset button that is connected or the button directly on the microcontroller itself)
1616
4. A new storage device should now be available on the computer -- If it isn't then try the reset button again or try a new usb cable, as not all cables are able to transfer data
1717
5. Copy and paste the settings_reset configuration into the microcontroller's storage
18+
- NOTE: This is necessary to use the settings_reset config to wipe everything if any changes have been made to anything other than the keymap, like if switching between the use of a dongle and not, or other non-keymap related changes, but if only the config/totem.keymap file has been changed, then it should be okay to skip flashing the settings_reset file and go straight to the left or right config.
1819
6. Wait for the copying to finish, after which the storage device should disappear
1920
7. Repeat steps 1 - 4
20-
5. Copy and paste the appropriate configuration into the microcontroller's storage (the configurations are all in the extracted folder from before, there should be one each for the dongle, left half, and right half of the keyboard)
21+
5. Copy and paste the appropriate configuration into the microcontroller's storage (the configurations are all in the extracted folder from before, there should be one for the left half and one for the right half of the keyboard)
2122
6. After the contents finish copying over, the storage device should disappear, and you can disconnect the microcontroller from the computer
2223
7. It's flashed!

build.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,5 @@ include:
33
shield: totem_left
44
- board: seeeduino_xiao_ble
55
shield: totem_right
6-
- board: seeeduino_xiao_ble
7-
shield: totem_dongle
8-
snippet: studio-rpc-usb-uart
9-
cmake-args: -DCONFIG_ZMK_STUDIO=y
106
- board: seeeduino_xiao_ble
117
shield: settings_reset

config/boards/shields/totem/Kconfig.defconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) 2022 The ZMK Contributors
22
# SPDX-License-Identifier: MIT
33

4-
if SHIELD_TOTEM_DONGLE
4+
if SHIELD_TOTEM_LEFT
55

66
config ZMK_KEYBOARD_NAME
77
default "TOTEM"
@@ -14,7 +14,7 @@ config ZMK_USB
1414

1515
endif
1616

17-
if SHIELD_TOTEM_LEFT || SHIELD_TOTEM_RIGHT || SHIELD_TOTEM_DONGLE
17+
if SHIELD_TOTEM_LEFT || SHIELD_TOTEM_RIGHT
1818

1919
config ZMK_SPLIT
2020
default y

config/boards/shields/totem/Kconfig.shield

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ config SHIELD_TOTEM_LEFT
66

77
config SHIELD_TOTEM_RIGHT
88
def_bool $(shields_list_contains,totem_right)
9-
10-
config SHIELD_TOTEM_DONGLE
11-
def_bool $(shields_list_contains,totem_dongle)

config/boards/shields/totem/totem.zmk.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ features:
88
- keys
99
siblings:
1010
- totem_left
11-
- totem_right
12-
- totem_dongle
11+
- totem_right

config/boards/shields/totem/totem_dongle.conf

Lines changed: 0 additions & 13 deletions
This file was deleted.

config/boards/shields/totem/totem_dongle.overlay

Lines changed: 0 additions & 17 deletions
This file was deleted.

config/totem.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
# Boost Bluetooth TX power to max
12
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
2-
CONFIG_ZMK_BLE_EXPERIMENTAL_CONN=y
33

4-
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y
5-
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y
4+
# Use newer Bluetooth connection parameters (in theory for a more stable split connection)
5+
CONFIG_ZMK_BLE_EXPERIMENTAL_CONN=y

0 commit comments

Comments
 (0)