Mouse and keyboard: on foot and car controls with prompts (on top of #3055) #3635
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3635
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3635"
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?
@Jesper-Andersson on GitHub · 2026-11-30 02:23 UTC · original
Jesper-Andersson:t1u-controls-pr→main· +406 −31 · 11 files · 2 commits · closed without mergingTitle: [pr-fix][input] Mouse and keyboard: on foot and car controls with prompts (on top of #3055)
Builds on #3055 by Kitrae and depends on it: this branch is #3055's head plus one commit. Please merge #3055 first; this PR then shows only its own commit.
Relates to #3550 (second half: Xbox prompts with mouse and keyboard)
Relates to #3203 (wheel opening and closing in a loop)
What it changes
Two things in native mouse mode (
VICTORY_MNK=1with native aiming). Both switches default on; setting one to 0 gives the old behaviour.Radial wheel held in the car (
VICTORY_WHEEL_HOLD=0turns it off)RMBis LB while the radial wheel is closed and nothing while it is open. HoldingRMBopened the wheel, LB dropped, the wheel closed and opened again, in a loop (the last point of #3203).RMBstays held after the wheel opened, and lets go whenRMBis released. Outside the driver seat nothing changes.Prompts show the keys of native mode (
VICTORY_PROMPTS_FROM_BINDINGS=0turns it off)Native.<Button>keys over it.Native.line took for another action:Spacefor A,Rfor B,Ffor L3,MMBfor R3,RMB/LMBfor LT / RT as on foot.Space,Shift,Ctrl,Alt,LMB,RMB,MMB.README (native mouse section) and
docs/findings.mddescribe both.How it was tested
RMBin a car kept the wheel open, and the prompts showed the bound keys. That build read the keys from our own bindings path, not from #3055'sNative.lines. This exact branch (on #3055) has not been run in a game yet.driver_vs_passenger_seat_remaps_throttle_pitch_and_mouse_buttons),native_prompts_draw_the_native_layout_with_the_native_lines_over_it,native_lines_reach_the_prompts_in_file_order,digits_modifiers_and_mouse_buttons_have_labels. The host-font test now also checks every new cap's characters.cargo testpassed for the crates it touches: yes (victory-hle,victory-game;cargo check -p victory).Checked for overlap
Native.<Button>keys, Fixes #3009), #2545 by VAldES191 (the same prompts idea, written for the older mode and now conflicting), #3442 by JohnNajar (keyboard prompts in the mode without native aiming; #3442 touches play.rs, run.rs and prompts/hook.rs; conflicts with this branch in run.rs (git merge-tree); the fix is small: our native-mode check goes before its stock-file check), and issue #3517 by Asugan94 (native mouse and keyboard controls and F1 bindings).git merge-tree); it already conflicts with main in README.md.git merge-tree); it already conflicts with main in run.rs.This change was made with AI assistance (Claude Code).
@xmorvay on GitHub · 2026-11-30 13:54 UTC · original
tested this on an rtx 4070 super with native mouse aiming and the default xbox control scheme
i mapped tab to lb and held it on foot after loading a post prologue save
the weapon wheel opened and showed keyboard labels in game
the log also confirmed that the title loaded the icon movie with the replacement key caps
the binding tests passed for both shift keys and for space r and tab
i verified the wheel on foot but did not verify the wheel in the driver seat or the reload animation
@Jesper-Andersson on GitHub · 2026-12-01 04:43 UTC · original
Closing for now: this PR is #3055's head plus one commit, and #3055 conflicts with
main, so this one can't be updated on its own (upstream's rule is one change per PR, from the latestmain). The brancht1u-controls-prstays on our fork. Once #3055 is updated or merged, we may reopen this, or open a new PR from the latestmain.Drafted with AI assistance (Claude Code).
Pull request closed