MnK profile: a bindable mouse wheel, and mouse motion by raw input instead of cursor polling #1485
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Jesper-Andersson on 2026-11-28T20:43:36Z.
Checked on main
923e38c. This is a proposal, not a bug report.State on main
crates/victory-hle/src/modules/mnk.rs: bindings are virtual-key codes read withGetAsyncKeyState.key()(line 37 on) knowsMOUSE1..MOUSE5and hex codes. The wheel has no virtual key and no state to poll, so it cannot be bound. The in-game zoom prompts (D-pad up/down) therefore have no mouse input.sample()(line 223) pollsGetCursorPosabout every 8 ms andrecenter()(lines 164-185) puts the cursor back at the window centre withSetCursorPos. There is noWM_INPUTorRegisterRawInputDeviceson main.Proposal (not tested on main)
WheelUp/WheelDown) that the window hook fills fromWM_MOUSEWHEEL, bindable to any button, with D-pad up/down as the example. One notch makes one press held about 70 ms, then a gap, so a frame at 15-25 fps sees it. #652, #482 and #1356 do a version of this inside their own mappings; main's bindings file has no way to say it.WM_INPUTand sumlLastX/lLastYbetween polls. Pointer acceleration ("enhance pointer precision") and clipping at a screen edge would no longer change the counts, and the cursor would not need a warp every 8 ms. That also removes the pull that fights window dragging (see #1002).Expected, not measured
Alternatives: #1356, per its title, does native 1:1 mouse aiming, and it already registers raw input (
RegisterRawInputDevices) for that, so part of item 2 overlaps with it; #989 ("the camera follows the mouse") and #482 are other mouse-look PRs; #1195 and #1149 tune the existing stick mapping. This proposal keeps the stick mapping and only changes where the numbers come from and what the wheel can do.On our fork a wheel binding and a raw-input option are written but have not been played yet, so I cannot say how they feel.
PC: RTX 2070 SUPER 8 GB, Ryzen 7 5800X, 32 GB, Windows 11.
This was written with AI assistance (Claude Code).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-28T20:43:44Z.
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.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-30T15:42:47Z.
Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.
If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:
victory-nvidia-play-<date>-<time>-<number>.login%LOCALAPPDATA%\victory\logs\.%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\if there is one from that run.