From 7ed43baaa6be88a55952a3411575922c8d883a08 Mon Sep 17 00:00:00 2001 From: Ariver <shanghai3168@gmail.com> Date: Mon, 06 Jul 2026 15:47:42 +0800 Subject: [PATCH] feat: default right modifier hotkey --- CODEGRAPH.md | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/CODEGRAPH.md b/CODEGRAPH.md index 2ccf054..5ddd46b 100644 --- a/CODEGRAPH.md +++ b/CODEGRAPH.md @@ -47,6 +47,9 @@ - Hotkey: - macOS: `C1.source/privatevoice.src/internal/hotkey/hotkey_darwin.go` - Windows: `C1.source/privatevoice.src/internal/hotkey/hotkey_windows.go` + - Shared display: `C1.source/privatevoice.src/internal/hotkey/hotkey.go`; R222 maps `0x5C` to macOS `R-⌘` and Windows `R-Win`. +- Config defaults: + - `C1.source/privatevoice.src/internal/config/config.go`: first generated config uses platform default hotkey (`0x5C` on macOS / Windows) and `hold`; existing config files load through a legacy-safe fallback so missing `HotkeyVK` does not inherit the R222 new default. - Text input: - macOS: `C1.source/privatevoice.src/internal/input/paste_darwin.go` - Windows: `C1.source/privatevoice.src/internal/input/paste_windows.go` -- Gitblit v1.9.3