Add input source selection to the F1 menu #304

Open
github-bot wants to merge 1 commit from github-bot/gh-304 into main AGit
Owner

@⁠theOleksiyHoncharov on GitHub · 2026-11-27 20:52 UTC · original
theOleksiyHoncharov:codex/controls-settings-pr → main · +65 −9 · 5 files · 1 commits · open

Summary

Add F1 → Controls so players can choose which input the game receives.

Setting Input sent to the game
Auto Existing mixed input behavior
Keyboard Keyboard, including the emulated gamepad
Gamepad XInput with the existing automatic Sony HID fallback
DualSense (Native) Sony DualSense and DualSense Edge over USB or Bluetooth, including when a virtual XInput pad is present

Save and restart to apply the selection. The executable launcher preserves its profile and graphics arguments across that restart so a Series S launch stays on Series S. Mouse look is tracked separately in #142.

Evidence

Previously F1 offered no input-source selection, and automatic detection prioritized XInput over native Sony HID.

  • cargo test --locked -p victory-hle --lib gameinput — 17 passed, including USB and Bluetooth report parsing.
  • cargo test --locked -p victory-gpu --lib host::menu::tests — 3 passed.
  • cargo check --locked -p victory — passed.
  • Physical controller behavior was not checked in game. Codex implemented the change and ran the checks.

Merge Danger

Door: Two-way
Blast Radius: Input and launcher restart

**@⁠theOleksiyHoncharov** on GitHub · 2026-11-27 20:52 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/304) `theOleksiyHoncharov:codex/controls-settings-pr` → `main` · +65 −9 · 5 files · 1 commits · open ## Summary Add **F1 → Controls** so players can choose which input the game receives. | Setting | Input sent to the game | | --- | --- | | Auto | Existing mixed input behavior | | Keyboard | Keyboard, including the emulated gamepad | | Gamepad | XInput with the existing automatic Sony HID fallback | | DualSense (Native) | Sony DualSense and DualSense Edge over USB or Bluetooth, including when a virtual XInput pad is present | Save and restart to apply the selection. The executable launcher preserves its profile and graphics arguments across that restart so a Series S launch stays on Series S. Mouse look is tracked separately in #142. ## Evidence Previously F1 offered no input-source selection, and automatic detection prioritized XInput over native Sony HID. - `cargo test --locked -p victory-hle --lib gameinput` — 17 passed, including USB and Bluetooth report parsing. - `cargo test --locked -p victory-gpu --lib host::menu::tests` — 3 passed. - `cargo check --locked -p victory` — passed. - Physical controller behavior was not checked in game. Codex implemented the change and ran the checks. ## Merge Danger **Door:** Two-way **Blast Radius:** Input and launcher restart
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 20:54:28 +00:00
This pull request has changes conflicting with the target branch.
  • apps/victory/src/play.rs
  • crates/victory-hle/src/modules/gameinput.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/304/head:github-bot/gh-304'
git switch 'github-bot/gh-304'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-304'
git switch 'github-bot/gh-304'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-304'
git switch 'github-bot/gh-304'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-304'
git switch 'main'
git merge --squash 'github-bot/gh-304'
git switch 'main'
git merge --ff-only 'github-bot/gh-304'
git switch 'main'
git merge 'github-bot/gh-304'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.