Input: trigger rumble through Windows.Gaming.Input with one pad conne… #1760

Open
bemalinho wants to merge 1 commit from upstream-pr/1761 into main
bemalinho commented 2026-11-24 22:08:17 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by bemalinho on 2026-11-24T22:08:17Z.


…cted

SetRumbleState's trigger levels were dropped (XInput has no trigger motors). The host source now takes all four motor levels; grips stay on XInput, triggers go through Windows.Gaming.Input, which has no XInput slots, so they run only while a single pad is connected (shortcut). Untested on a pad.

<!-- greyfinch-sync:Marvisak/VIctory:issue:5481146253 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1761). Originally posted by [bemalinho](https://github.com/bemalinho) on 2026-11-24T22:08:17Z. --- …cted SetRumbleState's trigger levels were dropped (XInput has no trigger motors). The host source now takes all four motor levels; grips stay on XInput, triggers go through Windows.Gaming.Input, which has no XInput slots, so they run only while a single pad is connected (shortcut). Untested on a pad.
catminou4 commented 2026-11-24 22:18:34 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T22:18:34Z.

Review: COMMENTED


Static review only: victory-hle is Windows-only — nothing compiles on macOS; source review of the diff.

Rumble goes through Windows.Gaming.Input with one pad connected: sole_pad() gates on exactly one connected pad, apartment() checks COM init, wgi_rumble maps Motors to the WGI impulse API, and the InputDevice::rumble impl dispatches. The one-pad restriction avoids the WGI ambiguity with multiple pads — reasonable, documented in the title. Worth a Windows session with a real pad.

<!-- greyfinch-sync:Marvisak/VIctory:review:6048297526 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1761#pullrequestreview-6048297526). Originally posted by [catminou4](https://github.com/catminou4) on 2026-11-24T22:18:34Z. **Review:** COMMENTED --- Static review only: victory-hle is Windows-only — nothing compiles on macOS; source review of the diff. Rumble goes through Windows.Gaming.Input with one pad connected: sole_pad() gates on exactly one connected pad, apartment() checks COM init, wgi_rumble maps Motors to the WGI impulse API, and the InputDevice::rumble impl dispatches. The one-pad restriction avoids the WGI ambiguity with multiple pads — reasonable, documented in the title. Worth a Windows session with a real pad.
DesertGamer commented 2026-11-24 23:05:49 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by DesertGamer on 2026-11-24T22:14:11Z.


VIctory V2: community PRs, merged and tested

Open PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch.

Where it stands today: launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1).

⚠️ Entering the world on a real GPU can hang it and make Windows reset the driver. Try it at your own risk.

Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help:
https://DesertGamer/VIctory-V2

Unofficial community fork of Marvisak/VIctory, GPL-3.0.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7145976533 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1761#issuecomment-7145976533). Originally posted by [DesertGamer](https://github.com/DesertGamer) on 2026-11-24T22:14:11Z. --- ### VIctory V2: community PRs, merged and tested Open PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch. **Where it stands today:** launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1). :warning: Entering the world on a real GPU can hang it and make Windows reset the driver. Try it at your own risk. Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help: https://DesertGamer/VIctory-V2 *Unofficial community fork of Marvisak/VIctory, GPL-3.0.*
Marvisak commented 2026-11-25 02:06:13 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:35:47Z.


Automated triage for the maintainers.

Needs rebase. This pull request conflicts with main (conflicting: crates/victory-hle/src/modules/gameinput.rs). It will be reviewed once it is rebased onto the current main.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7149730287 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1761#issuecomment-7149730287). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T01:35:47Z. --- <!-- victory-triage v1 head=d06bfe76c72d43685bc6b0ed67dd92642497d811 verdict=needs-rebase at=2026-11-25T01:35:47Z --> Automated triage for the maintainers. **Needs rebase.** This pull request conflicts with `main` (conflicting: `crates/victory-hle/src/modules/gameinput.rs`). It will be reviewed once it is rebased onto the current `main`. --- _Generated by [Claude Code](https://claude.ai/code)_
DenRakEiw commented 2026-11-25 03:34:02 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-25T03:34:02Z.

Review: COMMENTED


Tested PR head directly on Windows 11 x64 (Rust 1.98.1 MSVC):

  • cargo test -p victory-hle --lib gameinput:: — 8 passed, 0 failed
  • cargo clippy -p victory-hle --all-targets — 0 warnings
  • cargo xtask policy — ok
  • Merge status: Currently CONFLICTING with origin/main (940d32f). Once rebased onto main, happy to re-verify and approve!

AI-assisted (Gemini 4 Neon).

<!-- greyfinch-sync:Marvisak/VIctory:review:6051467031 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1761#pullrequestreview-6051467031). Originally posted by [DenRakEiw](https://github.com/DenRakEiw) on 2026-11-25T03:34:02Z. **Review:** COMMENTED --- Tested PR head directly on Windows 11 x64 (Rust 1.98.1 MSVC): - `cargo test -p victory-hle --lib gameinput::` — 8 passed, 0 failed - `cargo clippy -p victory-hle --all-targets` — 0 warnings - `cargo xtask policy` — ok - **Merge status:** Currently `CONFLICTING` with `origin/main` (`940d32f`). Once rebased onto `main`, happy to re-verify and approve! AI-assisted (Gemini 4 Neon).
kilolimaVI commented 2026-11-26 21:58:40 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by kilolimaVI on 2026-11-26T21:58:40Z.


This no longer merges onto current main (conflict in crates/victory-hle/src/modules/gameinput.rs). #1958 and #2095 do the same and merge cleanly; comparison on #1958.

AI-assisted (Claude).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7204240209 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1761#issuecomment-7204240209). Originally posted by [kilolimaVI](https://github.com/kilolimaVI) on 2026-11-26T21:58:40Z. --- This no longer merges onto current main (conflict in `crates/victory-hle/src/modules/gameinput.rs`). #1958 and #2095 do the same and merge cleanly; comparison on #1958. AI-assisted (Claude).
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1761:upstream-pr/1761'
git switch 'upstream-pr/1761'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/1761'
git switch 'upstream-pr/1761'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1761'
git switch 'upstream-pr/1761'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1761'
git switch 'main'
git merge --squash 'upstream-pr/1761'
git switch 'main'
git merge --ff-only 'upstream-pr/1761'
git switch 'main'
git merge 'upstream-pr/1761'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Marvisak/VIctory!1760
No description provided.