Skip to content

Commit 16c68d3

Browse files
committed
add dongle config6
1 parent efd4ef2 commit 16c68d3

4 files changed

Lines changed: 45 additions & 12 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CONFIG_ZMK_SPLIT=y
2+
CONFIG_ZMK_SPLIT_BLE=y
3+
CONFIG_ZMK_SPLIT_ROLE_CENTRAL=y
4+
CONFIG_ZMK_USB=y
5+
CONFIG_ZMK_BLE=y
6+
CONFIG_BT_MAX_CONN=2
7+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
2+
CONFIG_ZMK_SLEEP=n
3+
4+
### DONGLE MODE
5+
CONFIG_ZMK_SPLIT_BLE_CENTRAL_PERIPHERALS=2
6+
7+
### Enable mouse
8+
CONFIG_ZMK_POINTING=y
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/ {
2+
keyboard {
3+
compatible = "zmk,keyboard";
4+
5+
bluetooth {
6+
label = "dongle";
7+
role = "central"; // wichtig: Central für BLE
8+
};
9+
10+
usb_hid {
11+
enabled = true; // USB-HID aktiv
12+
};
13+
};
14+
};
15+

build.yaml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,29 @@
1717

1818
---
1919
include:
20-
# Dongle (Central) für BLE → USB-HID
21-
- board: seeeduino_xiao_ble
22-
shield: posix_seeed_xiao
23-
snippet: studio-rpc-usb-uart
24-
cmake-args: -DCONFIG_ZMK_SPLIT_ROLE_CENTRAL=y -DCONFIG_ZMK_STUDIO=y -DCONFIG_ZMK_STUDIO_LOCKING=n
25-
artifact-name: xiao_dongle
26-
27-
# Sofle linke Hälfte (Peripheral)
28-
- board: eyelash_sofle_left
29-
shield: splitkb_aurora_sofle_left
20+
# Sofle linke Hälfte (Peripheral)
21+
- board: eyelash_sofle
22+
shield: eyelash_sofle_left
3023
cmake-args: -DCONFIG_ZMK_SPLIT_ROLE_CENTRAL=n
3124
artifact-name: sofle_left
3225

3326
# Sofle rechte Hälfte (Peripheral)
34-
- board: eyelash_sofle_right
27+
- board: eyelash_sofle
3528
shield: eyelash_sofle_right
3629
cmake-args: -DCONFIG_ZMK_SPLIT_ROLE_CENTRAL=n
3730
artifact-name: sofle_right
3831

39-
# Reset Settings (falls benötigt)
32+
# BLE Dongle (Central) für Studio RPC → USB-HID
33+
- board: seeeduino_xiao_ble
34+
shield: sofle_dongle # hier der Dongle-Shield
35+
snippet: studio-rpc-usb-uart
36+
cmake-args:
37+
-DCONFIG_ZMK_SPLIT_ROLE_CENTRAL=y
38+
-DCONFIG_ZMK_STUDIO=y
39+
-DCONFIG_ZMK_STUDIO_LOCKING=n
40+
artifact-name: xiao_dongle
41+
42+
# Reset Settings (optional)
4043
- board: eyelash_sofle
4144
shield: settings_reset
4245
artifact-name: sofle_reset

0 commit comments

Comments
 (0)