Repository navigation
OpenDS 0.4.0
中文 | English
OpenDS 0.4.0 新增指令表与独立悬浮窗,并改进深浅主题下的控件绘制与滚动体验。
指令表与悬浮窗
- 实时监视的手柄图下方新增独立指令表卡片,按输入状态变化记录按键组合、八方向摇杆、回中、力度跨档,以及断开/重连事件。最新状态在上方持续计时,历史记录显示各状态自身的持续时长;使用毫秒和秒,显示达到 99 秒后封顶为
99+ s,文件时间不截断。 - 独立悬浮窗支持置顶、拖动缩放、锁定后鼠标穿透、分别调整背景与内容不透明度,以及跟随软件或固定深浅主题。可从主面板或托盘恢复、显示和解锁窗口。
- 内容大小支持 50%–500%,文字、图标和行高同步缩放。悬浮窗默认根据窗口高度和记录实际换行自适应行数,也可取消勾选后手动设置。
- 记录之间提供可调颜色和不透明度的分隔线,线尾可选平直、渐隐或渐尖。来源标识支持文字/图标/隐藏,默认隐藏;右摇杆默认不记录。
输入分类与文件
- LS、RS、L2、R2 可独立设置死区、力度阈值及深浅主题颜色;L2/R2 软件死区默认 0。每个输入的「区分力度」默认开启,关闭后只保留触发/释放与摇杆方向变化,并使用可独立配置的统一颜色。
- 显示过滤默认隐藏持续时间小于 16.67 ms 的状态;指令文件过滤默认 0 ms,即不过滤。两项独立可调,设为 0 关闭。过滤按单条状态计算:连续两个不同且都短于阈值的状态会一起丢弃。连接、断开与记录缺口始终保留。
- 开启文件记录会同时创建同名
.commands.csv,保存状态、原始时间和分类配置。CSV 力度字段用 0 表示未触发、1–3 表示档位、4 表示未区分力度的已触发状态。触摸板只记录机械按压,不记录触点或运动数据。 - 界面只保留可见容量内的历史;扩大窗口不会恢复已淘汰的记录。本版不提供历史文件查看或回放。
绘制与设置改进
- 设置按记录、布局、力度与死区、分隔线、颜色等区块分组,颜色项带实时色块预览。
- 为原生文本、列表、复选框、导航按钮和滚动条使用复用的离屏缓冲,避免分步绘制暴露中间画面;缓冲按窗口、区域和尺寸复用,总缓存不超过 32 MiB,窗口关闭时释放。
- 修复深色模式下控件文字、背景及滚动条样式交替、拖动闪烁等绘制路径,覆盖原生只读文本框的滚动、文本更新与尺寸变化。
升级与验证
退出旧版后替换完整分发目录;现有配置保留,新字段使用默认值。驱动不需要因本次更新重新安装。
本地通过 184 项 Rust 测试,以及中英界面 × 深浅主题 × 96/144/192 DPI 的 12 组指令表与交互检查。正式发布还会执行签名标签门禁、Windows 与 VIIPER 的自动构建和测试。
附件包含 Windows x64 程序 ZIP、对应源码 ZIP、SHA256SUMS.txt 与 TAG-SIGNATURE.json。GPG 签名认证 Git 标签;程序本身未增加 Windows Authenticode 签名。
English
OpenDS 0.4.0 adds input history and an independent overlay, with improved themed controls and scrolling.
Input history and overlay
- A separate card below the controller records button combinations, eight-direction sticks, neutral transitions, strength changes and disconnect/reconnect events. The newest state counts its live duration; older rows show how long each state lasted. Times use milliseconds or seconds and display
99+ sfrom 99 seconds, without truncating file timestamps. - The overlay supports always-on-top, resizing and positioning, mouse passthrough when locked, separate background/content opacity, and automatic or fixed light/dark themes. Panel and tray controls can restore, show and unlock it.
- Content size ranges from 50% to 500%, scaling text, icons and row height together. Overlay rows fit complete records to the window by default; disable automatic rows to enter a fixed count.
- Configurable record separators have flat, fading or tapered ends. Source labels can be text, icons or hidden; hidden is the default. Right-stick recording is off by default.
Classification and files
- LS, RS, L2 and R2 have independent dead zones, thresholds and light/dark colors. Trigger software dead zones default to zero. Distinguish strength is enabled per input by default; disabling it retains activation/release and stick direction changes with a configurable unified color.
- Display filtering defaults to states shorter than 16.67 ms; command-file filtering defaults to 0 ms, meaning off. Both thresholds are independent and configurable. Each state is evaluated separately: two consecutive different states that are both shorter than the threshold are both discarded. Connection and gap events always pass.
- File recording also creates a matching
.commands.csv, including states, original timestamps and classification settings. Strength fields use 0 for inactive, 1–3 for tiers and 4 for ungraded active input. Only the touchpad's mechanical click is recorded, excluding touch coordinates and motion data. - Visible history is bounded; enlarging a window cannot restore evicted records. File viewing and replay are outside this release.
Rendering and settings
- Grouped settings and live color swatches make configuration easier to navigate.
- Reusable off-screen surfaces buffer native text, lists, checkboxes, navigation buttons and scrollbars. Buffers are keyed by window, region and size, capped at 32 MiB in total and released when windows close.
- Fixes target alternating light/dark control painting and drag flicker, including read-only text scrolling, text updates and resizing.
Upgrading and verification
Exit the old version and replace the complete distribution folder. Existing preferences are preserved; new fields use defaults. This update does not require reinstalling drivers.
Local validation passed 184 Rust tests and 12 input-history/interaction configurations: Chinese/English, light/dark and 96/144/192 DPI. The release workflow additionally verifies the signed tag and runs Windows and VIIPER builds and tests.
Assets include the Windows x64 ZIP, matching source ZIP, SHA256SUMS.txt and TAG-SIGNATURE.json. The GPG signature authenticates the Git tag; it does not add Windows Authenticode signing to the executable.
完整变更 / Full changelog: v0.3.3...v0.4.0