Skip to content

feat(input): add optional DSU controller input on macOS - #2227

Open
MarushiruDonato wants to merge 2 commits into
ly05010419:mainfrom
MarushiruDonato:feat/dsu-input
Open

MarushiruDonato wants to merge 2 commits into
ly05010419:mainfrom
MarushiruDonato:feat/dsu-input

Conversation

@MarushiruDonato

Copy link
Copy Markdown

Related to #2216 and #1690.

Adds optional DSU / Cemuhook input for Tears of the Kingdom and Breath of the Wild on macOS:

  • Receives buttons, sticks and native six-axis motion.
  • Adds server/slot settings and a single live status line.
  • Takes over motion only with valid sensor samples; restores native motion on timeout.
  • Preserves native controller input and rumble.

Disabled by default and controller-brand independent. Bluetooth pairing remains the external DSU server’s responsibility.

Validation: 12 targeted tests passed after upstream sync, including shared-source iOS Simulator syntax checks. DSU input and motion were manually verified in TOTK 1.4.3 on Apple Silicon with a BEITONG Asura 2 Pro+. Full iOS and other game-version app builds have not been validated.


为 macOS 添加可选的 DSU 手柄输入支持

关联 #2216、#1690。

为 macOS 上的《王国之泪》和《旷野之息》添加可选的 DSU / Cemuhook 输入:

  • 接收按键、摇杆和原生六轴体感。
  • 提供服务器、槽位设置及单行实时状态。
  • 仅在收到有效六轴样本后接管体感,超时恢复原生体感。
  • 保留原生手柄输入和震动。

默认关闭,不依赖特定手柄品牌。蓝牙配对由外部 DSU 服务器负责。

验证: 同步上游后,12 项专项测试通过,包括共享源码的 iOS 模拟器语法检查。已在 Apple Silicon 上使用北通阿修罗 2 Pro+,实测 TOTK 1.4.3 的 DSU 输入与体感。完整 iOS 应用及其他游戏版本的应用构建尚未验证。

Receive buttons, sticks and six-axis samples from a standard DSU server. Add server and slot settings with a compact live input status.

Take over motion only while fresh valid DSU sensor samples arrive, restore native motion on timeout, and preserve native controller input and rumble paths.

Add protocol, UDP, settings, native motion coexistence and shared iOS source checks; document configuration and fallback behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant