feat(winebus): OHOS Controller Hub bus + XInput rumble - #3
Open
yifengling0 wants to merge 2 commits into
Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
winebus改动接到当前master:新增bus_ohos.c/ WHGP 协议,SDL 枚举在 Hub 开启时让路,虚拟手柄走 DirectInput + XInput,并把 haptics rumble 写回 WHGP。product/vkd3d-gears-fix上的同内容提交 replay 到master,无冲突。3fc36c42683,分支feature/ohos-controller-hub,基于product/vkd3d-gears-fix),两边文件一致。Test plan
git cherry-pick到origin/master干净成功make wine编过winebus.so