HLE input: pass trigger motor levels to the host source #620
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!620
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/620/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@mar10reyes on GitHub · 2026-11-24 05:44 UTC · original
mar10reyes:feat/trigger-rumble-source→main· +71 −18 · 1 files · 1 commits · closed without mergingset_rumble dropped the title's left/right trigger levels before they reached Source. Carry all four motors in a Motors struct; the XInput source still drives only the two grip motors (it has no trigger motors), so behaviour is unchanged, and a Windows.Gaming.Input source can now drive the triggers without touching the HLE side.
@balazs63 on GitHub · 2026-11-24 08:44 UTC · original
This pairs well with a host-side piece I wrote: a Windows.Gaming.Input path that actually drives the trigger motors.
Branch: https://github.com/balazs63/VIctory/tree/trigger-rumble (PR creation is limited to collaborators, so I can't open one).
Host::rumbleusesGamepad::SetVibrationfor all four motors (WGI ships with Windows, no redistributable).rumble_motorsreports 0xF;windowsbecomes a regular Windows dependency of victory-hle (Gaming_Input), audio-capture features stay behinddiagnostics.It was written against main before this PR, so it uses
[f32; 4]rather than yourMotorsstruct; happy to rebase onto #620 if that lands.cargo test -p victory-hle gameinputpasses and clippy is clean for the change. Not tested with the title or real trigger hardware (no dump here).@Marvisak on GitHub · 2026-11-25 00:26 UTC · original
Automated triage for the maintainers. Closing because it does not change behaviour the project needs (formatting, guards for cases that cannot occur, or notes and translations that cannot be kept current).
Plumbing only: four motor levels reach the host source in a new struct while XInput still drops the triggers, so behaviour is unchanged. A PR that really drives trigger motors (#312, #1357) carries its own plumbing.
If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.
Pull request closed