Input: a receiver answering for a switched-off pad hides the keyboard stand-in (fix on a fork) #845

Closed
opened 2026-11-26 04:14:03 +00:00 by github-bot · 8 comments
Owner

@⁠Numbers-iwnl on GitHub · 2026-11-24 12:14 UTC · original

Symptom. With a wireless receiver plugged in and its pad switched off, the keyboard never reaches the title. XInputGetState answers for the dead pad, so host::pad() returns Some(PadState::default()), State::poll sets any_pad = true, and the keyboard's stand-in pad is never connected. host::keys() still reads the keyboard while our window has focus, but the stand-in is the only device that carries those keys, so nothing arrives.

Measured on Windows 11 26300, RX 9070 XT, main ffe310e, diag build:

slot 0 -> CONNECTED buttons=0x0000      (wireless receiver, pad off)
slot 1 -> not connected (err 1167)
slot 2 -> not connected (err 1167)
slot 3 -> not connected (err 1167)
  • Real key events (keybd_event, ENTER/X/Y) with the title in true foreground (ALT unlock, then ESC to dismiss the system menu ALT opens, GetForegroundWindow() confirmed equal to the title's hwnd): account picker and wizard do not react.
  • VICTORY_KEYS=…:Enter,… in the diag build fires on schedule and produces no visible change either.
  • Turning the pad on, or unplugging the receiver, makes input work immediately.

Rule proposed (branch below): a host slot is a pad once it has reported anything other than rest, and stays a pad after that. A slot that has only ever reported rest is not one.

  • A dead pad behind a receiver: never becomes a pad, stand-in connects, keyboard works.
  • A pad that is played with: appears on the first press, and does not connect/disconnect on every button release.
  • A pad that starts idle: invisible until its first press, which is the same press the title would act on.

Fix on a fork

Branch: Numbers-iwnl/VIctory@fix/idle-receiver-keyboard, commit 517f277, based on origin/main ffe310e. One file, crates/victory-hle/src/modules/gameinput.rs:

  • State::seen_input: [bool; PADS], set when a slot reports non-rest input.
  • State::poll filters each slot through it before computing any_pad and before update().
  • New test modules::gameinput::tests::a_receiver_with_a_switched_off_pad_does_not_hide_the_keyboard_stand_in: an all-zero slot leaves the stand-in connected and reports DEVICE_DISCONNECTED for the slot; the first press connects the pad and disconnects the stand-in; a pad back at rest stays connected with no further callbacks.
  • unregistering_waits_for_a_running_callback seeded an all-zero pad and waited for its connect callback, which the new rule no longer sends; it presses a button now.

Tests

  • cargo test -p victory-hle -- --test-threads=4: 95 passed, 0 failed, 0 ignored.
  • cargo test -p victory-shader --lib: 120 passed, 0 failed, 1 ignored (unchanged, run for the asset-policy hook).

Not tested

  • No title run with this change, so the end-to-end case (dead receiver, keyboard drives the first-boot screens) is not demonstrated by a run — the branch is the unit-level evidence only.
  • Whether the real XInput slot churns when a pad sleeps mid-run (a pad that has reported input keeps its slot here, so it should not).

AI use

  • Written with Hermes Agent (model DeepSeek), including the test; the suite above was run on the machine described.
**@⁠Numbers-iwnl** on GitHub · 2026-11-24 12:14 UTC · [original](https://github.com/Marvisak/VIctory/issues/845) **Symptom.** With a wireless receiver plugged in and its pad switched off, the keyboard never reaches the title. `XInputGetState` answers for the dead pad, so `host::pad()` returns `Some(PadState::default())`, `State::poll` sets `any_pad = true`, and the keyboard's stand-in pad is never connected. `host::keys()` still reads the keyboard while our window has focus, but the stand-in is the only device that carries those keys, so nothing arrives. **Measured** on Windows 11 26300, RX 9070 XT, main `ffe310e`, diag build: ``` slot 0 -> CONNECTED buttons=0x0000 (wireless receiver, pad off) slot 1 -> not connected (err 1167) slot 2 -> not connected (err 1167) slot 3 -> not connected (err 1167) ``` - Real key events (`keybd_event`, ENTER/X/Y) with the title in true foreground (ALT unlock, then ESC to dismiss the system menu ALT opens, `GetForegroundWindow()` confirmed equal to the title's hwnd): account picker and wizard do not react. - `VICTORY_KEYS=…:Enter,…` in the diag build fires on schedule and produces no visible change either. - Turning the pad on, or unplugging the receiver, makes input work immediately. **Rule proposed** (branch below): a host slot is a pad once it has reported anything other than rest, and stays a pad after that. A slot that has only ever reported rest is not one. - A dead pad behind a receiver: never becomes a pad, stand-in connects, keyboard works. - A pad that is played with: appears on the first press, and does not connect/disconnect on every button release. - A pad that starts idle: invisible until its first press, which is the same press the title would act on. **Fix on a fork** Branch: [`Numbers-iwnl/VIctory@fix/idle-receiver-keyboard`](https://github.com/Numbers-iwnl/VIctory/tree/fix/idle-receiver-keyboard), commit [`517f277`](https://github.com/Numbers-iwnl/VIctory/commit/517f2775796f7e797c209fd74db6951b9f6b7634), based on `origin/main` `ffe310e`. One file, `crates/victory-hle/src/modules/gameinput.rs`: - `State::seen_input: [bool; PADS]`, set when a slot reports non-rest input. - `State::poll` filters each slot through it before computing `any_pad` and before `update()`. - New test `modules::gameinput::tests::a_receiver_with_a_switched_off_pad_does_not_hide_the_keyboard_stand_in`: an all-zero slot leaves the stand-in connected and reports `DEVICE_DISCONNECTED` for the slot; the first press connects the pad and disconnects the stand-in; a pad back at rest stays connected with no further callbacks. - `unregistering_waits_for_a_running_callback` seeded an all-zero pad and waited for its connect callback, which the new rule no longer sends; it presses a button now. **Tests** - `cargo test -p victory-hle -- --test-threads=4`: 95 passed, 0 failed, 0 ignored. - `cargo test -p victory-shader --lib`: 120 passed, 0 failed, 1 ignored (unchanged, run for the asset-policy hook). **Not tested** - No title run with this change, so the end-to-end case (dead receiver, keyboard drives the first-boot screens) is not demonstrated by a run — the branch is the unit-level evidence only. - Whether the real XInput slot churns when a pad sleeps mid-run (a pad that has reported input keeps its slot here, so it should not). **AI use** - Written with Hermes Agent (model DeepSeek), including the test; the suite above was run on the machine described.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:14:03 +00:00
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-11-24 12:26 UTC · original

I tested a follow-up case on 517f277 with the existing fake GameInput host. A pad reports input in slot 0, the host reports that slot disconnected, and a neutral receiver then appears in the same slot. The remembered input carries across the disconnect, so the neutral slot takes over and the keyboard stand-in disappears again.

Clearing seen_input when the host reports a disconnect makes it apply to the current connection. In the regression test, Enter now reaches the stand-in as A after the neutral reconnect. The original idle-receiver test and all 96 victory-hle library tests passed on Windows.

AI-assisted. Verified with synthetic GameInput states, including an explicit disconnect.

Incremental patch on 517f277
diff --git a/crates/victory-hle/src/modules/gameinput.rs b/crates/victory-hle/src/modules/gameinput.rs
index b4ab69b..587edf1 100644
--- a/crates/victory-hle/src/modules/gameinput.rs
+++ b/crates/victory-hle/src/modules/gameinput.rs
@@ -325,9 +325,8 @@ struct State {
     pending: Vec<Event>,
     /// Device callbacks running now: token and thread.
     running: Vec<(u64, ThreadId)>,
-    /// Host slots that have reported input at least once. A wireless receiver
-    /// answers for its pad while the pad is off, with an all-zero report; that
-    /// slot is not a pad until something is actually pressed.
+    /// Host slots that have reported input on their current connection. A
+    /// wireless receiver may report a neutral pad while the pad is off.
     seen_input: [bool; PADS],
 }
 
@@ -463,7 +462,10 @@ impl State {
         // answering for a pad that is switched off, and its all-zero report used to hide the
         // keyboard's stand-in, leaving the keyboard dead with no pad in hand.
         let pads: [Option<PadState>; PADS] = std::array::from_fn(|slot| {
-            let pad = pads[slot]?;
+            let Some(pad) = pads[slot] else {
+                self.seen_input[slot] = false;
+                return None;
+            };
             if pad != PadState::default() {
                 self.seen_input[slot] = true;
             }
@@ -1532,6 +1534,35 @@ mod tests {
         assert_eq!(current(hub, GAMEPAD_KIND, FALLBACK), Err(DEVICE_DISCONNECTED));
     }
 
+    #[test]
+    fn a_reconnected_idle_slot_does_not_hide_the_keyboard_stand_in() {
+        let (hub, host) = fake();
+        host.lock().unwrap().pads[0] = Some(PadState {
+            buttons: B,
+            ..Default::default()
+        });
+        hub.poll();
+        assert_eq!(
+            current(hub, GAMEPAD_KIND, FALLBACK),
+            Err(DEVICE_DISCONNECTED)
+        );
+
+        host.lock().unwrap().pads[0] = None;
+        hub.poll();
+        assert_eq!(current(hub, GAMEPAD_KIND, 0), Err(DEVICE_DISCONNECTED));
+
+        {
+            let mut host = host.lock().unwrap();
+            host.pads[0] = Some(PadState::default());
+            host.keys = vec![key(0x0D)];
+        }
+        hub.poll();
+        assert_eq!(current(hub, GAMEPAD_KIND, 0), Err(DEVICE_DISCONNECTED));
+        let reading = current(hub, GAMEPAD_KIND, FALLBACK).unwrap();
+        assert_eq!(pad(reading).buttons, A);
+        release(reading);
+    }
+
     #[test]
     fn keys_feed_the_keyboard_and_the_stand_in_pad() {
         let (hub, host) = fake();
**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-11-24 12:26 UTC · [original](https://github.com/Marvisak/VIctory/issues/845#issuecomment-7131438481) I tested a follow-up case on `517f277` with the existing fake GameInput host. A pad reports input in slot 0, the host reports that slot disconnected, and a neutral receiver then appears in the same slot. The remembered input carries across the disconnect, so the neutral slot takes over and the keyboard stand-in disappears again. Clearing `seen_input` when the host reports a disconnect makes it apply to the current connection. In the regression test, Enter now reaches the stand-in as A after the neutral reconnect. The original idle-receiver test and all 96 `victory-hle` library tests passed on Windows. AI-assisted. Verified with synthetic GameInput states, including an explicit disconnect. <details> <summary>Incremental patch on 517f277</summary> ```diff diff --git a/crates/victory-hle/src/modules/gameinput.rs b/crates/victory-hle/src/modules/gameinput.rs index b4ab69b..587edf1 100644 --- a/crates/victory-hle/src/modules/gameinput.rs +++ b/crates/victory-hle/src/modules/gameinput.rs @@ -325,9 +325,8 @@ struct State { pending: Vec<Event>, /// Device callbacks running now: token and thread. running: Vec<(u64, ThreadId)>, - /// Host slots that have reported input at least once. A wireless receiver - /// answers for its pad while the pad is off, with an all-zero report; that - /// slot is not a pad until something is actually pressed. + /// Host slots that have reported input on their current connection. A + /// wireless receiver may report a neutral pad while the pad is off. seen_input: [bool; PADS], } @@ -463,7 +462,10 @@ impl State { // answering for a pad that is switched off, and its all-zero report used to hide the // keyboard's stand-in, leaving the keyboard dead with no pad in hand. let pads: [Option<PadState>; PADS] = std::array::from_fn(|slot| { - let pad = pads[slot]?; + let Some(pad) = pads[slot] else { + self.seen_input[slot] = false; + return None; + }; if pad != PadState::default() { self.seen_input[slot] = true; } @@ -1532,6 +1534,35 @@ mod tests { assert_eq!(current(hub, GAMEPAD_KIND, FALLBACK), Err(DEVICE_DISCONNECTED)); } + #[test] + fn a_reconnected_idle_slot_does_not_hide_the_keyboard_stand_in() { + let (hub, host) = fake(); + host.lock().unwrap().pads[0] = Some(PadState { + buttons: B, + ..Default::default() + }); + hub.poll(); + assert_eq!( + current(hub, GAMEPAD_KIND, FALLBACK), + Err(DEVICE_DISCONNECTED) + ); + + host.lock().unwrap().pads[0] = None; + hub.poll(); + assert_eq!(current(hub, GAMEPAD_KIND, 0), Err(DEVICE_DISCONNECTED)); + + { + let mut host = host.lock().unwrap(); + host.pads[0] = Some(PadState::default()); + host.keys = vec![key(0x0D)]; + } + hub.poll(); + assert_eq!(current(hub, GAMEPAD_KIND, 0), Err(DEVICE_DISCONNECTED)); + let reading = current(hub, GAMEPAD_KIND, FALLBACK).unwrap(); + assert_eq!(pad(reading).buttons, A); + release(reading); + } + #[test] fn keys_feed_the_keyboard_and_the_stand_in_pad() { let (hub, host) = fake(); ``` </details>
Author
Owner

@⁠Numbers-iwnl on GitHub · 2026-11-24 12:42 UTC · original

Case confirmed and applied on the branch.

A slot that reported input, disconnected and came back neutral kept the flag set, so a receiver that re-paired without a pad took the stand-in away again. The flag now clears when the host reports the slot disconnected, which makes it apply to the current connection only.

  • Branch: Numbers-iwnl/VIctory@fix/idle-receiver-keyboard, head c8ab89c (on ffe310e)
  • crates/victory-hle/src/modules/gameinput.rs: the disconnect branch of the slot filter resets the flag; the struct comment says so
  • Test a_reconnected_idle_slot_does_not_hide_the_keyboard_stand_in is included as posted, with Co-authored-by on the commit
  • cargo test -p victory-hle -- --test-threads=4: 96 passed, 0 failed, 0 ignored — both a_receiver_with_a_switched_off_pad_does_not_hide_the_keyboard_stand_in and the reconnected case pass

Still no title run on this branch, so the end-to-end case remains unit-level evidence.

AI-assisted — agent: yes.

**@⁠Numbers-iwnl** on GitHub · 2026-11-24 12:42 UTC · [original](https://github.com/Marvisak/VIctory/issues/845#issuecomment-7131820319) Case confirmed and applied on the branch. A slot that reported input, disconnected and came back neutral kept the flag set, so a receiver that re-paired without a pad took the stand-in away again. The flag now clears when the host reports the slot disconnected, which makes it apply to the current connection only. - Branch: `Numbers-iwnl/VIctory@fix/idle-receiver-keyboard`, head `c8ab89c` (on `ffe310e`) - `crates/victory-hle/src/modules/gameinput.rs`: the disconnect branch of the slot filter resets the flag; the struct comment says so - Test `a_reconnected_idle_slot_does_not_hide_the_keyboard_stand_in` is included as posted, with `Co-authored-by` on the commit - `cargo test -p victory-hle -- --test-threads=4`: 96 passed, 0 failed, 0 ignored — both `a_receiver_with_a_switched_off_pad_does_not_hide_the_keyboard_stand_in` and the reconnected case pass Still no title run on this branch, so the end-to-end case remains unit-level evidence. AI-assisted — agent: yes.
Author
Owner

@⁠Louisreed on GitHub · 2026-11-24 13:25 UTC · original

Independently verified the updated head c8ab89c (fix/idle-receiver-keyboard, base ffe310e, which is still main) on Windows 10 22H2 (19045), Rust 1.98.1 MSVC.

  • cargo test -p victory-hle --locked: 96 unit + 1 integration passed, 0 failed.
  • Both new tests fail on unfixed main (test module swapped in, main's code):
    • a_receiver_with_a_switched_off_pad_does_not_hide_the_keyboard_stand_in: "an all-zero slot is not a pad".
    • a_reconnected_idle_slot_does_not_hide_the_keyboard_stand_in: fails at the first stand-in assertion.
  • Clippy -D warnings and cargo xtask policy (154 files ok) are clean. rustfmt --check gameinput.rs reports one hunk at line ~838 (hub.returned.wait(...)), but it's outside this diff and also present on main.

The diff reads correctly: seen_input is set on non-rest input and cleared on None, and it filters slots before any_pad, so the stand-in decision and update() see the same view. The edit to unregistering_waits_for_a_running_callback keeps that test's intent.

One observation, not tested: an idle pad now connects on the same poll as its first press, so a title that only starts reading a device after its connect callback could miss that press. This only matters if titles behave that way. The branch's unit tests can't show it either way.

Not tested: any title or real receiver. Synthetic GameInput states only, no game data.

AI-assisted (Claude). I ran the checks locally.

**@⁠Louisreed** on GitHub · 2026-11-24 13:25 UTC · [original](https://github.com/Marvisak/VIctory/issues/845#issuecomment-7132819300) Independently verified the updated head `c8ab89c` (`fix/idle-receiver-keyboard`, base `ffe310e`, which is still `main`) on Windows 10 22H2 (19045), Rust 1.98.1 MSVC. - `cargo test -p victory-hle --locked`: 96 unit + 1 integration passed, 0 failed. - Both new tests fail on unfixed `main` (test module swapped in, `main`'s code): - `a_receiver_with_a_switched_off_pad_does_not_hide_the_keyboard_stand_in`: "an all-zero slot is not a pad". - `a_reconnected_idle_slot_does_not_hide_the_keyboard_stand_in`: fails at the first stand-in assertion. - Clippy `-D warnings` and `cargo xtask policy` (154 files ok) are clean. `rustfmt --check gameinput.rs` reports one hunk at line ~838 (`hub.returned.wait(...)`), but it's outside this diff and also present on `main`. The diff reads correctly: `seen_input` is set on non-rest input and cleared on `None`, and it filters slots before `any_pad`, so the stand-in decision and `update()` see the same view. The edit to `unregistering_waits_for_a_running_callback` keeps that test's intent. One observation, not tested: an idle pad now connects on the same poll as its first press, so a title that only starts reading a device after its connect callback could miss that press. This only matters if titles behave that way. The branch's unit tests can't show it either way. Not tested: any title or real receiver. Synthetic GameInput states only, no game data. _AI-assisted (Claude). I ran the checks locally._
Author
Owner

@⁠Numbers-iwnl on GitHub · 2026-11-24 13:33 UTC · original

On the missed-press observation: tested at the poll level, head now a6884a3.

the_first_press_is_still_current_after_the_connect_callback: the press that makes an idle slot a pad arrives in the same poll as the connect callback, and that reading stays current until the pad reports something else. A title that only starts reading after its callback gets the pressed state on its next read; the release then produces a new reading.

The residual case is narrower than "a title that reads late": a press that starts and ends between two polls is lost, which is true of any poll-level input path and not something this branch can change. No title run either way, so the callback-ordering question stays open until something drives the first-boot screens through it.

  • Head a6884a3 on Numbers-iwnl/VIctory@fix/idle-receiver-keyboard
  • cargo test -p victory-hle -- --test-threads=4: 97 passed, 0 failed, 0 ignored

AI-assisted — agent: yes.

**@⁠Numbers-iwnl** on GitHub · 2026-11-24 13:33 UTC · [original](https://github.com/Marvisak/VIctory/issues/845#issuecomment-7133003752) On the missed-press observation: tested at the poll level, head now `a6884a3`. `the_first_press_is_still_current_after_the_connect_callback`: the press that makes an idle slot a pad arrives in the same poll as the connect callback, and that reading stays current until the pad reports something else. A title that only starts reading after its callback gets the pressed state on its next read; the release then produces a new reading. The residual case is narrower than "a title that reads late": a press that starts and ends between two polls is lost, which is true of any poll-level input path and not something this branch can change. No title run either way, so the callback-ordering question stays open until something drives the first-boot screens through it. - Head `a6884a3` on `Numbers-iwnl/VIctory@fix/idle-receiver-keyboard` - `cargo test -p victory-hle -- --test-threads=4`: 97 passed, 0 failed, 0 ignored AI-assisted — agent: yes.
Author
Owner

@⁠Numbers-iwnl on GitHub · 2026-11-24 14:04 UTC · original

Status of the tree, for anyone reading the reference above.

Commit 88196f77 ("Wave 7: …") references this issue and carries the same seen_input rule, but it is not on main: main at ffe310e has no seen_input in crates/victory-hle/src/modules/gameinput.rs, and no branch head or open pull request carries that commit (commits/88196f77/branches-where-head is empty, and compare/ffe310e...88196f77 reports it 18 commits ahead on a line of its own).

So the fork branch in the description — Numbers-iwnl/VIctory@fix/idle-receiver-keyboard, head a6884a3 — remains the only tree with the change, at 97 passing victory-hle tests.

AI-assisted — agent: yes.

**@⁠Numbers-iwnl** on GitHub · 2026-11-24 14:04 UTC · [original](https://github.com/Marvisak/VIctory/issues/845#issuecomment-7133792196) Status of the tree, for anyone reading the reference above. Commit `88196f77` ("Wave 7: …") references this issue and carries the same `seen_input` rule, but it is not on `main`: `main` at `ffe310e` has no `seen_input` in `crates/victory-hle/src/modules/gameinput.rs`, and no branch head or open pull request carries that commit (`commits/88196f77/branches-where-head` is empty, and `compare/ffe310e...88196f77` reports it 18 commits ahead on a line of its own). So the fork branch in the description — `Numbers-iwnl/VIctory@fix/idle-receiver-keyboard`, head `a6884a3` — remains the only tree with the change, at 97 passing `victory-hle` tests. AI-assisted — agent: yes.
Author
Owner

@⁠BaggyALPHA on GitHub · 2026-11-24 15:55 UTC · original

Live compatibility check of the input changes at a6884a3 on top of the Series S presentation fix from #211. WARP, fresh test profile, physical Xbox controller, and no scripted input.

With the controller switched off, XInput reported no connected slots. In the title, the keyboard's stand-in pad connected and Enter advanced the Player prompt. During setup the controller was turned back on. VIctory reported the real pad connected and the stand-in disconnected, and the setup screen advanced after reconnection.

This covers a normal disconnect and reconnect in the title. The switched-off controller on this setup did not leave a neutral XInput slot connected, so the specific receiver behavior in the issue remains unverified live. All nine GameInput unit tests passed on the unmodified a6884a3 fork, including the neutral receiver, reconnect, and first-press cases.

AI-assisted test execution and write-up (OpenAI Codex).

**@⁠BaggyALPHA** on GitHub · 2026-11-24 15:55 UTC · [original](https://github.com/Marvisak/VIctory/issues/845#issuecomment-7136851354) Live compatibility check of the input changes at `a6884a3` on top of the Series S presentation fix from #211. WARP, fresh test profile, physical Xbox controller, and no scripted input. With the controller switched off, XInput reported no connected slots. In the title, the keyboard's stand-in pad connected and Enter advanced the Player prompt. During setup the controller was turned back on. VIctory reported the real pad connected and the stand-in disconnected, and the setup screen advanced after reconnection. This covers a normal disconnect and reconnect in the title. The switched-off controller on this setup did not leave a neutral XInput slot connected, so the specific receiver behavior in the issue remains unverified live. All nine GameInput unit tests passed on the unmodified `a6884a3` fork, including the neutral receiver, reconnect, and first-press cases. AI-assisted test execution and write-up (OpenAI Codex).
Author
Owner

@⁠MamaLeVrai on GitHub · 2026-11-24 19:45 UTC · original

@⁠Numbers-iwnl your fix for this issue is now in a pull request, #1610, with seven other fixes from contributors' forks: the branch is merged as it is, with your commit(s) and your name unchanged, onto main ffe310e. Clippy (both runs) and cargo test --workspace pass on the result. If you would rather open your own pull request for this one, say so and I will take it out of #1610. AI-assisted (Claude Code); no game data.

**@⁠MamaLeVrai** on GitHub · 2026-11-24 19:45 UTC · [original](https://github.com/Marvisak/VIctory/issues/845#issuecomment-7142546534) @⁠Numbers-iwnl your fix for this issue is now in a pull request, #1610, with seven other fixes from contributors' forks: the branch is merged as it is, with your commit(s) and your name unchanged, onto `main` `ffe310e`. Clippy (both runs) and `cargo test --workspace` pass on the result. If you would rather open your own pull request for this one, say so and I will take it out of #1610. AI-assisted (Claude Code); no game data.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 03:55 UTC · original

Automated triage for the maintainers.

Confirmed on current main: in crates/victory-hle/src/modules/gameinput.rs, State::poll sets any_pad as soon as any host slot answers (pads.iter().any(Option::is_some)) and feeds the keyboard stand-in (FALLBACK) only when none does. A receiver that reports a switched-off pad at rest therefore hides the keyboard, as described.

Bundle #1610, which carried your branch, was closed without being merged, so the change is not on main. Open PR #1430 (for the related #729) also keeps the stand-in while XInput slots are idle. Pull requests are open to everyone again (see #717), so please open your branch (a6884a3) as a PR, or compare it with #1430 and comment there if one approach covers both cases.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 03:55 UTC · [original](https://github.com/Marvisak/VIctory/issues/845#issuecomment-7152364765) <!-- victory-issue-triage v1 verdict=confirmed seen=2026-11-24T19:45:28Z at=2026-11-25T03:55:22Z --> Automated triage for the maintainers. Confirmed on current `main`: in `crates/victory-hle/src/modules/gameinput.rs`, `State::poll` sets `any_pad` as soon as any host slot answers (`pads.iter().any(Option::is_some)`) and feeds the keyboard stand-in (`FALLBACK`) only when none does. A receiver that reports a switched-off pad at rest therefore hides the keyboard, as described. Bundle #1610, which carried your branch, was closed without being merged, so the change is not on `main`. Open PR #1430 (for the related #729) also keeps the stand-in while XInput slots are idle. Pull requests are open to everyone again (see #717), so please open your branch (`a6884a3`) as a PR, or compare it with #1430 and comment there if one approach covers both cases. --- _Generated by [Claude Code](https://claude.ai/code)_
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/Marvisak--VIctory#845
No description provided.