Route Xbox USB trigger rumble through Windows GameInput #4789
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#4789
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@gbmrrr on GitHub · 2026-12-01 08:23 UTC · original
What you would like
Support independent left and right trigger vibration on stock Xbox Series controllers over USB. On
mainat5fabb46eand releasev2026.11.30.03, the GameInput handler discards the two trigger levels and sends only body rumble. The GameInput XInput shim from #61 still uses the two-motor XInput interface.Standalone test: Windows 11, stock Xbox Series pad over USB (
045E:0B12,XboxComposite), GameInput runtime4.0.306. Selected lines from the read-only device probe (unrelated fields omitted):The first query was empty, but the device callback found all four motors on the same XInput slot. In a separate foreground tester using
SetRumbleState, the player confirmed independent pulses in both triggers and vibration in the body. No controller driver replacement was needed.Proposed change: Keep input unchanged and add an optional GameInput v4 output path. Discover devices via callbacks and match by XInput slot. Report the trigger motors only once a matching pad advertises them and can be driven. Send the body and trigger levels together in one SetRumbleState call, not alongside an XInput write. Keep the existing fallback when no match or runtime is available. Start discovery before the first device-info query, with at most a bounded startup wait.
Play log from the local prototype (relevant lines only):
The prototype matched the pad before the first device-info query. The 105 logged rumble updates had no nonzero trigger request, so these excerpts do not demonstrate an in-game trigger effect. No crash is being reported. This is separate from the fork-only WinRT documentation in #4562 and the adaptive triggers requested in #2002.
Are you working on a fix?
I have a local prototype. The GameInput regression tests and the first-device-info-query test on this controller passed. I am sharing the approach, not claiming an upstream PR.