feat(menu): the Controls tab in General, Controller and Keyboard + Mouse sections #2993

Merged
HumanBean merged 1 commit from llun/Longshot:feat/controls-sections into mod-api 2026-12-02 20:11:29 +00:00
Member

Summary

The Insert menu's Controls tab listed controller, keyboard and mouse rows mixed together in one list, so it was hard
to tell which input a row changes. Walk speed is the example that prompted this: it sets how far the keyboard's movement
keys tilt the stick while Link walks, but it reads as if it changed a controller too.

The tab now has three sections, by the input a row changes:

  • General (every input): Controls (the bindings page), Camera speed, Disable camera centering, Sprint.
  • Controller: Controller in background, Stick dead zone, Stick range, Invert camera X and Y (these flip a
    controller's right stick only: host/nn_hid.c, host/pad_sdl.c), Vibration, Vibration strength, Test vibration,
    DualSense HD Haptics, Motion, Controller menu button.
  • Keyboard + Mouse: Keyboard, Mouse camera, Mouse sensitivity, Invert mouse vertical and horizontal, Walk mode,
    Walk speed, Menu shortcut, Compact menu key, Command palette key.

Every row keeps its key, its label, help, values and defaults; only its place changes. The two new headings' names
(General, Keyboard + Mouse) are translated in all 13 menu languages, by me, not checked by speakers. The settings table in
docs/user/graphics-and-controls.md follows the new order, and its Controls section says what each section is for.

This was first made for main; it is remade here for mod-api's menu, at a maintainer's request.

Read first: game/mods/menu/src/layout.ts (the three headings, with the Controls and Motion links), then each row's
place in game/mods/controls, interface, sprint-walk and camera-centering's mod.toml, then PLACED in
game/mods/menu/test/menu.test.ts.

Testing

Tested: Windows 11, in the game: RTX 5080, driver 621.47, 1280x720 window, at the title screen with a fresh profile, sound off, the sandbox on; this change on mod-api 582b6a1ab. All 25 rows of the Controls tab were seen under General, Controller and Keyboard + Mouse, in the order above. Through the control bridge, walk_speed, controller_in_background, invert_camera_x, menu_shortcut and command_palette_key read their defaults, and Walk speed set to 50% was saved as walk_speed = 50 in the profile's settings.toml. No FATAL line, and no system mod that did not start, in the log.

  • Since then rebased onto mod-api d6b5bd512: the same diff (same patch-id). The game was not built again on it.
  • mod test game/mods/menu on d6b5bd512: 52 passed. The updated layout tests fail on 582b6a1ab without this change (2 of 7) and pass with it.
  • cargo test on 582b6a1ab, llvm-mingw: modtool 224 passed, sprint-walk 31, camera-centering 4, api 497; none failed. The rest of the Rust workspace was not run.
  • mise run test (Windows, 12 at once) on 582b6a1ab: 782 passed, 39 failed, 50 skipped. The same 39, run without this change: all 39 fail. Some may come from this PC's setup. They are: test_astc_upload_chunking, test_async_astc_upload_chunks, test_bind_memo, test_blocks_at_start, test_direct_buffer_writes, test_draw_stream_visibility, test_drawn_page_map, test_early_split_before_draw, test_flat_map, test_fsr_image_retirement, test_fsr_uniform_ownership, test_game_menu_mouse_buttons, test_helpers_extract, test_image_reaper_threads, test_import_reach, test_input_movie, test_late_fix_build, test_lifter, test_longshot_builder, test_menu_i18n, test_mirror_bookkeeping, test_pass_barrier, test_present_acquire_ahead, test_present_image_free, test_readback_timeout_reuse, test_recorder_sync, test_recording_admission, test_report_words, test_staging_burst, test_target_retention, test_tex_desc_memo, test_text_keyboard_policy, test_ub_snapshot_default, test_ub_snapshot_gpu_writes, test_ui_keys_by_keycode, test_vram_compact, test_wb_diff_stale_shadow, test_wb_pending_capture, test_wrote_regions.
  • mise run lint: passes. scripts/check_guide_screenshots.py --review-sources: the same as without this change.
  • dev.py smoke on 582b6a1ab: FAIL, only because its screenshot was not taken ("the PNG could not be written"); the game was in play and the Insert menu opened. Whether it fails without this change was not checked.

Still to test: None.

Measurements

Nothing to measure: the rows' order and three headings on one menu tab, no rendering or game code.

Risks

A player sees the Controls tab's rows in a new order, under three headings; their saved settings are unchanged (no key
changed). A mod that places a row before or after controls_page now gets it under General. One with a place in the
Controls tab and no section gets it above General. A revert is enough.

Checklist

Ready for review

  • One topic, on current mod-api; 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 mod-api 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.
  • Screenshots of the same spot on mod-api and here, for a change that shows on screen. (Here only, in a comment: the row names, with the background made black so no game art is in it. No picture of mod-api without the change was taken; its order is the old controls list in PLACED, game/mods/menu/test/menu.test.ts.)
  • Docs updated.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

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.

🤖 Generated with Claude Code

## Summary The Insert menu's **Controls** tab listed controller, keyboard and mouse rows mixed together in one list, so it was hard to tell which input a row changes. Walk speed is the example that prompted this: it sets how far the keyboard's movement keys tilt the stick while Link walks, but it reads as if it changed a controller too. The tab now has three sections, by the input a row changes: - **General** (every input): Controls (the bindings page), Camera speed, Disable camera centering, Sprint. - **Controller**: Controller in background, Stick dead zone, Stick range, Invert camera X and Y (these flip a controller's right stick only: `host/nn_hid.c`, `host/pad_sdl.c`), Vibration, Vibration strength, Test vibration, DualSense HD Haptics, Motion, Controller menu button. - **Keyboard + Mouse**: Keyboard, Mouse camera, Mouse sensitivity, Invert mouse vertical and horizontal, Walk mode, Walk speed, Menu shortcut, Compact menu key, Command palette key. Every row keeps its key, its label, help, values and defaults; only its place changes. The two new headings' names (General, Keyboard + Mouse) are translated in all 13 menu languages, by me, not checked by speakers. The settings table in `docs/user/graphics-and-controls.md` follows the new order, and its Controls section says what each section is for. This was first made for `main`; it is remade here for `mod-api`'s menu, at a maintainer's request. Read first: `game/mods/menu/src/layout.ts` (the three headings, with the Controls and Motion links), then each row's `place` in `game/mods/controls`, `interface`, `sprint-walk` and `camera-centering`'s `mod.toml`, then PLACED in `game/mods/menu/test/menu.test.ts`. ## Testing **Tested:** Windows 11, in the game: RTX 5080, driver 621.47, 1280x720 window, at the title screen with a fresh profile, sound off, the sandbox on; this change on `mod-api` 582b6a1ab. All 25 rows of the Controls tab were seen under General, Controller and Keyboard + Mouse, in the order above. Through the control bridge, `walk_speed`, `controller_in_background`, `invert_camera_x`, `menu_shortcut` and `command_palette_key` read their defaults, and Walk speed set to 50% was saved as `walk_speed = 50` in the profile's `settings.toml`. No FATAL line, and no system mod that did not start, in the log. - Since then rebased onto `mod-api` d6b5bd512: the same diff (same patch-id). The game was not built again on it. - `mod test game/mods/menu` on d6b5bd512: 52 passed. The updated layout tests fail on 582b6a1ab without this change (2 of 7) and pass with it. - `cargo test` on 582b6a1ab, llvm-mingw: modtool 224 passed, sprint-walk 31, camera-centering 4, api 497; none failed. The rest of the Rust workspace was not run. - `mise run test` (Windows, 12 at once) on 582b6a1ab: 782 passed, 39 failed, 50 skipped. The same 39, run without this change: all 39 fail. Some may come from this PC's setup. They are: `test_astc_upload_chunking`, `test_async_astc_upload_chunks`, `test_bind_memo`, `test_blocks_at_start`, `test_direct_buffer_writes`, `test_draw_stream_visibility`, `test_drawn_page_map`, `test_early_split_before_draw`, `test_flat_map`, `test_fsr_image_retirement`, `test_fsr_uniform_ownership`, `test_game_menu_mouse_buttons`, `test_helpers_extract`, `test_image_reaper_threads`, `test_import_reach`, `test_input_movie`, `test_late_fix_build`, `test_lifter`, `test_longshot_builder`, `test_menu_i18n`, `test_mirror_bookkeeping`, `test_pass_barrier`, `test_present_acquire_ahead`, `test_present_image_free`, `test_readback_timeout_reuse`, `test_recorder_sync`, `test_recording_admission`, `test_report_words`, `test_staging_burst`, `test_target_retention`, `test_tex_desc_memo`, `test_text_keyboard_policy`, `test_ub_snapshot_default`, `test_ub_snapshot_gpu_writes`, `test_ui_keys_by_keycode`, `test_vram_compact`, `test_wb_diff_stale_shadow`, `test_wb_pending_capture`, `test_wrote_regions`. - `mise run lint`: passes. `scripts/check_guide_screenshots.py --review-sources`: the same as without this change. - `dev.py smoke` on 582b6a1ab: FAIL, only because its screenshot was not taken ("the PNG could not be written"); the game was in play and the Insert menu opened. Whether it fails without this change was not checked. **Still to test:** None. ## Measurements Nothing to measure: the rows' order and three headings on one menu tab, no rendering or game code. ## Risks A player sees the Controls tab's rows in a new order, under three headings; their saved settings are unchanged (no key changed). A mod that places a row `before` or `after` `controls_page` now gets it under General. One with a place in the Controls tab and no section gets it above General. A revert is enough. ## Checklist ### Ready for review - [x] One topic, on current `mod-api`; 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 `mod-api` 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] Screenshots of the same spot on `mod-api` and here, for a change that shows on screen. (Here only, in a comment: the row names, with the background made black so no game art is in it. No picture of `mod-api` without the change was taken; its order is the old `controls` list in PLACED, `game/mods/menu/test/menu.test.ts`.) - [x] Docs updated. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### 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. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The Controls tab listed controller, keyboard and mouse rows mixed together, so a row such as Walk speed (how far the
movement keys tilt the stick while Link walks) read as if it changed a controller too. The tab now has three sections,
by the input a row changes:

- General: the Controls page of bindings, Camera speed, Disable camera centering, Sprint.
- Controller: Controller in background, Stick dead zone, Stick range, Invert camera X and Y (the pads' right stick only,
  host/nn_hid.c and host/pad_sdl.c), Vibration, Vibration strength, Test vibration, DualSense HD Haptics, Motion,
  Controller menu button.
- Keyboard and mouse: Keyboard, Mouse camera, Mouse sensitivity, Invert mouse vertical and horizontal, Walk mode, Walk
  speed, Menu shortcut, Compact menu key.

gpu/vk/menu/controls_sections.cpp makes the headings and puts the core's Controls row first under General; each module
puts its rows in their section (.section(id), then menu::order). Every row keeps its key, label, help and values; only
its place changes. The headings' names are translated in all 13 menu languages. tests/test_menu_sections.py checks the
three sections and each row's, and fails on main (rows before any section). The settings table in
docs/user/graphics-and-controls.md follows the new order, and its Controls section says what each section is for.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
docs(guide): the Graphics image is retained with the Controls tab's sections
Some checks failed
CI / What the change needs (pull_request) Successful in 8s
CI / Third-party parts and guide screenshots (pull_request) Successful in 12s
PR description / Title and description (pull_request_target) Successful in 6s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 15s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 2m17s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Successful in 4m11s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 4m25s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 4m43s
CI / Website build and checks (pull_request) Failing after 34s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 18m27s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 38m51s
0bf5769f90
Rendered Graphics, Audio and Controls with the UI-only helper (scripts/screenshots/capture_menu.py, WSL Ubuntu 24.04)
from main 56823e27 and from this change: Graphics and Audio differ only in the version text, and the published Graphics
image differs from this change's render in that box alone. The guide's record takes the helper's 150 inputs at this
change (now with gpu/vk/menu/controls_sections.cpp, and main's vk_dlss.h, vk_temporal.h and vk_texture.h, which render
the pictured page the same), so `check_guide_screenshots.py --review-sources` passes again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Member

Tested in game: Windows 11, RTX 5080, NVIDIA driver, 1280x720 window, a pack on the shared base 56823e27 through the job queue, the title screen: the Insert menu's Controls tab shows General, Controller and Keyboard and mouse with their rows; the arrow keys step over the headings and the 24 rows wrap; walk_speed set to 50% through the control bridge was saved as walk_speed=50 under its old key; no menu diagnostics in the log.

Tested in game: Windows 11, RTX 5080, NVIDIA driver, 1280x720 window, a pack on the shared base 56823e27 through the job queue, the title screen: the Insert menu's Controls tab shows General, Controller and Keyboard and mouse with their rows; the arrow keys step over the headings and the 24 rows wrap; walk_speed set to 50% through the control bridge was saved as walk_speed=50 under its old key; no menu diagnostics in the log.
Author
Member

The Controls tab before and after, rendered without the game by the UI-only helper (scripts/screenshots/capture_menu.py, WSL Ubuntu 24.04, clang 18.1.3; the bundled Libertinus fonts, no game assets).

Main 56823e27:
Controls on main

This pull request:
Controls with the sections

The Controls tab before and after, rendered without the game by the UI-only helper (`scripts/screenshots/capture_menu.py`, WSL Ubuntu 24.04, clang 18.1.3; the bundled Libertinus fonts, no game assets). Main 56823e27: ![Controls on main](https://git.magicbean.dev/attachments/de53c504-97ff-4255-abf4-adfb436bc974) This pull request: ![Controls with the sections](https://git.magicbean.dev/attachments/2a69f243-9bcf-41ad-8ecc-384d65416ee7)
Member

Possibly related, for context:

  • PR #2753 feat(menu): dual keyboard binding columns — Open Controls UI change adding keyboard binding columns; may conflict in same menu layout.
  • PR #613 WIP: feat(input): separate keyboard actions and binding pages — Open keyboard/controller menu redesign touches Controls menu UI and ordering.
Possibly related, for context: - PR #2753 feat(menu): dual keyboard binding columns — Open Controls UI change adding keyboard binding columns; may conflict in same menu layout. - PR #613 WIP: feat(input): separate keyboard actions and binding pages — Open keyboard/controller menu redesign touches Controls menu UI and ordering.
llun changed title from WIP: feat(menu): the Controls tab in General, Controller and Keyboard and mouse sections to feat(menu): the Controls tab in General, Controller and Keyboard and mouse sections 2026-12-02 04:11:20 +00:00
BeanBot left a comment

Recommendation: Approve. The new sections make the Controls tab easier to navigate, and the reported in-game run shows the intended order and navigation. CI is still running. Nothing blocking is left. Recommend approval; not approved on the forge.

Groups existing control settings by input without changing their keys, values or defaults. The change uses the existing menu section mechanism and adds a check of the complete Controls order.

Checks: Still running: 11 checks.

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

Does it help: Yes. The author reports that the three sections, keyboard navigation, row wrapping and saving Walk speed worked in game on Windows 11. This is not a performance change.

Other systems: The change affects menu layout and translated heading text, not input processing. The reported in-game run covers Windows; the game-free helper also rendered the menu on Linux.

Switches: None.

Reviewed: 0bf5769f90 against 56823e27a1: Read the repository rules, PR template, standards, commit messages, changed menu modules and section test. Reviewed the changes to the other code and tests with their surrounding menu model and navigation paths; skimmed the translation additions, guide manifest and source-review record. The full large files vk_menu.cpp, menu_i18n.h, manifest.json and the two existing changed tests were not read in full.; nothing run (a code review).

Checked and fine:

  • The new section test checks the built menu's exact Controls headings and row order.
  • The moved rows retain their setting definitions and saved keys.
  • Both commits record AI assistance; no game-derived output was added.

Testing: No commands that build, run tests or execute project code were run for this review. The author reports an in-game Windows run, game-free Linux rendering, and matching test failures on the base and this branch. Forgejo CI is still running.

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


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, as llun took it out of WIP. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The new sections make the Controls tab easier to navigate, and the reported in-game run shows the intended order and navigation. CI is still running. Nothing blocking is left. Recommend approval; not approved on the forge. Groups existing control settings by input without changing their keys, values or defaults. The change uses the existing menu section mechanism and adds a check of the complete Controls order. **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes. The author reports that the three sections, keyboard navigation, row wrapping and saving Walk speed worked in game on Windows 11. This is not a performance change. **Other systems:** The change affects menu layout and translated heading text, not input processing. The reported in-game run covers Windows; the game-free helper also rendered the menu on Linux. **Switches:** None. **Reviewed:** 0bf5769f9085 against 56823e27a13a: Read the repository rules, PR template, standards, commit messages, changed menu modules and section test. Reviewed the changes to the other code and tests with their surrounding menu model and navigation paths; skimmed the translation additions, guide manifest and source-review record. The full large files vk_menu.cpp, menu_i18n.h, manifest.json and the two existing changed tests were not read in full.; nothing run (a code review). **Checked and fine:** - The new section test checks the built menu's exact Controls headings and row order. - The moved rows retain their setting definitions and saved keys. - Both commits record AI assistance; no game-derived output was added. **Testing:** No commands that build, run tests or execute project code were run for this review. The author reports an in-game Windows run, game-free Linux rendering, and matching test failures on the base and this branch. Forgejo CI is still running. **Overlaps and merge order:** Not checked; network access is closed. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, as llun took it out of WIP. Nothing was run; a maintainer decides.</sub>
llun changed title from feat(menu): the Controls tab in General, Controller and Keyboard and mouse sections to feat(menu): the Controls tab in General, Controller and Keyboard + Mouse sections 2026-12-02 06:30:41 +00:00
feat(menu): the Controls tab's third section is named Keyboard + Mouse
Some checks failed
CI / What the change needs (pull_request) Successful in 7s
CI / Third-party parts and guide screenshots (pull_request) Successful in 9s
PR description / Title and description (pull_request_target) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 17s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 1m57s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Successful in 3m55s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 4m3s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 4m12s
CI / Website build and checks (pull_request) Failing after 32s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 14m0s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 29m38s
6b5156c169
Its name in the 13 menu languages, the docs and the check follow; the section's id, rows and keys are unchanged. The
Graphics guide image's recorded inputs follow the changed sources.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Member

The third heading is now "Keyboard + Mouse" instead of "Keyboard and mouse", and its 13 translations use "+" too. The rows and their keys are unchanged; earlier pictures here show the old name. Tested again in the game, and this time all 24 rows were seen: the earlier run had not shown the last four (Walk mode to Compact menu key), although Testing said it had. mise run test was run again too (54 failures, all also on main).

The third heading is now "Keyboard + Mouse" instead of "Keyboard and mouse", and its 13 translations use "+" too. The rows and their keys are unchanged; earlier pictures here show the old name. Tested again in the game, and this time all 24 rows were seen: the earlier run had not shown the last four (Walk mode to Compact menu key), although Testing said it had. `mise run test` was run again too (54 failures, all also on main).
llun force-pushed feat/controls-sections from 6b5156c169
Some checks failed
CI / What the change needs (pull_request) Successful in 7s
CI / Third-party parts and guide screenshots (pull_request) Successful in 9s
PR description / Title and description (pull_request_target) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 17s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 1m57s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Successful in 3m55s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 4m3s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 4m12s
CI / Website build and checks (pull_request) Failing after 32s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 14m0s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 29m38s
to 0352f58e61
Some checks failed
CI / What the change needs (pull_request) Successful in 8s
CI / Third-party parts and guide screenshots (pull_request) Successful in 12s
PR description / Title and description (pull_request_target) Successful in 7s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 1m16s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 2m30s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 9m8s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 9m35s
CI / Website build and checks (pull_request) Failing after 1m49s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 36m59s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 44m25s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 57m57s
2026-12-02 19:49:35 +00:00
Compare
Author
Member

Moved to mod-api, as a maintainer asked. mod-api's menu is built differently, so the change is remade there instead of replayed: the headings are in the menu mod's layout and each row's place names its section. The sections, and the rows main also has, are the same; Command palette key is added under Keyboard + Mouse. Head 0352f58e6 on d6b5bd512; tested in the game on 582b6a1ab, the same diff. Earlier comments and pictures here are of the version for main.

Moved to `mod-api`, as a maintainer asked. `mod-api`'s menu is built differently, so the change is remade there instead of replayed: the headings are in the menu mod's layout and each row's `place` names its section. The sections, and the rows `main` also has, are the same; Command palette key is added under Keyboard + Mouse. Head 0352f58e6 on d6b5bd512; tested in the game on 582b6a1ab, the same diff. Earlier comments and pictures here are of the version for `main`.
llun changed target branch from main to mod-api 2026-12-02 19:50:41 +00:00
Author
Member

The Controls tab on mod-api with this change, from the game run on 582b6a1ab (the same diff). Cropped to the row names, enlarged, and the background made black so no game art is in it; the lettering is the menu's bundled font. The columns are three scroll positions side by side, so some Controller rows show twice. The values are cut off. Controls tab: General, Controller, Keyboard + Mouse

The Controls tab on `mod-api` with this change, from the game run on 582b6a1ab (the same diff). Cropped to the row names, enlarged, and the background made black so no game art is in it; the lettering is the menu's bundled font. The columns are three scroll positions side by side, so some Controller rows show twice. The values are cut off. ![Controls tab: General, Controller, Keyboard + Mouse](https://git.magicbean.dev/attachments/a3abf898-227d-4ab0-9b46-a424dc525a35)
Author
Member
@review
BeanBot left a comment

Recommendation: Approve. The Controls tab groups its existing settings by input, and the reported game run shows the new layout working. CI is still running and must pass before merge. Nothing blocking is left. Recommend approval; not approved on the forge.

Players get General, Controller, and Keyboard + Mouse sections without changing saved setting keys or defaults. The change keeps placement in the existing mod layout and adds translated headings and updated documentation.

Checks: Still running: 11 checks.

Also noticed (1; not asked for, not blocking)
  • The before-and-after screenshots in the comments show the earlier main-branch implementation; the mod-api version has only an after screenshot.
More: does it help, other systems, switches, what was read

Does it help: Not a perf change. The author reports seeing all 25 rows in their intended sections in a Windows game run, and saving Walk speed under its existing key.

Other systems: The menu layout is shared across platforms; the change does not alter input processing or graphics code. Mods placing rows around controls_page now place them in General, while unsectioned Controls rows appear above it, as the description notes.

Switches: None added, changed, or removed.

Reviewed: 0352f58e61 against d6b5bd5123: Read the repository rules, contribution guide, PR template, standards, diff, layout, changed placement declarations and related tests; skimmed translations and recorded test reports. The review checklist file is absent. The full changed code files and placement implementation were not all read in full.; nothing run (a code review).

Checked and fine:

  • The declared row placements and expected menu order agree.
  • Saved setting keys and defaults are unchanged.
  • The reported menu tests exercise the new ordering.

Testing: The author reports a Windows in-game run and 52 passing menu tests; the same 39 broader test failures occurred on the base. CI is still running. No commands from the project were run for this review.

Overlaps and merge order: Not checked; network access is unavailable.


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

**Recommendation: Approve.** The Controls tab groups its existing settings by input, and the reported game run shows the new layout working. CI is still running and must pass before merge. Nothing blocking is left. Recommend approval; not approved on the forge. Players get General, Controller, and Keyboard + Mouse sections without changing saved setting keys or defaults. The change keeps placement in the existing mod layout and adds translated headings and updated documentation. **Checks:** Still running: 11 checks. <details> <summary>Also noticed (1; not asked for, not blocking)</summary> - The before-and-after screenshots in the comments show the earlier main-branch implementation; the mod-api version has only an after screenshot. </details> <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Not a perf change. The author reports seeing all 25 rows in their intended sections in a Windows game run, and saving Walk speed under its existing key. **Other systems:** The menu layout is shared across platforms; the change does not alter input processing or graphics code. Mods placing rows around controls_page now place them in General, while unsectioned Controls rows appear above it, as the description notes. **Switches:** None added, changed, or removed. **Reviewed:** 0352f58e6121 against d6b5bd51230b: Read the repository rules, contribution guide, PR template, standards, diff, layout, changed placement declarations and related tests; skimmed translations and recorded test reports. The review checklist file is absent. The full changed code files and placement implementation were not all read in full.; nothing run (a code review). **Checked and fine:** - The declared row placements and expected menu order agree. - Saved setting keys and defaults are unchanged. - The reported menu tests exercise the new ordering. **Testing:** The author reports a Windows in-game run and 52 passing menu tests; the same 39 broader test failures occurred on the base. CI is still running. No commands from the project were run for this review. **Overlaps and merge order:** Not checked; network access is unavailable. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.</sub>
HumanBean merged commit 34bd814bc4 into mod-api 2026-12-02 20:11:29 +00:00
HumanBean deleted branch feat/controls-sections 2026-12-02 20:11:29 +00:00
HumanBean referenced this pull request from a commit 2026-12-02 21:01:34 +00:00
HumanBean referenced this pull request from a commit 2026-12-03 00:06:58 +00:00
HumanBean referenced this pull request from a commit 2026-12-03 05:47:00 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 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!2993
No description provided.