Mouse wheel as bindable inputs (WheelUp / WheelDown) in the MNK bindings #1791
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1791"
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-29T00:05:43Z.
Draft, not yet run in game.
Relates to #1485 (this PR does only the wheel part; raw-input mouse motion is not part of it).
Related: #1739 (a full MNK layout with an F5 editor) draws the wheel and binds the wheel click but has no WheelUp/WheelDown scroll binding; this PR adds only the scroll binding.
What it changes
VICTORY_MNKbindings could use keys and mouse buttons 1-5, but not the wheel. This addsWheelUpandWheelDownas binding names inbindings.ini(for exampleDpadUp = Up, WheelUp).lifecycle.rsreadsWM_MOUSEWHEELand passes the delta tomnk.rs. It counts only while MNK is on, the game window is the foreground window and F1 is closed. The queue is cleared when focus is lost or F1 opens.bindings.inichanges except a comment documenting the names.Related PRs, checked: #1549 (closed, not merged; keyboard prompts and raw mouse look), #1570 / #1356 (the wheel there cycles the radial-wheel sub-slots in the native mouse path, and does not touch
mnk.rs), #652 (wheel as D-pad in its own mapping, not in the MNK bindings), #1002 (touchesmnk.rsandlifecycle.rsfor title-bar capture; different hunks).How it was tested
cargo testpassed for the crates it touches: yes:cargo test --locked -p victory-hle mnk, 5 passed.Checked for overlap
This was written with AI assistance (Claude Code).