MNK=1: physical gamepad is no longer enumerated; controller input dead until MNK is disabled #2436

Closed
opened 2026-11-29 13:06:07 +00:00 by github-bot · 3 comments
Owner

@⁠ZorionTen on GitHub · 2026-11-29 13:00 UTC · original

Setup

v2026.11.29.01 release, RTX 3060, Series S profile (1080p internal), DLSS Quality, FSR 3 FG 2x, Windows 11. Wired Xbox-style pad (Cosmic Byte, XInput).

Behavior

With VICTORY_MNK=1, the physical controller stops working entirely — KBM is perfect. With VICTORY_MNK= disabled, the controller works fully (but no mouse). Mouse capture on/off makes no difference. In-game prompts still show gamepad buttons during MNK sessions.

Evidence (play log)

With MNK on, only the two MNK devices enumerate and the game sees a single device — no connected=true line for the physical pad appears for the whole run:

2026-11-29T12:51:54Z  INFO victory_hle::modules::gameinput: input device device=4 connected=true
2026-11-29T12:51:54Z  INFO victory_hle::modules::gameinput: input device device=5 connected=true
2026-11-29T12:51:54Z  INFO victory_hle::modules::gameinput: input device callback kind=0x40000 enumeration=2 devices=1

Test matrix (same config otherwise)

MNK Capture Mouse Controller
off — ✗ ✓
on off ✓ ✗
on on ✓ ✗

Expected

MNK adds a second (virtual) pad alongside the real one, or at least passes the real pad through.

Logs (from an MNK=1 run with the pad connected)

  • %LOCALAPPDATA%\victory\logs\victory-nvidia-play-20261129-125151-28008.log
  • %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log (no crash — this is an input bug)
**@⁠ZorionTen** on GitHub · 2026-11-29 13:00 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2436) ### Setup v2026.11.29.01 release, RTX 3060, Series S profile (1080p internal), DLSS Quality, FSR 3 FG 2x, Windows 11. Wired Xbox-style pad (Cosmic Byte, XInput). ### Behavior With `VICTORY_MNK=1`, the physical controller stops working entirely — KBM is perfect. With `VICTORY_MNK=` disabled, the controller works fully (but no mouse). Mouse capture on/off makes no difference. In-game prompts still show gamepad buttons during MNK sessions. ### Evidence (play log) With MNK on, only the two MNK devices enumerate and the game sees a single device — no `connected=true` line for the physical pad appears for the whole run: ``` 2026-11-29T12:51:54Z INFO victory_hle::modules::gameinput: input device device=4 connected=true 2026-11-29T12:51:54Z INFO victory_hle::modules::gameinput: input device device=5 connected=true 2026-11-29T12:51:54Z INFO victory_hle::modules::gameinput: input device callback kind=0x40000 enumeration=2 devices=1 ``` ### Test matrix (same config otherwise) | MNK | Capture | Mouse | Controller | |---|---|---|---| | off | — | ✗ | ✓ | | on | off | ✓ | ✗ | | on | on | ✓ | ✗ | ### Expected MNK adds a second (virtual) pad alongside the real one, or at least passes the real pad through. ### Logs (from an MNK=1 run with the pad connected) - `%LOCALAPPDATA%\victory\logs\victory-nvidia-play-20261129-125151-28008.log` - `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log` (no crash — this is an input bug)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 13:06:07 +00:00
Author
Owner

@⁠ZorionTen on GitHub · 2026-11-29 13:25 UTC · original

Update: this is a regression vs v2026.11.28.03. On that build, with the same config (VICTORY_MNK=1, capture off, wired Xbox-style pad), the physical controller works fully alongside working KBM. On v2026.11.29.01 the pad is dead whenever MNK is on.

Old-build play log (same single-device enumeration, controller functional):
%LOCALAPPDATA%\victory\logs\victory-nvidia-play-20261129-131640-6548.log

**@⁠ZorionTen** on GitHub · 2026-11-29 13:25 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2436#issuecomment-7256522229) **Update:** this is a regression vs v2026.11.28.03. On that build, with the same config (`VICTORY_MNK=1`, capture off, wired Xbox-style pad), the physical controller works fully *alongside* working KBM. On v2026.11.29.01 the pad is dead whenever MNK is on. Old-build play log (same single-device enumeration, controller functional): `%LOCALAPPDATA%\victory\logs\victory-nvidia-play-20261129-131640-6548.log`
Author
Owner

@⁠ZorionTen on GitHub · 2026-11-29 18:40 UTC · original

Refined matrix from further testing (same machine/build):

Config Mouse Keyboard Controller Prompts
MNK off ✗ ✓ ✓ keyboard (wrong)
MNK on, capture on ✓ ✓ ✗ gamepad (wrong)

Additional detail: with capture on but the rest of MNK off, the mouse does not work — the full MNK layer is required for mouse look, and enabling it is what kills the pad. So on this build the input layer is strictly exclusive: {mouse+keyboard} or {gamepad}, never both, and prompt icons follow neither correctly (tracked separately in #2383).

Reference: Neptune's design (VICTORY_KEYBOARD, auto-off while a controller is connected) handles this exact case.

**@⁠ZorionTen** on GitHub · 2026-11-29 18:40 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2436#issuecomment-7260673779) **Refined matrix from further testing (same machine/build):** | Config | Mouse | Keyboard | Controller | Prompts | |---|---|---|---|---| | MNK off | ✗ | ✓ | ✓ | keyboard (wrong) | | MNK on, capture on | ✓ | ✓ | ✗ | gamepad (wrong) | Additional detail: with capture on but the rest of MNK off, the mouse does not work — the full MNK layer is required for mouse look, and enabling it is what kills the pad. So on this build the input layer is strictly exclusive: {mouse+keyboard} or {gamepad}, never both, and prompt icons follow neither correctly (tracked separately in #2383). Reference: Neptune's design (VICTORY_KEYBOARD, auto-off while a controller is connected) handles this exact case.
Author
Owner

@⁠ZorionTen on GitHub · 2026-11-30 07:11 UTC · original

Fixed in our tree (commit faa66194, the one-line port): removing \|\| mnk from the slot-0 XInput condition restores the pad under MNK — the existing 'stand-in drives while XInput lists none' logic does the yielding, Neptune-style. Confirmed working in play: controller in gameplay with MNK on, mouse and keyboard still functional. Root cause stands: the unconditional XInput null.

**@⁠ZorionTen** on GitHub · 2026-11-30 07:11 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2436#issuecomment-7271452445) **Fixed in our tree** (commit faa66194, the one-line port): removing `\|\| mnk` from the slot-0 XInput condition restores the pad under MNK — the existing 'stand-in drives while XInput lists none' logic does the yielding, Neptune-style. Confirmed working in play: controller in gameplay with MNK on, mouse and keyboard still functional. Root cause stands: the unconditional XInput null.
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#2436
No description provided.