Native mouse and keyboard controls + F1 key bindings #3517

Closed
opened 2026-11-30 00:22:56 +00:00 by github-bot · 2 comments
Owner

@⁠Asugan94 on GitHub · 2026-11-30 00:22 UTC · original

What you would like

Why it broke

With native mouse and keyboard enabled, free mouse look and WASD driving worked. However, F1 could show F for entering a vehicle while the game expected Z on German QWERTZ, and the game still displayed Xbox icons.

  • F1 writes to bindings.ini, but fallback_for_seat skips the legacy mnk::sample() path in native mouse mode. This prevents legacy cursor recentering from interfering with raw mouse look. It also leaves gameplay using a fixed set of bindings.
  • show_keys_in_prompts returned early when VICTORY_MNK_BINDINGS was set, so having a profile configured suppressed keyboard prompts.

What fixes it

Keep the native input path for camera and driving. Remove the early return in show_keys_in_prompts and generate keycaps from the active bindings. Resolve physical key positions using the active Windows keyboard layout so the displayed key matches what the player sees, including Y / Z on QWERTY and QWERTZ.

Control changes

  • On foot and driving: F enters or exits a vehicle, C crouches and left Alt takes cover. The horn moves off F to Z on German QWERTZ. C stops sending the shoot or accelerate trigger on foot and while driving. Aircraft retain it for throttle. WASD driving is preserved.
  • Combat and NPCs: RMB aims or targets. LMB melees on its own, fires while aiming and operates the vehicle weapon while driving. While targeting an NPC, Q / E mirror the positive and negative reactions. In the radio menu they retain their previous/next functions.
  • Quick-select and loadout: Num 8 / 2 / 6 / 4 navigate up/down/right/left. The vehicle radio stick recenters after mouse movement stops. Hold Tab to open the loadout. LMB or Enter confirms, and scrolling or RMB cycles entries within the highlighted slot. The slot stays locked during the action, and a held click is consumed on exit so it cannot carry over into combat.
  • Map: M opens it, RMB drag pans it and the mouse wheel zooms. Mouse input is routed to the map only while its controls are active.

F1 → Key Bindings still needs updating

  • Make all native bindings editable in F1, including the context-specific combat, dialogue, quick-select, loadout and map controls.
  • Add a keyboard-layout selector with Auto (Windows layout) and manual QWERTY / QWERTZ options.
  • Use one binding profile for F1, gameplay and prompts. Detect actions such as opening the map or loadout from the configured binding, so their mouse controls still work after M or Tab is rebound.

Are you working on a fix?

None

**@⁠Asugan94** on GitHub · 2026-11-30 00:22 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3517) ### What you would like ## Why it broke With native mouse and keyboard enabled, free mouse look and WASD driving worked. However, F1 could show `F` for entering a vehicle while the game expected `Z` on German QWERTZ, and the game still displayed Xbox icons. - F1 writes to `bindings.ini`, but `fallback_for_seat` skips the legacy `mnk::sample()` path in native mouse mode. This prevents legacy cursor recentering from interfering with raw mouse look. It also leaves gameplay using a fixed set of bindings. - `show_keys_in_prompts` returned early when `VICTORY_MNK_BINDINGS` was set, so having a profile configured suppressed keyboard prompts. ## What fixes it Keep the native input path for camera and driving. Remove the early return in `show_keys_in_prompts` and generate keycaps from the active bindings. Resolve physical key positions using the active Windows keyboard layout so the displayed key matches what the player sees, including `Y` / `Z` on QWERTY and QWERTZ. ## Control changes - **On foot and driving:** `F` enters or exits a vehicle, `C` crouches and left `Alt` takes cover. The horn moves off `F` to `Z` on German QWERTZ. `C` stops sending the shoot or accelerate trigger on foot and while driving. Aircraft retain it for throttle. WASD driving is preserved. - **Combat and NPCs:** RMB aims or targets. LMB melees on its own, fires while aiming and operates the vehicle weapon while driving. While targeting an NPC, `Q` / `E` mirror the positive and negative reactions. In the radio menu they retain their previous/next functions. - **Quick-select and loadout:** Num `8` / `2` / `6` / `4` navigate up/down/right/left. The vehicle radio stick recenters after mouse movement stops. Hold `Tab` to open the loadout. LMB or `Enter` confirms, and scrolling or RMB cycles entries within the highlighted slot. The slot stays locked during the action, and a held click is consumed on exit so it cannot carry over into combat. - **Map:** `M` opens it, RMB drag pans it and the mouse wheel zooms. Mouse input is routed to the map only while its controls are active. ## F1 → Key Bindings still needs updating - [ ] Make all native bindings editable in F1, including the context-specific combat, dialogue, quick-select, loadout and map controls. - [ ] Add a keyboard-layout selector with **Auto (Windows layout)** and manual **QWERTY / QWERTZ** options. - [ ] Use one binding profile for F1, gameplay and prompts. Detect actions such as opening the map or loadout from the configured binding, so their mouse controls still work after `M` or `Tab` is rebound. ### Are you working on a fix? None
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 00:22:56 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-30 00:22 UTC · original

Please attach both logs from the run that went wrong. Without them we can only guess. Paste %LOCALAPPDATA% into the address bar of File Explorer to get there.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

**@⁠github-actions[bot]** on GitHub · 2026-11-30 00:22 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3517#issuecomment-7265210993) Please attach both logs from the run that went wrong. Without them we can only guess. Paste `%LOCALAPPDATA%` into the address bar of File Explorer to get there. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-30 16:38 UTC · original

This should be fixed in v2026.11.30.02. If it still happens on the latest version, please open a new issue with the logs from a run on that version (the play log from %LOCALAPPDATA%\victory\logs and crashes.log).

**@⁠trustno1-coder** on GitHub · 2026-11-30 16:38 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3517#issuecomment-7284998293) This should be fixed in [v2026.11.30.02](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.30.02). If it still happens on the latest version, please open a new issue with the logs from a run on that version (the play log from `%LOCALAPPDATA%\victory\logs` and `crashes.log`).
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA#3517
No description provided.