Skip to content

Releases

OpenDS 0.4.3

Choose a tag to compare

@github-actions github-actions released this 22 Nov 18:00
v0.4.3
80569ed

中文 · English

蓝牙音频与触觉

  • 连续的音频与原生触觉可将两块数据合并发送;空闲且控制状态稳定时,静默报告间隔延长至约 42.67 ms。有新数据时恢复正常节拍。实时写入等待超过 15 ms 时请求取消,并跳过已过期的输入块,减少链路停顿后的积压。连续输出仍可能偶有短暂停顿。
  • 「连接与反馈」新增合包设备缓冲。默认 96,范围 16–128,每 8 单位一档。拖动后即时生效,可用同页的 1 秒原生触觉测试比较连续感与起振延迟。数值为设备缓冲单位。
  • 音频与震动线程默认启用 Windows 多媒体调度优先级(MMCSS),修改后重启桥接生效。修复预热写入失败时首个触觉块可能被跳过的问题,诊断日志分别统计媒体和控制报告的慢写入。

手柄与设置

  • 3.5 mm 耳机可手动覆盖游戏音量(0–127)。关闭覆盖时优先采用游戏音量;游戏未指定时使用单独可调的回退值。升级会自动将旧配置的 headphone_volume 迁移为回退值。
  • 新增低电量托盘通知,默认阈值为 20%,设为 0 可关闭。需要桥接时自动开启系统蓝牙,可在「常规设置」中勾选,默认关闭。#1
  • 蓝牙连接和重连时主动取得灯条控制权,使游戏首次启动即可设置灯色;结束桥接时恢复蓝色。#2
  • 「连接与反馈」与「常规设置」按任务分组。麦克风增益显示实时 dB 值,待保存设置有改动时亮起保存按钮。日志视图减少重复刷新。

升级与校验 退出旧版后替换完整分发目录,保留已有配置。Windows x64 用户下载本页的 OpenDS-0.4.3-windows-x64.zip;同页提供对应源码、SHA256SUMS.txt 和签名标签凭据 TAG-SIGNATURE.json。

English

  • Continuous Bluetooth audio and native haptics can share two media blocks per report. Idle reports slow to about 42.67 ms and return to normal cadence when data arrives. After a 15 ms wait, OpenDS requests cancellation of a real-time write and skips stale input. Brief interruptions can still occur.
  • Paired device buffer applies immediately. The default is 96 device units, adjustable from 16 to 128 in steps of 8. Use the one-second native haptics test to compare continuity and onset latency. Windows multimedia scheduling is enabled by default. This release also fixes a dropped first haptics block after a failed warm-up write and counts slow media and control writes separately.
  • The 3.5 mm headphone volume can follow the game or use a manual override. When the game supplies no volume, OpenDS uses a separate fallback. Upgrading migrates the previous headphone_volume to that fallback.
  • Low-battery tray notifications default to 20% (0 disables them). Optionally enable Bluetooth when bridging starts. The bridge now claims the lightbar on connection and reconnection and restores blue on teardown.
  • Connection and feedback settings are grouped by task. Microphone gain shows the current dB value, and Save is enabled when edits are pending. Exit the old version before replacing the distribution folder. The Windows x64 ZIP, matching source ZIP, checksums and signed-tag receipt are attached to this release.

贡献者 · Contributors

感谢 @MoonLiyTheLily 首次为 OpenDS 贡献代码,加入 3.5 mm 耳机音量覆盖功能。Thank you for contributing headphone volume override. PR #4

完整变更 · Full changelog

OpenDS 0.4.2

Choose a tag to compare

@github-actions github-actions released this 09 Nov 05:11
v0.4.2
efe230e

中文 | English

OpenDS 0.4.2 改进手柄震动的停止处理,并加入两种反馈测试。

  • 尝试修复震动停不下来。 兼容全零停止报告,并避免停止报告在状态争用时被丢弃。已用合成报文验证这两条路径。用户报告的 Steam 识别、星露谷钓鱼等现场情况未能在开发机复现。如果仍出现,请附上发生时的运行日志。
  • 新增 1 秒反馈测试。 「连接与反馈」里的原生触觉测试播放扫频波形,传统震动测试直接发送马达指令。两项测试结束时均发送归零,可分别检查两条输出路径。
  • 原生触觉强度改为下拉选择。 从 100%(原强度)到 200%,每 10% 一档。已保存的强度沿用原值。
  • 修正文档中的缓冲范围和调节建议。 扬声器/触觉缓存可设为 1–128 块。更大的队列在积压时会增加延迟。比较不同块数时,可在相同游戏场景观察声音和触觉的响应与断续情况。

退出旧版后替换完整分发目录,已有配置会保留。附件包含 Windows x64 程序 ZIP、对应源码 ZIP、SHA256SUMS.txt 和 TAG-SIGNATURE.json。签名凭据对应 Git 标签。


English

OpenDS 0.4.2 improves rumble stop handling and adds two feedback tests.

  • Attempted fix for stuck rumble. OpenDS now handles all-zero stop reports and retains stop reports when another thread is reading the output state. Both paths were verified with synthetic reports. The reported Steam Identify and Stardew Valley fishing scenarios could not be reproduced on the development machine. If the problem persists, please include the runtime log from when it happened.
  • One-second feedback tests. In Connection and feedback, the native haptics test plays a frequency sweep and the classic rumble test sends motor commands directly. Each test sends a stop report so you can check the two output paths independently.
  • Native haptics strength dropdown. Choose from 100% (original) to 200% in 10% steps. Saved strength settings retain their effect.
  • Corrected buffer range and tuning guidance. The speaker/haptics buffer supports 1–128 blocks. A larger queue can add latency when data backs up. Compare responsiveness and interruptions in the same game scene when trying different settings.

Exit the old version and replace the complete distribution folder. Existing settings are preserved. Assets include the Windows x64 ZIP, the matching source ZIP, SHA256SUMS.txt and TAG-SIGNATURE.json. The signature receipt identifies the signed Git tag.

完整变更 / Full changelog

OpenDS 0.4.1

Choose a tag to compare

@github-actions github-actions released this 01 Nov 03:14
v0.4.1
172491f

中文 | English

OpenDS 0.4.1 改进指令表设置操作,调整默认配色与背景不透明度。

设置操作

  • 右侧的「恢复当前项默认值」只恢复选中的设置项;左下角新增「全部恢复默认」,恢复指令表全部设置。
  • 「来源标识」与「自动适配主题配色」的说明随选项显示在右侧,底部保留通用操作提示。
  • 「选择颜色」只在当前可编辑的颜色选项下显示,避免无效按钮。

默认值与配置兼容

  • LS、RS、L2、R2 的「区分力度」默认关闭;仍可分别开启,死区设置继续生效。
  • 悬浮窗背景不透明度默认由 55% 调整为 85%。
  • L2 的浅色、深色统一颜色默认均为 #8080FF,R2 均为 #0080C0;LS、RS 统一颜色保持原值。
  • 缺少统一颜色配置时保留当前默认值;兼容旧配置中明确保存的推满档颜色,明确设置过的统一颜色优先。

升级与验证

退出旧版后替换完整分发目录。已有配置保留,不会自动覆盖为新默认值;可对相应设置使用「恢复当前项默认值」,或使用「全部恢复默认」重置指令表。无需因本次更新重新安装驱动。

本地通过 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.1 improves input history settings and updates default colors and background opacity.

Settings

  • “Reset this setting” on the right resets only the selected setting. “Reset all settings” at the bottom left resets all input history settings.
  • Source-label and automatic-color descriptions appear beside the selected setting. The footer retains the general editing instructions.
  • “Choose color” appears only for editable color settings.

Defaults and compatibility

  • Distinguish strength now defaults to off for LS, RS, L2 and R2. Each input can still enable it independently; dead zones remain effective.
  • Default overlay background opacity increases from 55% to 85%.
  • L2's default unified color is #8080FF in both palettes; R2's is #0080C0. LS and RS unified colors are unchanged.
  • Missing unified-color settings retain current defaults. Explicit full-strength colors in older configurations still seed the matching unified colors, while explicitly saved unified colors take precedence.

Upgrading and verification

Exit the old version and replace the complete distribution folder. Existing preferences are preserved, so new defaults do not overwrite saved values. Use “Reset this setting” for individual defaults or “Reset all settings” for all input history preferences. Driver reinstallation is unnecessary for this update.

Local validation passed 184 Rust tests and 12 input-history UI/interaction configurations: Chinese/English, light/dark and 96/144/192 DPI, including reset scope and contextual descriptions. The release workflow verifies the signed tag and builds and checks the Windows package, matching sources and VIIPER.

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.4.0...v0.4.1

OpenDS 0.4.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 16:38
v0.4.0
311d190

中文 | 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+ s from 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

OpenDS 0.3.3

Choose a tag to compare

@github-actions github-actions released this 25 Oct 17:03
v0.3.3
bdc8b04

中文 | English

手柄电量上线;同时把界面布局刷新改为批量提交,页面切换和窗口缩放更跟手。

新增

手柄电量

  • 概览页新增「手柄电量」卡片:电池图标、状态文字和估算百分比提示。充电时图标叠加闪电,充满显示「已充满」,异常时显示 ! 并附错误码。
  • 实时监视画面同步绘制电量图标,与概览共用同一套几何和配色;浅色、深色、系统高对比度三种外观下都可读。电量 ≤20% 标红,21–50% 标黄,高于 50% 标绿。
  • 读数取自完整蓝牙输入报文(报告 0x31)第 54 字节;兼容模式报文和含音频负载的报文不参与解析,避免把无关字节当成电量。
  • 电量遥测独立于采集队列与音频重建:启停录音、复位监视器都不会清空读数。界面每 10 秒刷新一次,超过 30 秒没有新数据标记为「电量数据已过期」。
  • 手柄按约 10% 档位上报电量,界面统一标注为「估算电量」,不声称精确值。
  • 外观预览支持模拟电量数据,不接手柄也能核对各状态的图标、颜色和提示文案。

改进

  • 子控件布局改为批量提交(BeginDeferWindowPos):只处理尺寸或可见性真正发生变化的控件,并跳过重复的 SetWindowPos,页面切换和窗口缩放的重绘开销与闪烁明显下降。
  • 概览页排版按窗口宽度重算,窄窗口自动切换紧凑布局;新增电量卡片后仍保持 DPI 感知对齐。
  • 主题自检新增页面切换响应测量(6 个页面 × 5 轮,输出 P95),并断言测量过程不改变窗口可见性和前台窗口。

测试与内部

  • 电池验收脚本覆盖 zh-CN / en-US × 浅色 / 深色 / 高对比度 × 96 / 144 / 192 DPI 共 18 种组合,另含展开布局用例。
  • 新增电报文解析与遥测单元测试,覆盖「电量不受采集启停影响」和「兼容/麦克风报文不产生读数」。
  • UI 冒烟退出前等待主题压力测试的对话框全部关闭;重启类测试先等待新进程启动再清理临时 fixture,降低偶发失败。

升级说明

直接替换可执行文件和 DLL 即可,opends.ini 结构没有变化。


English

Controller battery reporting, plus a batched layout pass that makes page switching and window resizing noticeably smoother.

Added

Controller battery

  • The overview now has a battery card: icon, status text and an estimated percentage tooltip. A charging bolt overlays the icon while charging, "Full" is shown when charged, and a fault state shows ! together with the error code.
  • The live monitor draws the same battery icon, sharing geometry and colours with the overview, and stays readable in light, dark and system high-contrast appearances. At or below 20% the meter turns red, 21–50% yellow, above 50% green.
  • Readings come from byte 54 of full Bluetooth input reports (0x31). Compatibility reports and reports carrying an audio payload are excluded, so unrelated bytes are never mistaken for battery level.
  • Battery telemetry is independent of the capture queue and audio rebuilds: starting or stopping recording and resetting the monitor no longer clear the reading. The UI refreshes every 10 seconds and marks the value as expired after 30 seconds without new data.
  • The controller reports in roughly 10% steps, so the UI labels the value as an estimate rather than an exact figure.
  • Appearance previews can inject simulated battery data, so every state can be checked without a physical controller.

Improved

  • Child-control layout is now submitted as one batch (BeginDeferWindowPos): only controls whose geometry or visibility actually changed are touched, and redundant SetWindowPos calls are skipped. Page switching and resizing repaint far less and flicker less.
  • The overview recomputes its layout from the window width and switches to a compact layout in narrow windows, while keeping DPI-aware alignment with the battery card present.
  • The theme self-check now measures page-switch response (6 pages × 5 rounds, P95 reported) and asserts that the measurement never changes window visibility or the foreground window.

Tests and internals

  • The battery acceptance script covers zh-CN / en-US × light / dark / high contrast × 96 / 144 / 192 DPI, 18 combinations in total, plus an expanded-layout case.
  • New unit tests cover report parsing and telemetry, including "battery survives capture start/stop" and "compatibility and microphone reports yield no reading".
  • The UI smoke run now waits for theme-stress dialogs to close before exiting, and restart tests wait for the new process before cleaning up fixtures.

Upgrading

Replace the executable and DLLs; the opends.ini layout is unchanged.

完整变更 / Full changelog: v0.3.2...v0.3.3

OpenDS 0.3.2

Choose a tag to compare

@github-actions github-actions released this 24 Oct 14:29
v0.3.2
02bdc59

中文 | English

依赖装在非标准目录时不用再折腾 PATH —— 现在可以在界面里直接指定 USB/IP Win2 和 HidHide 的安装目录。

新增

依赖目录手动指定

  • 「诊断与日志」中可为 USB/IP Win2 和 HidHide 分别选择安装目录。USB/IP 目录必须包含 usbip.exe(只放图形界面 wusbip.exe 不足以挂载设备);HidHide 目录用于定位 HidHideClient.exe,也接受它位于 x64 或 bin 子目录的安装布局。
  • 目录通过校验后立即写入 opends.ini(usbip_directory / hidhide_directory)并重新检查依赖,不需要再点保存;选错或取消不会覆盖原有设置。
  • 「自动查找」清除该组件的手动目录,恢复默认目录与 PATH 查找。
  • 手动指定的工具被移动或删除时会明确报错,不会静默改用其他安装。
  • 桥接运行中或安装进行中不允许修改目录;修改前需先停止桥接。
  • HidHide 的驱动与配置工具分开检测:缺少 HidHideClient.exe 不影响桥接。指定目录后可直接「打开 HidHide 配置」。

改进

  • USB/IP 挂接改为使用解析后的 usbip.exe 路径,不再依赖 PATH 中恰好命中的那个副本。
  • 配置写入拒绝含换行符或空字符的路径,避免 INI 注入;非法值不会覆盖已保存的目录。
  • 依赖状态与安装提示文案重写,明确区分「驱动已运行但找不到 usbip.exe」和「驱动未运行或未安装」,并指向新的目录选择入口。

文档

  • 补充依赖目录的完整说明(校验规则、自动查找、桥接期间的限制、HidHide 驱动与配置工具的区别)。
  • 补充 Steam 干扰排查:Steam 的指南键组合会把 PS 键组合映射到 Windows 无障碍快捷键,这是放大镜或屏幕键盘自行弹出的常见原因,文档给出对应的关闭方法。
  • 修正扬声器音量说明中引用的一组 Sony 并未记载的按键组合。

升级说明

新增两个可选项,默认仍为自动查找,opends.ini 旧文件可直接沿用。此前靠把 usbip.exe 所在目录加进 PATH 才能使用的环境,可以改为在界面指定目录。


English

No more PATH gymnastics when dependencies live in non-standard directories: USB/IP Win2 and HidHide installation directories can now be picked in the UI.

Added

Manual dependency directories

  • Diagnostics now lets you choose an installation directory for USB/IP Win2 and for HidHide separately. The USB/IP directory must contain usbip.exe; the GUI-only wusbip.exe is not enough to attach a device. The HidHide directory locates HidHideClient.exe and also accepts layouts where it sits in an x64 or bin subdirectory.
  • A validated directory is saved to opends.ini (usbip_directory / hidhide_directory) immediately and dependencies are re-checked, with no separate save step. Cancelling or picking the wrong folder leaves the previous setting untouched.
  • "Auto" clears the manual directory for that component and restores default-directory and PATH lookup.
  • If a manually selected tool is moved or deleted, OpenDS reports it explicitly instead of silently falling back to another installation.
  • Directories cannot be changed while bridging or while an installer is running; stop the bridge first.
  • HidHide's driver and configuration client are probed separately: a missing HidHideClient.exe never blocks bridging. Once a directory is set, "Open HidHide configuration" is available directly.

Improved

  • USB/IP attachment uses the resolved usbip.exe path instead of whichever copy happens to be first on PATH.
  • Configuration writes reject paths containing line breaks or NUL characters, preventing INI injection; invalid values never overwrite the saved directory.
  • Dependency status and installer prompts were rewritten to distinguish "driver running but usbip.exe missing" from "driver not running or not installed", and to point at the new directory picker.

Documentation

  • Full dependency-directory documentation: validation rules, auto lookup, restrictions while bridging, and the difference between HidHide's driver and its configuration client.
  • New Steam interference guidance: Steam's guide chords map PS button combinations to Windows accessibility shortcuts, a common cause of the magnifier or on-screen keyboard opening by itself, with the setting that turns it off.
  • Corrected the speaker-volume advice, which referenced a PS button shortcut Sony does not document.

Upgrading

Two optional settings were added; both default to automatic lookup, so existing opends.ini files keep working. Environments that previously needed the usbip.exe directory on PATH can now select it in the UI instead.

完整变更 / Full changelog: v0.3.1...v0.3.2

OpenDS 0.3.1

Choose a tag to compare

@github-actions github-actions released this 24 Oct 07:36
v0.3.1
257d17a

中文 | English

这一版主要处理"连不上时说不清原因"和"检查依赖时界面卡住"两件事:新增连接诊断与自动恢复,把驱动查询移出窗口消息循环,并按 Windows 快捷方式语义重做了快捷方式创建。

新增

连接诊断

  • 断线不再只有一句"连接失败"。桥接状态栏区分「蓝牙连接中断 · 等待重新连接」「初始化失败 · 等待重试」「已重新连接 · 正在确认连接稳定」「已停止 · 请查看断线原因」,并提供「查看断线原因」查看完整说明。
  • 诊断按场景给出可执行建议,并明确区分「已经能确定」与「只是可能」:
    • 读取真实手柄特性时 Windows 返回 170(请求的资源正在使用),随后建链失败 —— 提示其他程序可能同时占用物理手柄或改变了协议状态,但无法确定是哪个进程。
    • 桥接建立后毫秒级断开 —— 列出其他程序访问、蓝牙链路或供电、输出冲突等可能原因,不臆断具体成因。
    • 持续运行若干秒后中断 —— 建议检查电量、信号和其他手柄工具。
    • 初始化失败 —— 指向蓝牙连接、驱动诊断和 HidHide 权限。
  • 建链前先做输入探活:蓝牙设备能打开但收不到有效按键输入时,不隐藏物理手柄、也不创建虚拟设备,避免一次没有意义的设备插拔(Steam 等程序会对这类插拔重放整套识别流程)。
  • 连续建链失败按指数退避重试,界面显示下次重试时间,并在提示中指向 Steam 的桌面布局与指南键组合设置 —— 后者会把 PS 键组合映射成 Windows 无障碍快捷键。

快捷方式

  • 设置界面可直接创建桌面或开始菜单快捷方式。
  • 目标位置已有文件时不覆盖,并按 Windows 文件标识(而非路径字符串)比较,避免同一程序因路径写法不同被重复创建。
  • 安装脚本 Install-OpenDS.ps1 默认不再创建开始菜单快捷方式;需要时显式传 -StartMenuShortcut,与 -NoShortcut 互斥。

改进

  • 驱动与设备查询移到独立工作线程(opends-diagnostics),消息循环只做轮询。打开「诊断与日志」或点「重新检查」时界面不再停顿。
  • 退出路径统一到一套共享清理预算(3.5 秒):系统注销或关机时进入同一流程,不再触发待执行的语言重启,也不再弹出错误对话框。
  • 关闭确认对话框改用与其他窗口一致的主题化对话框,深浅色切换时不再出现系统原生的白色弹窗。

测试与内部

  • 新增 Test-Responsiveness.ps1(原生输入后台行为、页面切换延迟)和 Test-Shutdown.ps1(退出取消、模态窗口、CSV 刷写、卡死的工作线程),并接入 CI。
  • 新增安装脚本测试,验证快捷方式必须显式授权才会创建。

升级说明

opends.ini 无结构变化。若你依赖安装脚本自动创建开始菜单项,请改传 -StartMenuShortcut,或安装后在设置界面点一次「创建开始菜单快捷方式」。


English

This release is about two things: being explicit when a connection fails, and never freezing the window while dependencies are checked. Connection diagnostics, automatic recovery and Windows-correct shortcut creation are new.

Added

Connection diagnostics

  • A dropped link is no longer reported as a bare failure. The bridge status bar distinguishes "Bluetooth connection interrupted, waiting to reconnect", "initialisation failed, waiting to retry", "reconnected, confirming stability" and "stopped, see the disconnection reason", with a "View disconnection reason" action that shows the full explanation.
  • Diagnostics give actionable advice per scenario and separate what is certain from what is merely possible:
    • Windows returns 170 (the requested resource is in use) while reading physical controller features, and the link then fails — other software may be accessing the controller or altering its protocol state, but which process cannot be determined.
    • The link drops milliseconds after connecting — other software access, Bluetooth link or power problems, and output conflicts are listed as possibilities, without asserting a cause.
    • The link drops after running for a while — check battery, signal and other controller tools.
    • Initialisation fails — points at the Bluetooth link, driver diagnostics and HidHide permissions.
  • An input probe now runs before bridging: if the Bluetooth device opens but delivers no valid button input, the physical controller is not hidden and no virtual device is created, avoiding a pointless device cycle that makes Steam and similar software re-run its whole detection sequence.
  • Consecutive bridge failures retry with exponential backoff, the UI shows the next retry time, and the message points at Steam's desktop layout and guide-chord settings, which map PS button combinations onto Windows accessibility shortcuts.

Shortcuts

  • Desktop and Start menu shortcuts can be created from the settings window.
  • Existing files are never overwritten, and targets are compared by Windows file identity rather than path strings, so the same program is not duplicated because of a different path spelling.
  • Install-OpenDS.ps1 no longer creates a Start menu shortcut by default; pass -StartMenuShortcut explicitly. It is mutually exclusive with -NoShortcut.

Improved

  • Driver and device queries moved to a worker thread (opends-diagnostics) and are polled from the message loop. Opening Diagnostics or pressing "Check again" no longer stalls the window.
  • Shutdown paths share one cleanup budget (3.5 s): Windows logoff and shutdown enter the same flow, no longer trigger a pending language restart, and no longer show an error dialog.
  • The close-confirmation dialog now uses the same themed dialog as every other window instead of a raw system dialog.

Tests and internals

  • Added Test-Responsiveness.ps1 (native input background behaviour, page-switch latency) and Test-Shutdown.ps1 (exit cancellation, modal windows, CSV flush, stalled workers), both wired into CI.
  • Added installer tests asserting that shortcuts are only created with explicit consent.

Upgrading

No opends.ini changes. If you relied on the installer creating a Start menu entry, pass -StartMenuShortcut, or click "Create Start menu shortcut" in the settings window after installing.

完整变更 / Full changelog: v0.3.0...v0.3.1

OpenDS 0.3.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 14:11
v0.3.0
76e38b6

中文 | English

界面从此可以换语言、换外观:内置简体中文与 English,支持导入自定义 Fluent 翻译,浅色/深色随系统即时切换。

新增

多语言

  • 界面文案、诊断信息和命令行输出统一改为 Fluent 资源(locales/zh-CN.ftl、locales/en-US.ftl),默认跟随 Windows 显示语言。

  • 新增第六个侧栏页面「常规设置」,语言、外观和关闭行为都收敛在这里。

  • 语言下拉标注来源与翻译覆盖率,例如「Deutsch · 本地文件(1%)」;来源区分「跟随系统语言 / 内置 / 本地文件」。

  • 覆盖率不足 100% 时,缺失条目自动回退英文,不会出现空白或占位符。

  • 支持导入自定义 .ftl:导入时若该语言已有翻译会询问是否替换;也可「打开语言文件夹」直接把 UTF-8 文件放进去。

  • 新增校验命令,导入前可先看缺失条目、已翻译条数与覆盖率:

    opends.exe language check my-lang.ftl
    
  • 切换语言需要重启:选中后页面提示「语言设置将在重启 OpenDS 后生效」,重启时可选「现在重启」或「稍后」,并说明重启会短暂断开虚拟手柄、停止录音和文件记录。

  • 语言文件与配置解析严格隔离:界面语言不再影响配置读写、数值解析等行为,避免换语言改变程序行为。

外观

  • 新增「随系统 / 浅色 / 深色」三档外观,切换立即生效,无需重启。
  • 主题覆盖标题栏、原生控件、按钮、输入框、列表、自绘监控画面和所有对话框,深浅色切换时不再残留系统原生的白色控件。
  • 系统开启高对比度时强制使用高对比度配色,不跟随浅色/深色选项。

改进

  • 关闭确认对话框改用统一主题化对话框,与语言、重启等提示保持一致的视觉与键盘行为。
  • 语言设置变更走统一的"待重启"流程,重启由主流程接管,避免多窗口下重复拉起进程。

文档

  • 新增 docs/guides/settings.md,说明语言、外观与关闭行为三组设置。
  • 更新双语 README 与用户指南,补充语言导入和主题说明。

升级说明

配置文件新增 language、theme 两个键,缺省分别为「跟随系统」与「随系统」。旧 opends.ini 可直接沿用,无需手动改。


English

The interface can now follow your language and your theme: Simplified Chinese and English are built in, custom Fluent translations can be imported, and light/dark switching is instant.

Added

Localisation

  • Interface text, diagnostics and command-line output moved to Fluent catalogs (locales/zh-CN.ftl, locales/en-US.ftl) and follow the Windows display language by default.

  • A sixth sidebar page, "General settings", now holds language, appearance and close behaviour.

  • The language list shows each entry's source and translation coverage, for example "Deutsch · local file (1%)", distinguishing "follow system", "built in" and "local file".

  • When coverage is below 100%, missing entries fall back to English instead of showing blanks or raw message IDs.

  • Custom .ftl files can be imported: if that language already exists you are asked whether to replace it, and "Open language folder" lets you drop UTF-8 files in directly.

  • A validation command reports missing entries, translated entry count and coverage before importing:

    opends.exe language check my-lang.ftl
    
  • Changing the language requires a restart. The page states that the setting takes effect after restarting, the restart prompt offers "Restart now" or "Later", and it notes that restarting briefly drops the virtual controller and stops recording and file logging.

  • Language files are strictly isolated from configuration parsing: the UI language never affects config reads/writes or numeric parsing, so switching languages cannot change program behaviour.

Appearance

  • New "Follow system / Light / Dark" appearance setting that applies immediately, without a restart.
  • Theming covers the title bar, native controls, buttons, edits, lists, the custom-drawn monitor and every dialog, so no native white surfaces remain after switching.
  • When Windows high contrast is enabled, a high-contrast palette is forced regardless of the light/dark selection.

Improved

  • The close-confirmation dialog now uses the shared themed dialog, matching the language and restart prompts in visuals and keyboard behaviour.
  • Language changes go through one "pending restart" path owned by the main flow, preventing duplicate process launches from multiple windows.

Documentation

  • Added docs/guides/settings.md covering language, appearance and close behaviour.
  • Updated the bilingual README and user guide with language import and theming details.

Upgrading

The configuration gained language and theme keys, defaulting to "follow system". Existing opends.ini files keep working unchanged.

完整变更 / Full changelog: v0.2.3...v0.3.0

OpenDS 0.2.3

Choose a tag to compare

@github-actions github-actions released this 23 Oct 07:57
v0.2.3
1c5d4ef

中文 | English

关闭窗口可以按习惯选择行为;同时修正波形判定,短促停顿不再让曲线反复跳回静音。

新增

关闭行为

  • 关闭窗口时可选择「最小化到托盘」「退出 OpenDS」或「取消」,并勾选「记住我的选项」,之后不再重复询问。
  • 「最小化到托盘」会保持桥接与采集继续运行;选择「退出」则停止桥接、结束文件记录并恢复设备可见性。
  • 想恢复每次询问,把界面里的「关闭时行为」改回「询问」即可。

改进

  • 波形「静音」保持时间从 750 毫秒延长到 1.5 秒。游戏里短促的停顿、场景切换的瞬时静音不再让曲线在「活跃」与「静音」之间来回跳。

文档

  • 补充致谢名单,列出提供 DualSense 行为资料与视觉参考的来源。

升级说明

新增 close_action 配置项,默认 ask,行为与之前一致。旧 opends.ini 无需改动。


English

Closing the window can follow your habit now, and waveform state no longer flickers back to silent during short pauses.

Added

Close behaviour

  • Closing the window offers "Minimise to tray", "Exit OpenDS" or "Cancel", with a "Remember my choice" checkbox that suppresses later prompts.
  • Minimising keeps bridging and capture running; exiting stops the bridge, finishes file recording and makes the physical controller visible again.
  • To restore the prompt, set "Close behaviour" back to "Ask" in the UI.

Improved

  • The waveform "silent" hold time increased from 750 ms to 1.5 s. Short in-game pauses and momentary silence during scene changes no longer make the trace flip between "active" and "silent".

Documentation

  • Added an acknowledgements section listing the sources that documented DualSense behaviour and provided visual references.

Upgrading

The new close_action key defaults to ask, matching the previous behaviour. Existing opends.ini files need no change.

完整变更 / Full changelog: v0.2.2...v0.2.3

OpenDS 0.2.2

Choose a tag to compare

@github-actions github-actions released this 23 Oct 06:36
v0.2.2
d266421

中文 | English

修正实时监视的波形状态判定:单批数据迟到不会再误报「静音」。

修复

波形状态去抖

  • 波形状态改为跨 PCM 批次判定,区分「无信号 / 等待 / 中断 / 静音 / 活跃」五种状态,不再按单批数据下结论。
  • 进入「静音」需要持续 750 毫秒没有有效信号;数据流中断超过 500 毫秒才判为「中断」。此前单批数据稍有延迟,曲线就会闪成「静音」再跳回。
  • 波形绘制与状态文字使用同一判定结果,不会出现「文字说静音、曲线还在动」的矛盾。

升级说明

无配置项变化,替换可执行文件即可。


English

The live monitor no longer reports "silent" when a single PCM batch merely arrives late.

Fixed

Waveform state debouncing

  • Waveform state is now decided across PCM batches, with five distinct states: no signal, waiting, interrupted, silent and active, instead of judging from one batch.
  • "Silent" requires 750 ms without a valid signal; the stream must be absent for more than 500 ms to count as "interrupted". Previously a slightly late batch made the trace flash to "silent" and back.
  • The plot and the status text share one verdict, so the text can no longer say "silent" while the trace is still moving.

Upgrading

No configuration changes; replace the executable.

完整变更 / Full changelog: v0.2.1...v0.2.2