hle: opt in to GameInput XInput slots with a per-slot system fallback #61
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/61"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by superboynick on 2026-11-27T15:29:03Z.
What I tested
RTX 5070 Ti Laptop (12 GB), Windows 11 26100, release build. The controller here is not a wired pad: it is a GameInput synthetic device (
SWD\SYNTHETICGAMEPADENUMwith XboxService), and the system XInput answers 1167 on all four slots for it. The title's pad input goes through the gameinput HLE, which asked the system XInput - so the log showed onlydevice=4(the keyboard stand-in) anddevice=5(the keyboard), no host pad at all.What happened
With
VICTORY_GAMEPAD_SHIM=1the layer loads XInput at run time, triesC:\Program Files\Microsoft GameInput\x64\XInput1_3.dllfirst, then the system 1_4 / 1_3 / 9_1_0, takes the first backend with a pad in any slot, and remembers it for rumble.host pad slot=0 through=...\Microsoft GameInput\x64\XInput1_3.dll,buttons=4(A),left_x=1.0,right_x=1.0.keys=[13]/[164]in the same frames, so both are live at once.What would make it mergeable
Written with an AI assistant.
Added while chasing a report of "the pad does nothing": with
VICTORY_GAMEPAD_LOG=1, each slot says once whichpath answered it, and what the system XInput said when it did not.
That is the difference between a pad the layer cannot see and a pad that is not there — on this machine all four
slots answer 1167 from the system and the same from GameInput's own DLL while the controller is asleep, which reads
identically to "unsupported" in the log as it was. Off by default; nothing changes with it unset.