Skip to content

feat(winebus): OHOS Controller Hub bus + XInput rumble - #3

Open
yifengling0 wants to merge 2 commits into
masterfrom
feature/ohos-controller-hub-on-master
Open

feat(winebus): OHOS Controller Hub bus + XInput rumble#3
yifengling0 wants to merge 2 commits into
masterfrom
feature/ohos-controller-hub-on-master

Conversation

@yifengling0

Copy link
Copy Markdown

Summary

  • 将 VintagePomeloPro Controller Hub 的 winebus 改动接到当前 master:新增 bus_ohos.c / WHGP 协议,SDL 枚举在 Hub 开启时让路,虚拟手柄走 DirectInput + XInput,并把 haptics rumble 写回 WHGP。
  • 这是从 product/vkd3d-gears-fix 上的同内容提交 replay 到 master无冲突
  • VintagePomeloPro 当前 gitlink 仍指向同内容的另一 SHA(3fc36c42683,分支 feature/ohos-controller-hub,基于 product/vkd3d-gears-fix),两边文件一致。

Test plan

  • git cherry-pickorigin/master 干净成功
  • WineHua 侧 make wine 编过 winebus.so
  • 有 Game Controller Kit 手柄时 Wine 控制面板能看到虚拟手柄

Expose a virtual HID gamepad over WHGP so host-merged pads reach Wine without depending on truncated spawn env.
HID haptics write WHGP rumble packets so the host can drive pad motors.
Mark the virtual pad as an XInput-compatible gamepad.
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