Input: trigger rumble via XInputSetStateEx ordinal 100 #1104
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!1104
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1104/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?
@ashrafsdrop on GitHub · 2026-11-24 15:47 UTC · original
ashrafsdrop:input/trigger-rumble→main· +98 −18 · 2 files · 1 commits · closed without mergingSummary
Implements impulse trigger rumble for Xbox controllers on Windows hosts in
victory-hle::gameinput.Source::rumbleto acceptleft_triggerandright_triggerlevels.XInputSetStateEx(ordinal 100 inxinput1_4.dll) dynamically to drive low/high motors alongside left/right impulse triggers.XInputSetState(low/high only) on systems where ordinal 100 is unavailable.rumble_motors = 0xF(Low | High | LeftTrigger | RightTrigger) inDeviceInfofor connected gamepads.crates/victory-hle/src/modules/gameinput.rsand removes the outstanding trigger rumble item fromREADME.md.Verification
cargo test -p victory-hle: all 94 unit tests passing (including four-channel rumble verification).cargo run -p xtask -- policy: asset policy passes (154 files ok).@Zipettte on GitHub · 2026-11-24 18:01 UTC · original
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at
da8875b:cargo test -p victory-hlepasses, 95 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).Tested with AI assistance (Claude).
Pull request closed