Repository navigation
Conversation
…links, hybrid CPUs, refresh rate, haze, taller windows, horse keyboard - Water: a barrier after a new colour image's clear, before its uploads (PR #756, fixes #649). - Vibration: SDL_RumbleGamepad on a worker thread, so Bluetooth controllers no longer stall input (PR #757, fixes #730). - Launcher: folder picker errors are shown, and the game folder path can be typed (PR #758, fixes #724). - Vulkan: pipelines that can't be skipped are linked inline, and build jobs are drained during stalls (PR #651, fixes #591). - Windows: every logical processor is kept on hybrid CPUs, and critical threads get a higher priority (PR #650, fixes #639). - Window: the monitor's real refresh rate is detected, and higher-Hz display modes are picked (PR #641, fixes #623). - Video > Haze: 75 % or more (PR #601). - Taller windows: HUD, menus and map layouts on 16:10 and other tall views (PR #720). Conflict with vdyn_reset resolved. - Keyboard on horseback: forward is ignored while steering, and the horse camera site comes from game_sites.py (PR #343, fixes #290). Conflicts resolved; the input focus test keeps a single photo_pad stub. Not included: PR #642 (#608). In play it cleared A/B/X/Y unless an action held them, so scripted and console buttons stopped reaching the game (test-input-focus). Checked: game code regenerated (169 sites), game sites, layout codegen, i18n, launch flags, input focus, PC controls, GPU settings and vibration tests; a hidden run in the Lanayru rain; and a visible playtest from a 100% save. Co-authored-by: jfpaardoo <juaparpar@alum.us.es> Co-authored-by: devall96 <devall96@proton.me> Co-authored-by: sabeliam <50827860+sabeliam@users.noreply.github.com> Co-authored-by: rvsting <347107652+rvsting@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for this. We didn't take it into today's batch, because In play it clears A/B/X/Y unless an action holds them. That also drops the buttons that don't come from a host binding:
The fix also hardcodes which action goes to which Switch button (Attack/Spin to Y, Jump to X, Interact to A, Sprint/Cancel to B). The game already answers factory-default actions from those raw bits. #648 goes at the root of #608: the "Menu: ..." rows stop reaching play. That is the direction we'd like. If you want to keep this PR going, it would need to:
|
e0ab595 to
14506e7
Compare
|
Updated: \�ct_gameplay_buttons\ now lives in |
- Controls: rebinding a "Menu: ..." row no longer moves the gameplay A/B/X/Y buttons. In play, those four come from the action bindings (Attack, Jump, Interact, Sprint/Cancel); script, console, cursor and auto-continue buttons are left untouched (PR #642, fixes #608). - Output scale: near-16:9 integer sizes like 1366x768 render 1:1 instead of 1365 px wide with a sub-pixel offset, which made them blurrier than 1280x720 (PR #802, fixes #770). Checked: output scale, PC controls, input focus and action tests; a hidden 1366x768 run; a visible playtest from a 100% save. Co-authored-by: jfpaardoo <juaparpar@alum.us.es> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for the update, this version addresses what we asked: script, console, cursor and auto-continue buttons are untouched now, and |
Upstream's Revivedx#642 fix (act_gameplay_buttons, which rewrote only A/B/X/Y) goes away: this branch replaces it at the root with act_play_keys / act_play_pads, which cover every raw action button. Keep upstream's act_refresh calls, the moved act_switch_button, and the pc_cursor_active gate in input_buttons_now.
…links, hybrid CPUs, refresh rate, haze, taller windows, horse keyboard - Water: a barrier after a new colour image's clear, before its uploads (PR #756, fixes #649). - Vibration: SDL_RumbleGamepad on a worker thread, so Bluetooth controllers no longer stall input (PR #757, fixes #730). - Launcher: folder picker errors are shown, and the game folder path can be typed (PR #758, fixes #724). - Vulkan: pipelines that can't be skipped are linked inline, and build jobs are drained during stalls (PR #651, fixes #591). - Windows: every logical processor is kept on hybrid CPUs, and critical threads get a higher priority (PR #650, fixes #639). - Window: the monitor's real refresh rate is detected, and higher-Hz display modes are picked (PR #641, fixes #623). - Video > Haze: 75 % or more (PR #601). - Taller windows: HUD, menus and map layouts on 16:10 and other tall views (PR #720). Conflict with vdyn_reset resolved. - Keyboard on horseback: forward is ignored while steering, and the horse camera site comes from game_sites.py (PR #343, fixes #290). Conflicts resolved; the input focus test keeps a single photo_pad stub. Not included: PR #642 (#608). In play it cleared A/B/X/Y unless an action held them, so scripted and console buttons stopped reaching the game (test-input-focus). Checked: game code regenerated (169 sites), game sites, layout codegen, i18n, launch flags, input focus, PC controls, GPU settings and vibration tests; a hidden run in the Lanayru rain; and a visible playtest from a 100% save. Co-authored-by: jfpaardoo <juaparpar@alum.us.es> Co-authored-by: devall96 <devall96@proton.me> Co-authored-by: sabeliam <50827860+sabeliam@users.noreply.github.com> Co-authored-by: rvsting <347107652+rvsting@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Controls: rebinding a "Menu: ..." row no longer moves the gameplay A/B/X/Y buttons. In play, those four come from the action bindings (Attack, Jump, Interact, Sprint/Cancel); script, console, cursor and auto-continue buttons are left untouched (PR #642, fixes #608). - Output scale: near-16:9 integer sizes like 1366x768 render 1:1 instead of 1365 px wide with a sub-pixel offset, which made them blurrier than 1280x720 (PR #802, fixes #770). Checked: output scale, PC controls, input focus and action tests; a hidden 1366x768 run; a visible playtest from a 100% save. Co-authored-by: jfpaardoo <juaparpar@alum.us.es> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
What this changes
Fixes #608.
In the Controls / Key bindings settings page, the raw Switch buttons (
A,B,X,Y) are listed under the Menus section as"Menu: confirm","Menu: back","Menu: Hero's Path", and"Menu: sort / sensor"("what no action covers: the game's menus and quick menus").However, when an action is at factory defaults (such as Attack #3 at Mouse Left / West),
rt_act_queryyields-1to let the game query its native Switch pad layer. In gameplay (!in_menu), the native Switch layer was readingkey_buttonsandpad_buttonsmapped directly tog_bind_key/g_bind_pad. If a player rebound"Menu: sort / sensor"to a key (such asYorAlt),BIND_Ywas set by that key in gameplay instead of Attack's binding (Mouse Left), causing Link to attack with the menu key while Left Click stopped attacking.This change:
route_gameplay_buttons()in runtime/hle/input.c to decouple in-game action buttons (Y,X,A,B) during gameplay from menu-only rebinds.!in_menu), buttonsY,X,A, andBstrictly follow their bound game actions (Attack,Jump,Interact,Sprint/Cancel).in_menu), buttons follow their respective menu rebinds (Menu: sort / sensor,Hero's Path,confirm,back).g_bind_key[BIND_Y]toSDL_SCANCODE_Ydoes not trigger Attack during gameplay, while Mouse Left continues to attack.How it was tested
make test-actions: 100% PASS (validating action hook, queries, fallback, and schema migrations).make test-pc-controls: 100% PASS (including new automated regression test for Attack Button Incorrectly Follows Sort/Sensor Key Binding #608).make runtime-objs: 100% PASS cleanly without warnings or errors.python3 tools/i18n_check.py: 100% PASS (translation integrity confirmed).git diff --check: 100% PASS.Checklist
testand opened againsttest