Input: trigger rumble via XInputSetStateEx ordinal 100 #1104
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1104"
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?
Imported from Marvisak/VIctory. Originally posted by ashrafsdrop on 2026-11-24T15:47:14Z.
Summary
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).Imported from Marvisak/VIctory. Originally posted by Zipettte on 2026-11-24T18:01:54Z.
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