GameInput: VICTORY_TRIGGER_MOTORS doc contradicts code (claimed on unless =0, code requires =1) #4562
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#4562
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-11-30 22:26 UTC · original
Summary
The
mod triggersdocstring claimedVICTORY_TRIGGER_MOTORSwas "on unless =0" whileasked()requires==""1". On an Xbox Series X over USB (VID_045E PID_0B12,XboxCompositedriver),Gamepad::Gamepads()returns an empty list — the driver publishes no WinRT game controller — so this path can never fire on that pad regardless of the switch.Fix (already in local commit e0f6a423)
Doc now says:
The code stays for a pad on another transport where the enumeration differs. What the layer does instead: the triggers' levels are folded into the high-frequency motor in
set_rumble, which is what Microsoft's ownSetRumbleStatedocuments for a pad without trigger motors.Impact
Anyone reading the doc would expect trigger motors to work by default; they don't and can't on the primary target hardware. The doc now matches the code and explains why.
@github-actions[bot] on GitHub · 2026-11-30 22:26 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
@gbmrrr on GitHub · 2026-11-30 23:12 UTC · original
Closing as wrong — this is not your code.
mod triggersandVICTORY_TRIGGER_MOTORSdo not exist inv2026.11.30.03. They were introduced by our fork in local commit70a9032e("GameInput: drive the trigger motors through Windows.Gaming.Input"). The doc/code contradiction I reported is entirely on our side, in code we wrote, and is already fixed in our tree.Nothing actionable for you here. I should have checked whether the symbol existed upstream before filing.