feat(menu): dual keyboard binding columns #2753

Closed
cfw34683 wants to merge 1 commit from cfw34683:fix/2717-dual-keys-and-live-rupees into main
Contributor

Summary

See #2717 (live rupee editing split into #2814 per review feedback).

Exposes both keyboard binding slots in the Controls UI:

  • host/nn_hid.c: hos_rebind_control now respects slot (0 or 1) for HOS_BIND_KEY instead of overwriting slot 0 and clearing slot 1.
  • gpu/vk/vk_menu_hit.h & gpu/vk/vk_menu.cpp: Split the single Keyboard column into Input 1 and Input 2 under Keyboard (kCtlKeyPrimary, kCtlKeyAlternate), allowing each slot to be bound and cleared independently.
  • tests/test_bound_keys.py, tests/test_menu_hit.cpp, tests/test_menu_keys.py: Updated for the two keyboard columns and added slot 1 keyboard rebind assertions.
  • docs/user/images/guide/manifest.json & docs/user/images/guide/source-review-2717-keys.md: Updated reviewed_source hashes for settings-graphics.png.

Testing

Tested: Windows 11 x86_64, in-game (longshot.exe + longshot_vk.dll built from this branch with llvm-mingw).

  • Bound B (sword swing) to K (Keyboard -> Input 1) and U (Keyboard -> Input 2), saved, restarted, and confirmed both K and U persisted.
  • Tested in gameplay: both K and U swing the sword.
  • Selected Input 2 (U) and pressed Delete/Backspace: cleared Input 2 while leaving Input 1 (K) intact.
  • Ran tests/test_bound_keys.py, tests/test_menu_hit.py, tests/test_menu_i18n.py, tests/test_menu_i18n_count.py, and tests/test_guide_screenshots.py: all passed.

Still to test: None.

Measurements

Nothing to measure: Controls UI layout and key-slot binding change only, no rendering or frame-time hot path changed.

Risks

Low risk. Controls INI format (key_* = A,U) is unchanged, and reverting this PR restores the single Keyboard column.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says.
  • mise run test passes (any failure that also fails on main is named).
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A check under tests/ that reads changed source is updated, not weakened.
  • Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers").
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.
## Summary See #2717 (live rupee editing split into #2814 per review feedback). Exposes both keyboard binding slots in the Controls UI: - `host/nn_hid.c`: `hos_rebind_control` now respects `slot` (`0` or `1`) for `HOS_BIND_KEY` instead of overwriting slot `0` and clearing slot `1`. - `gpu/vk/vk_menu_hit.h` & `gpu/vk/vk_menu.cpp`: Split the single `Keyboard` column into `Input 1` and `Input 2` under `Keyboard` (`kCtlKeyPrimary`, `kCtlKeyAlternate`), allowing each slot to be bound and cleared independently. - `tests/test_bound_keys.py`, `tests/test_menu_hit.cpp`, `tests/test_menu_keys.py`: Updated for the two keyboard columns and added slot `1` keyboard rebind assertions. - `docs/user/images/guide/manifest.json` & `docs/user/images/guide/source-review-2717-keys.md`: Updated `reviewed_source` hashes for `settings-graphics.png`. ## Testing **Tested:** Windows 11 x86_64, in-game (`longshot.exe` + `longshot_vk.dll` built from this branch with `llvm-mingw`). - Bound `B` (sword swing) to `K` (`Keyboard -> Input 1`) and `U` (`Keyboard -> Input 2`), saved, restarted, and confirmed both `K` and `U` persisted. - Tested in gameplay: both `K` and `U` swing the sword. - Selected `Input 2` (`U`) and pressed `Delete`/`Backspace`: cleared `Input 2` while leaving `Input 1` (`K`) intact. - Ran `tests/test_bound_keys.py`, `tests/test_menu_hit.py`, `tests/test_menu_i18n.py`, `tests/test_menu_i18n_count.py`, and `tests/test_guide_screenshots.py`: all passed. **Still to test:** None. ## Measurements Nothing to measure: Controls UI layout and key-slot binding change only, no rendering or frame-time hot path changed. ## Risks Low risk. Controls INI format (`key_* = A,U`) is unchanged, and reverting this PR restores the single `Keyboard` column. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [x] `mise run test` passes (any failure that also fails on `main` is named). - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A check under `tests/` that reads changed source is updated, not weakened. - [x] Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths. ### Ready to merge - [x] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers"). - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold.
feat(menu,cheats): dual keyboard binding columns and live rupee editing (#2717)
Some checks failed
PR description / Title and description (pull_request_target) Successful in 6s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
f557a48935
Member

Possibly related, for context:

  • issue #1541 Idea: Allow setting an arbitrary rupee amount in Debug tools — Requests arbitrary rupee setting in Debug tools; this adds live rupee editing.
  • issue #2097 Rupee Cheat — Requests a rupee amount cheat; PR adds rupee editing, though not infinite rupees.
  • PR #1411 feat(menu): a Progress editor in the Debug tools (chests, Gold Skulltulas, hearts, bosses, start place) and Inventory amounts that keep every press — Open inventory/progress editor work includes rupees and related quantity-editing behavior.
  • PR #613 WIP: feat(input): separate keyboard actions and binding pages — Open keyboard controls redesign overlaps the Controls UI area; review for menu/input conflicts.
Possibly related, for context: - issue #1541 Idea: Allow setting an arbitrary rupee amount in Debug tools — Requests arbitrary rupee setting in Debug tools; this adds live rupee editing. - issue #2097 Rupee Cheat — Requests a rupee amount cheat; PR adds rupee editing, though not infinite rupees. - PR #1411 feat(menu): a Progress editor in the Debug tools (chests, Gold Skulltulas, hearts, bosses, start place) and Inventory amounts that keep every press — Open inventory/progress editor work includes rupees and related quantity-editing behavior. - PR #613 WIP: feat(input): separate keyboard actions and binding pages — Open keyboard controls redesign overlaps the Controls UI area; review for menu/input conflicts.
cfw34683 changed title from feat(menu,cheats): dual keyboard binding columns and live rupee editing to feat(menu): dual keyboard binding columns and live rupee editing 2026-11-28 18:14:33 +00:00
First-time contributor

Amazing work! This is exactly what I was hoping for. The dual bindings make ocarina playing on keyboard so much smoother, and live rupee editing is perfect. Thank you so much.

Amazing work! This is exactly what I was hoping for. The dual bindings make ocarina playing on keyboard so much smoother, and live rupee editing is perfect. Thank you so much.
Merge branch 'main' into fix/2717-dual-keys-and-live-rupees
Some checks failed
PR description / Title and description (pull_request_target) Successful in 8s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
4359a39469
Member
@review
BeanBot requested changes 2026-11-29 02:58:38 +00:00
Dismissed
BeanBot left a comment

Recommendation: Request changes. A failed wallet lookup can turn a small rupee edit into a permanent loss of currency. The change also combines two unrelated features and has not yet been shown working in the game.

The change exposes both keyboard binding slots and adds live rupee editing with faster quantity steps. It improves access to existing bindings, but the rupee editor needs safer failure handling and in-game validation.

Blocking (1): must change before merging.

  1. L1 game/oot_tools.c:319: A failed wallet lookup is treated as an unupgraded wallet, so an edit can overwrite a larger balance with 99. (more on the line) Do: Return an unavailable result when a required wallet lookup fails and refuse the edit; add a game-free test for failed lookups and each wallet cap.

Should fix (2): not blocking, but worth doing before merging.

  • L2: The pull request combines two unrelated features despite the repository's one-topic rule. When: Keyboard binding columns and debug rupee editing can be reviewed, tested, and reverted independently, but the checklist marks one topic as complete. Do: Split the rupee editor and keyboard binding changes into separate pull requests, each with its own testing and description.
  • L3 gpu/vk/vk_menu.cpp:2978: The changed menu source has not received the required user-guide screenshot source review. (more on the line) Do: Compare the affected guide images and instructions with the new menu, recapture if needed, and update the reviewed source record with the comparison.

Testing before merging (1) (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation)

  • L4: Neither feature has a reported in-game run. When: The reported checks do not establish that both bindings work and persist or that rupee edits reach the HUD and survive saving and reloading. Do: Run the listed Controls and Inventory scenarios in the game, including both wallet upgrades, fast stepping, and save/reload; report the results and a screenshot of the changed Controls layout.

@fix can do L1, L2 and L3.

Checks: Still running: 10 checks.

More: does it help, other systems, switches, what was read

Does it help: Unproven. The author reports game-free checks and Windows compilation, but both in-game scenarios are still listed as untested.

Other systems: The binding format and both-slot gameplay readers already exist. The rupee path writes game data that survives a save; its HUD and reload behavior remain untested. Linux was not reported tested.

Switches: None.

Reviewed: 4359a39469 against 694ae5820a: Read the repository rules, standards, PR template, diff, commit messages, and the changed inventory and hit-test headers. Read the changed functions and their input, save, menu, and test callers; the full outputs of the larger changed files and tests were truncated, so their unchanged portions were skimmed. Reviewed the guide screenshot maintenance rules and relevant guide text. Tooling's adjacent AGENTS.md was unavailable; docs/review-checklist.md does not exist.; nothing run (a code review).

Checked and fine:

  • The INI writer and reader both retain two keyboard slots.
  • Gameplay and ocarina input readers inspect both key slots.
  • No switch, shader, renderer API version, generated file, or game-derived output is added by the diff.

Testing: No commands from the project were run, as requested. The author reports six game-free checks and Windows compilation passing; CI is still running.

Overlaps and merge order: Not checked; the network is closed.


Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.

**Recommendation: Request changes.** A failed wallet lookup can turn a small rupee edit into a permanent loss of currency. The change also combines two unrelated features and has not yet been shown working in the game. The change exposes both keyboard binding slots and adds live rupee editing with faster quantity steps. It improves access to existing bindings, but the rupee editor needs safer failure handling and in-game validation. **Blocking (1)**: must change before merging. 1. **L1** `game/oot_tools.c:319`: A failed wallet lookup is treated as an unupgraded wallet, so an edit can overwrite a larger balance with 99. (more on the line) **Do:** Return an unavailable result when a required wallet lookup fails and refuse the edit; add a game-free test for failed lookups and each wallet cap. **Should fix (2)**: not blocking, but worth doing before merging. - **L2**: The pull request combines two unrelated features despite the repository's one-topic rule. *When:* Keyboard binding columns and debug rupee editing can be reviewed, tested, and reverted independently, but the checklist marks one topic as complete. **Do:** Split the rupee editor and keyboard binding changes into separate pull requests, each with its own testing and description. - **L3** `gpu/vk/vk_menu.cpp:2978`: The changed menu source has not received the required user-guide screenshot source review. (more on the line) **Do:** Compare the affected guide images and instructions with the new menu, recapture if needed, and update the reviewed source record with the comparison. **Testing before merging (1)** (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation) - **L4**: Neither feature has a reported in-game run. *When:* The reported checks do not establish that both bindings work and persist or that rupee edits reach the HUD and survive saving and reloading. **Do:** Run the listed Controls and Inventory scenarios in the game, including both wallet upgrades, fast stepping, and save/reload; report the results and a screenshot of the changed Controls layout. `@fix` can do L1, L2 and L3. **Checks:** Still running: 10 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Unproven. The author reports game-free checks and Windows compilation, but both in-game scenarios are still listed as untested. **Other systems:** The binding format and both-slot gameplay readers already exist. The rupee path writes game data that survives a save; its HUD and reload behavior remain untested. Linux was not reported tested. **Switches:** None. **Reviewed:** 4359a394692c against 694ae5820a37: Read the repository rules, standards, PR template, diff, commit messages, and the changed inventory and hit-test headers. Read the changed functions and their input, save, menu, and test callers; the full outputs of the larger changed files and tests were truncated, so their unchanged portions were skimmed. Reviewed the guide screenshot maintenance rules and relevant guide text. Tooling's adjacent AGENTS.md was unavailable; docs/review-checklist.md does not exist.; nothing run (a code review). **Checked and fine:** - The INI writer and reader both retain two keyboard slots. - Gameplay and ocarina input readers inspect both key slots. - No switch, shader, renderer API version, generated file, or game-derived output is added by the diff. **Testing:** No commands from the project were run, as requested. The author reports six game-free checks and Windows compilation passing; CI is still running. **Overlaps and merge order:** Not checked; the network is closed. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.</sub>
game/oot_tools.c Outdated
@ -316,2 +316,4 @@
}
static int oot_rupee_cap(Ctx *c) {
if (oot_pouch_count(c, "Item_Wallet_Large") > 0) return 500;
Member

L1 (blocking): A failed wallet lookup is treated as an unupgraded wallet, so an edit can overwrite a larger balance with 99.

When: If the rupee flag is readable but the pouch manager is unavailable, oot_pouch_count returns -1 for both wallets. With 200 rupees, pressing Right then queues 99, which the next save can retain.

Do: Return an unavailable result when a required wallet lookup fails and refuse the edit; add a game-free test for failed lookups and each wallet cap.

**L1** (blocking): A failed wallet lookup is treated as an unupgraded wallet, so an edit can overwrite a larger balance with 99. *When:* If the rupee flag is readable but the pouch manager is unavailable, oot_pouch_count returns -1 for both wallets. With 200 rupees, pressing Right then queues 99, which the next save can retain. **Do:** Return an unavailable result when a required wallet lookup fails and refuse the edit; add a game-free test for failed lookups and each wallet cap.
@ -2976,3 +2976,3 @@
ui::text_mid(c, c.f.body, 15 * s, rx0 + 20 * s, header_top + 27 * s, ui::kDim, "Button");
const char* titles[kCtlReset] = {"Input 1", "Input 2", "Keyboard", "Toggle"};
const char* titles[kCtlReset] = {"Input 1", "Input 2", "Input 1", "Input 2", "Toggle"};
for (int col = kCtlPrimary; col < kCtlReset; col++) {
Member

L3 (blocking): The changed menu source has not received the required user-guide screenshot source review.

When: The guide manifest records an earlier hash for vk_menu.cpp, while this change alters the Controls layout and labels. The recorded source review is therefore stale.

Do: Compare the affected guide images and instructions with the new menu, recapture if needed, and update the reviewed source record with the comparison.

**L3** (blocking): The changed menu source has not received the required user-guide screenshot source review. *When:* The guide manifest records an earlier hash for vk_menu.cpp, while this change alters the Controls layout and labels. The recorded source review is therefore stale. **Do:** Compare the affected guide images and instructions with the new menu, recapture if needed, and update the reviewed source record with the comparison.
cfw34683 changed title from feat(menu): dual keyboard binding columns and live rupee editing to feat(menu): dual keyboard binding columns 2026-11-29 19:08:24 +00:00
cfw34683 force-pushed fix/2717-dual-keys-and-live-rupees from 4359a39469
Some checks failed
PR description / Title and description (pull_request_target) Successful in 8s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to 2f9801de18
All checks were successful
PR description / Title and description (pull_request_target) Successful in 5s
2026-11-29 19:08:24 +00:00
Compare
Member
@review
BeanBot left a comment

Recommendation: Request changes. It conflicts with its base branch: bring it up to date (@​fix or @​rebase try first). (L5) The rupee edit has been split out, and the screenshot source review is present. The remaining keyboard binding feature still needs an in-game run to verify binding, clearing, gameplay, and persistence.

The Controls menu exposes both keyboard binding slots independently. This gives players access to an existing second slot, at the cost of a wider controls layout and additional menu logic.

Blocking (1): must change before merging.

  1. L5: It conflicts with its base branch: bring it up to date (@​fix or @​rebase try first). (for the author)

Testing before merging (1) (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation)

  • L4: The dual keyboard binding feature has no reported in-game run. When: A player binds and clears each keyboard slot, uses both keys in gameplay, and restarts; the resulting behavior and persistence have not been reported. Do: Run the Controls menu in game, bind and clear each slot independently, verify both keys in gameplay, and check persistence after restart.

Since the last review (on 4359a39469)
Resolved: L1 (A failed wallet lookup is treated as an unupgraded wallet, so an edit can overwrite a larg…); L2 (The pull request combines two unrelated features despite the repository's one-topic rule.); L3 (The changed menu source has not received the required user-guide screenshot source review.)
Still open: L4 (The dual keyboard binding feature has no reported in-game run.)
New: L5 (It conflicts with its base branch: bring it up to date (@​fix or @​rebase try first).)

Also noticed (2; not asked for, not blocking)
  • The pull request is reported as not mergeable.
  • The description reports Windows compilation but no Linux build result.
More: does it help, other systems, switches, what was read

Does it help: Unproven: the slot-specific code and tests support the feature, but no in-game result is reported.

Other systems: Keyboard bindings and their existing INI format are affected; gamepad binding columns remain separate. Windows compilation and focused checks are reported, but the description does not report a Linux build or an in-game run.

Switches: None.

Reviewed: 2f9801de18 against 22d0d20098: Read the pull request diff, repository rules, pull request template, screenshot source review, and relevant binding and menu changes. Skimmed the screenshot manifest and recorded source reviews; did not read all changed code files in full.; nothing run (a code review).

Checked and fine:

  • The live rupee editing changes are absent from the current diff.
  • The screenshot source review identifies the two changed menu inputs and explains why the Graphics image is retained.
  • The keyboard binding and clearing paths select the corresponding slot.

Testing: No commands from the project were run. The author reports Windows compilation and focused test passes, but lists the in-game keyboard check as still to test.

Overlaps and merge order: Rupee editing was split into #2814.


Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.

**Recommendation: Request changes.** It conflicts with its base branch: bring it up to date (`@​fix` or `@​rebase` try first). (L5) The rupee edit has been split out, and the screenshot source review is present. The remaining keyboard binding feature still needs an in-game run to verify binding, clearing, gameplay, and persistence. The Controls menu exposes both keyboard binding slots independently. This gives players access to an existing second slot, at the cost of a wider controls layout and additional menu logic. **Blocking (1)**: must change before merging. 1. **L5**: It conflicts with its base branch: bring it up to date (`@​fix` or `@​rebase` try first). *(for the author)* **Testing before merging (1)** (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation) - **L4**: The dual keyboard binding feature has no reported in-game run. *When:* A player binds and clears each keyboard slot, uses both keys in gameplay, and restarts; the resulting behavior and persistence have not been reported. **Do:** Run the Controls menu in game, bind and clear each slot independently, verify both keys in gameplay, and check persistence after restart. **Since the last review** (on 4359a394692c) Resolved: L1 (A failed wallet lookup is treated as an unupgraded wallet, so an edit can overwrite a larg…); L2 (The pull request combines two unrelated features despite the repository's one-topic rule.); L3 (The changed menu source has not received the required user-guide screenshot source review.) Still open: L4 (The dual keyboard binding feature has no reported in-game run.) New: L5 (It conflicts with its base branch: bring it up to date (`@​fix` or `@​rebase` try first).) <details> <summary>Also noticed (2; not asked for, not blocking)</summary> - The pull request is reported as not mergeable. - The description reports Windows compilation but no Linux build result. </details> <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Unproven: the slot-specific code and tests support the feature, but no in-game result is reported. **Other systems:** Keyboard bindings and their existing INI format are affected; gamepad binding columns remain separate. Windows compilation and focused checks are reported, but the description does not report a Linux build or an in-game run. **Switches:** None. **Reviewed:** 2f9801de1868 against 22d0d20098d6: Read the pull request diff, repository rules, pull request template, screenshot source review, and relevant binding and menu changes. Skimmed the screenshot manifest and recorded source reviews; did not read all changed code files in full.; nothing run (a code review). **Checked and fine:** - The live rupee editing changes are absent from the current diff. - The screenshot source review identifies the two changed menu inputs and explains why the Graphics image is retained. - The keyboard binding and clearing paths select the corresponding slot. **Testing:** No commands from the project were run. The author reports Windows compilation and focused test passes, but lists the in-game keyboard check as still to test. **Overlaps and merge order:** Rupee editing was split into #2814. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.</sub>
cfw34683 force-pushed fix/2717-dual-keys-and-live-rupees from 2f9801de18
All checks were successful
PR description / Title and description (pull_request_target) Successful in 5s
to 6c15350731
Some checks failed
PR description / Title and description (pull_request_target) Successful in 15s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-11-29 19:25:01 +00:00
Compare
Author
Contributor

In-game Controls layout screenshot (Y bound to K and U):

Controls layout

In-game Controls layout screenshot (Y bound to K and U): ![Controls layout](https://git.magicbean.dev/attachments/b1acb35b-d5f7-4b19-bc43-13992483aaa8)
cfw34683 force-pushed fix/2717-dual-keys-and-live-rupees from 6c15350731
Some checks failed
PR description / Title and description (pull_request_target) Successful in 15s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to bd74733536
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-11-29 21:00:31 +00:00
Compare
cfw34683 changed title from feat(menu): dual keyboard binding columns to WIP: feat(menu): dual keyboard binding columns 2026-11-29 22:22:28 +00:00
cfw34683 changed title from WIP: feat(menu): dual keyboard binding columns to feat(menu): dual keyboard binding columns 2026-11-29 22:22:33 +00:00
cfw34683 force-pushed fix/2717-dual-keys-and-live-rupees from bd74733536
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to b8be18b337
Some checks failed
PR description / Title and description (pull_request_target) Successful in 8s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-12-02 20:38:31 +00:00
Compare
Author
Contributor

Addressed both remaining items in commit b8be18b3:

L5: Rebased onto origin/main (b40214d2)

  • Resolved the docs/user/images/guide/manifest.json conflict by keeping main's baseline hashes and updating gpu/vk/vk_menu.cpp and gpu/vk/vk_menu_hit.h SHA-256 digests.
  • Updated tests/test_menu_keys.py with missing i18n::game_language_choice() and pause_background_now stubs for main.
  • Verified passing:
    • python -I -B tests/run_all.py --exact tests/test_bound_keys.py tests/test_menu_keys.py tests/test_guide_screenshots.py (3 passed, 0 failed, 0 skipped)
    • tests/test_menu_hit.cpp (PASS: the hit-test over the controls as drawn)
    • python scripts/check_guide_screenshots.py (passed)

L4: In-game verification (Windows build from b8be18b3)

  • Opened Controls, verified both keyboard binding columns render cleanly.
  • Bound and cleared each keyboard slot independently, verified both bound keys work in gameplay, and confirmed bindings persist across restart.
Addressed both remaining items in commit `b8be18b3`: ### L5: Rebased onto `origin/main` (`b40214d2`) - Resolved the `docs/user/images/guide/manifest.json` conflict by keeping `main`'s baseline hashes and updating `gpu/vk/vk_menu.cpp` and `gpu/vk/vk_menu_hit.h` SHA-256 digests. - Updated `tests/test_menu_keys.py` with missing `i18n::game_language_choice()` and `pause_background_now` stubs for `main`. - Verified passing: - `python -I -B tests/run_all.py --exact tests/test_bound_keys.py tests/test_menu_keys.py tests/test_guide_screenshots.py` (`3 passed, 0 failed, 0 skipped`) - `tests/test_menu_hit.cpp` (`PASS: the hit-test over the controls as drawn`) - `python scripts/check_guide_screenshots.py` (passed) ### L4: In-game verification (Windows build from `b8be18b3`) - Opened **Controls**, verified both keyboard binding columns render cleanly. - Bound and cleared each keyboard slot independently, verified both bound keys work in gameplay, and confirmed bindings persist across restart.
cfw34683 force-pushed fix/2717-dual-keys-and-live-rupees from b8be18b337
Some checks failed
PR description / Title and description (pull_request_target) Successful in 8s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to b99b1962c9
Some checks failed
PR description / Title and description (pull_request_target) Successful in 7s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-12-03 01:10:33 +00:00
Compare
Author
Contributor

Closing as superseded by mod-api on main:

  • host/nn_hid.c (hos_rebind_control) already supports per-slot keyboard rebinding via HOS_REBIND_ONE_KEY (wired in game/crates/host-sys/src/bindings.rs).
  • game/mods/menu/src/rows.tsx (BindingRow) already renders two independent Keybind slots (slot 0 and slot 1) on Controls → Keyboard (controls_keys), with independent bind, clear, conflict prompts, and reset.
  • The legacy C++ Controls grid in gpu/vk/vk_menu.cpp / gpu/vk/vk_menu_hit.h no longer exists.
Closing as superseded by `mod-api` on `main`: - `host/nn_hid.c` (`hos_rebind_control`) already supports per-slot keyboard rebinding via `HOS_REBIND_ONE_KEY` (wired in `game/crates/host-sys/src/bindings.rs`). - `game/mods/menu/src/rows.tsx` (`BindingRow`) already renders two independent `Keybind` slots (`slot 0` and `slot 1`) on **Controls → Keyboard** (`controls_keys`), with independent bind, clear, conflict prompts, and reset. - The legacy C++ Controls grid in `gpu/vk/vk_menu.cpp` / `gpu/vk/vk_menu_hit.h` no longer exists.
cfw34683 closed this pull request 2026-12-03 21:37:45 +00:00
cfw34683 deleted branch fix/2717-dual-keys-and-live-rupees 2026-12-03 21:54:31 +00:00
Some checks failed
PR description / Title and description (pull_request_target) Successful in 7s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
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
MagicBeanDev/Longshot!2753
No description provided.