Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
d8edd55
ZML v0.3固定化処理(Zephyr 4.x対応までの一時的措置)
lachesis-dev Jun 20, 2026
8d65a13
physical-layout化
lachesis-dev Jun 20, 2026
be84f1e
BlueTooth(Left is center)と ZMK Stadio対応
lachesis-dev Jun 20, 2026
9d9fb0b
キーマップ少し調整
lachesis-dev Jun 20, 2026
c414df3
BlueTooth化とSTADIO対応(修正)
lachesis-dev Jun 20, 2026
403de10
日本語ドキュメント化とdongleオプションとして一部残す(build関係の設定には追加していないので、利用する場合は適宜追加のこと)
lachesis-dev Jun 20, 2026
4d6ce38
USB直差しのときの利用モードを調整(Copilot)
lachesis-dev Jun 20, 2026
9d58c93
バージョン違いオプションの削除
lachesis-dev Jun 20, 2026
565759c
左接続不具合解消テスト(デバックログのシリアル通信オプションも有効化)
lachesis-dev Jun 20, 2026
8300e4d
古い定義の利用を削除
lachesis-dev Jun 20, 2026
f4e2cd7
右バッテリーリポート有効化
lachesis-dev Jun 21, 2026
955a2f9
右バッテリーリポート有効化
lachesis-dev Jun 21, 2026
de22ced
ZMK Studio のシリアル生成と競合回避
lachesis-dev Jun 21, 2026
11db2ea
Stadio用BUILDスニペット追加
lachesis-dev Jun 21, 2026
1b1e239
USBコンポジット(HIDとシリアルを共存させる)を強制化
lachesis-dev Jun 21, 2026
160d0eb
設定値の見直し
lachesis-dev Jun 21, 2026
6dab2d2
ZMK v0.3 では HID レポートの管理が Zephyr 側に完全移行
lachesis-dev Jun 21, 2026
d8c43ca
v0.3-branch(Zephyr 4.x以降)への移行にあたって、記述が重複している箇所や、現在のOS仕様と衝突してエラーの原因になり…
lachesis-dev Jun 21, 2026
86fd859
キーの物理データが2つたりんかった。
lachesis-dev Jun 21, 2026
08d83a4
boardフォルダが古い場所のため、3.5系で実際は動いていたようなので、一旦動く版として作成を進める
lachesis-dev Jun 21, 2026
14a4189
やはりコメント場所がおかしかった。
lachesis-dev Jun 21, 2026
4a856e1
そろそろプロパティキーの整理終わりたいなー
lachesis-dev Jun 21, 2026
e3168f4
うまく動くまではPINは無効に
lachesis-dev Jun 21, 2026
0540527
HIDとLoggingが緩衝?切り分けのため一旦戻し
lachesis-dev Jun 21, 2026
60b04e3
Bluetooth接続の安定性向上のため、CONFIG_BT_CTLR_PHY_2Mを無効化
lachesis-dev Jun 21, 2026
f2ac2f8
主力切り替えキー配置
keymap-editor[bot] Jun 21, 2026
cfd79fc
設定ファイルの整理とBLE接続の設定を追加
lachesis-dev Jun 21, 2026
84343c7
Merge branch 'feature/ja-l10n' of https://github.com/lachesis-dev/zmk…
lachesis-dev Jun 21, 2026
c025406
MAINからキーマップ反映
lachesis-dev Jun 21, 2026
ac985ff
ZMK Studioの機能を有効化し、USB HID設定を追加
lachesis-dev Jun 21, 2026
ce7b5d6
USB設定の安全性向上とバッテリー報告設定のコメント化
lachesis-dev Jun 21, 2026
7de3a57
設定ファイルの微調整と不要な設定の削除
lachesis-dev Jun 21, 2026
14a5a4b
UBS接続は一旦、Studio専用とする
lachesis-dev Jun 21, 2026
3cdedd6
Studioはあきらめて通常使い版までとする
lachesis-dev Jun 21, 2026
e28634f
設定ファイルのZMK Studio機能とUSBドライバを無効化し、バッテリー関連設定を無効に変更
lachesis-dev Jun 21, 2026
99bb67b
0.3
lachesis-dev Jun 21, 2026
4ce52f3
Bluetooth通信の安定化と電波強度強化の設定を追加
lachesis-dev Jun 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ on: [push, pull_request, workflow_dispatch]

jobs:
build:
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@v0.3
5 changes: 2 additions & 3 deletions build.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include:
- board: seeeduino_xiao_ble
- board: xiao_ble
shield: totem_left
- board: seeeduino_xiao_ble
- board: xiao_ble
shield: totem_right
# there is no settingsreset (needed) for the XIAO
10 changes: 10 additions & 0 deletions config/.zmk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# ZMK Studio が編集する keymap を指定
studio:
keymap: totem.keymap

# GitHub Actions がビルドする board/shield の一覧
boards:
- board: xiao_ble
shield: totem_left
- board: xiao_ble
shield: totem_right
53 changes: 53 additions & 0 deletions config/boards/shields/totem/totem-layouts.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#include <physical_layouts.dtsi>

/ {
totem_layout: totem_layout{
compatible = "zmk,physical-layout";
display-name = "TOTEM Keyboard Layout";
transform = <&default_transform>;
keys // w h x y rot rx ry
// 1段目 (1~10)
= <&key_physical_attrs 100 100 70 136 (-1000) 120 186>
, <&key_physical_attrs 100 100 176 54 (-400) 226 104>
, <&key_physical_attrs 100 100 284 0 0 0 0>
, <&key_physical_attrs 100 100 379 44 0 0 0>
, <&key_physical_attrs 100 100 474 59 0 0 0>
, <&key_physical_attrs 100 100 873 59 0 0 0>
, <&key_physical_attrs 100 100 968 44 0 0 0>
, <&key_physical_attrs 100 100 1062 0 0 0 0>
, <&key_physical_attrs 100 100 1171 54 400 1221 104>
, <&key_physical_attrs 100 100 1277 136 1000 1327 186>
// 2段目 (11~20)
, <&key_physical_attrs 100 100 85 224 (-1000) 135 274>
, <&key_physical_attrs 100 100 182 143 (-400) 232 193>
, <&key_physical_attrs 100 100 284 90 0 0 0>
, <&key_physical_attrs 100 100 379 134 0 0 0>
, <&key_physical_attrs 100 100 474 148 0 0 0>
, <&key_physical_attrs 100 100 873 148 0 0 0>
, <&key_physical_attrs 100 100 968 134 0 0 0>
, <&key_physical_attrs 100 100 1062 90 0 0 0>
, <&key_physical_attrs 100 100 1165 143 400 1215 193>
, <&key_physical_attrs 100 100 1261 224 1000 1311 274>
// RC(3,0) に対応
, <&key_physical_attrs 100 100 0 289 (-1000) 50 339>
, <&key_physical_attrs 100 100 101 312 (-1000) 151 362>
, <&key_physical_attrs 100 100 188 233 (-400) 238 283>
, <&key_physical_attrs 100 100 284 179 0 0 0>
, <&key_physical_attrs 100 100 379 223 0 0 0>
, <&key_physical_attrs 100 100 474 238 0 0 0>
, <&key_physical_attrs 100 100 873 238 0 0 0>
, <&key_physical_attrs 100 100 968 223 0 0 0>
, <&key_physical_attrs 100 100 1062 179 0 0 0>
, <&key_physical_attrs 100 100 1158 233 400 1208 283>
, <&key_physical_attrs 100 100 1246 312 1000 1296 362>
, <&key_physical_attrs 100 100 1346 289 1000 1396 339>
// --- 4段目(親指クラスター 6キーのみ) ---
, <&key_physical_attrs 100 100 352 332 0 0 0>
, <&key_physical_attrs 100 100 457 347 1500 507 397>
, <&key_physical_attrs 100 100 554 387 3000 604 437>
, <&key_physical_attrs 100 100 792 387 (-3000) 842 437>
, <&key_physical_attrs 100 100 889 347 (-1500) 939 397>
, <&key_physical_attrs 100 100 994 332 0 0 0>
;
};
};
4 changes: 2 additions & 2 deletions config/boards/shields/totem/totem.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
*
* SPDX-License-Identifier: MIT
*/

#include "totem-layouts.dtsi"
#include <dt-bindings/zmk/matrix_transform.h>

/ {
chosen {
zmk,kscan = &kscan0;
zmk,matrix_transform = &default_transform;
zmk,physical-layout = &totem_layout;
};

default_transform: keymap_transform_0 {
Expand Down
2 changes: 2 additions & 0 deletions config/boards/shields/totem/totem.zmk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ url: https://github.com/GEIGEIGEIST/TOTEM
requires: [seeeduino_xiao_ble]
features:
- keys
- studio
siblings:
- totem_left
- totem_right

16 changes: 16 additions & 0 deletions config/boards/shields/totem_dongle/Kconfig.defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# boards/shields/totem_dongle/Kconfig.defconfig
#
# ドングル構成を有効にする場合はコメントを外す

# if SHIELD_TOTEM_DONGLE
#
# config ZMK_KEYBOARD_NAME
# default "TOTEM"
#
# config BT_MAX_CONN
# default 5
#
# config BT_MAX_PAIRED
# default 5
#
# endif # SHIELD_TOTEM_DONGLE
6 changes: 6 additions & 0 deletions config/boards/shields/totem_dongle/Kconfig.shield
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# boards/shields/totem_dongle/Kconfig.shield
#
# ドングル構成を有効にする場合はコメントを外す

# config SHIELD_TOTEM_DONGLE
# def_bool $(shields_list_contains,totem_dongle)
36 changes: 36 additions & 0 deletions config/boards/shields/totem_dongle/totem_dongle.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# ============================================================
# config/totem_dongle.conf
# ドングル (Central / USB ホスト) 固有の設定
#
# 現在は無効。ドングル構成に切り替える場合は全行のコメントを外す。
# 合わせて以下も変更すること:
# - build.yaml : dongle ターゲットを有効化
# - west.yml : badjeff モジュールを有効化
# - totem_left.conf : ROLE_CENTRAL=n、USB=n に変更
# - totem_right.conf : 変更不要
# ============================================================

# CONFIG_ZMK_SPLIT=y
# CONFIG_ZMK_SPLIT_BLE=y
# CONFIG_ZMK_SPLIT_ROLE_CENTRAL=y
#
# CONFIG_BT_MAX_CONN=5
# CONFIG_BT_MAX_PAIRED=5
#
# # ドングルは USB でホストに接続 (ZMK_USB が USB スタックも自動で有効化)
# CONFIG_ZMK_USB=y
#
# # ドングルはホストに USB で見えるため BLE アドバタイズは不要
# CONFIG_ZMK_BLE=n
#
# # OLED ディスプレイ (SSD1306 I2C)
# CONFIG_ZMK_DISPLAY=y
# CONFIG_ZMK_DISPLAY_WORK_QUEUE_DEDICATED=y
# CONFIG_SSD1306=y
# # nice!view (SPI) の場合は上記を無効にして下記を有効化
# # CONFIG_LS0XX=y
#
# # ドングル自身はバッテリーを持たない
# CONFIG_ZMK_BATTERY_REPORTING=n
#
# CONFIG_ZMK_SLEEP=n
38 changes: 38 additions & 0 deletions config/boards/shields/totem_dongle/totem_dongle.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// ============================================================
// boards/shields/totem_dongle/totem_dongle.overlay
//
// ドングル構成を有効にする場合:
// 1. このファイルのコメントを外す
// 2. build.yaml の dongle ターゲットを有効化
// 3. west.yml の badjeff モジュールを有効化
// 4. config/totem_dongle.conf を有効化
// 5. left/right を Peripheral に変更
//
// OLED (SSD1306, 128x32, I2C) ピンマッピング:
// XIAO SDA → D4 / P0.26
// XIAO SCL → D5 / P0.27
// ============================================================

// &i2c1 {
// status = "okay";
//
// ssd1306: ssd1306@3c {
// compatible = "solomon,ssd1306fb";
// reg = <0x3c>;
// width = <128>;
// height = <32>;
// segment-offset = <0>;
// page-offset = <0>;
// display-offset = <0>;
// multiplex-ratio = <31>;
// segment-remap;
// com-invdir;
// prechargep = <0x22>;
// };
// };
//
// / {
// chosen {
// zephyr,display = &ssd1306;
// };
// };
21 changes: 20 additions & 1 deletion config/totem.conf
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
CONFIG_ZMK_USB_LOGGING=n
# ============================================================
# config/totem.conf
# 左右共通の Kconfig 設定
# ============================================================

# ---------- Split / BLE ----------
CONFIG_ZMK_SPLIT=y
CONFIG_ZMK_SPLIT_BLE=y

# ---------- Bluetooth 安定性 ----------
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y

# ---------- スリープ ----------
CONFIG_ZMK_SLEEP=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000

# BLE プロファイル数 (PC / Mac / iPad など最大 5 台を切り替え可能)
CONFIG_BT_MAX_CONN=5
CONFIG_BT_MAX_PAIRED=5

Loading