Skip to content

Port: Keyboard fixes for walk, debug menu and typing in keyboard pages (Granny Rosa, C7 boss fight quiz...) (#49, #63, #121) - #144

Merged
Adubbz merged 2 commits into
TheMoonPeople:masterfrom
drkm9743:fix/keyboard-49-63-121
Oct 23, 2026
Merged

Adubbz merged 2 commits into
TheMoonPeople:masterfrom
drkm9743:fix/keyboard-49-63-121

Conversation

@drkm9743

Copy link
Copy Markdown
Contributor

Fixes #49, fixes #63, fixes #121.
Needs the Kazarov PR above (submodule bumped to its commit).

Before: keyboard movement always ran, so the chapter 2 boss part that needs walking was impossible on keyboard; the "Debug menu" binding in PC SETTINGS did nothing and the R3 debug menus had no keyboard key; the name entry screen ignored the physical keyboard.

After: holding Left Shift walks, and PC SETTINGS > Controls > Keyboard movement can make keys walk with Shift to run. With debug mode on, F1 (Bindings > Developer menu) opens the developer menu like Start+Select, and F2 (Bindings > Debug menu (R3)) turns DebugFlag on and presses R3 once, opening the town, dungeon or menu debug menu. None of these shortcuts act while PC SETTINGS is waiting for a key to bind. On the name entry screen (non-Japanese), typing letters, digits and the grid's symbols writes them at the caret, Backspace/Delete act as the Back/Delete buttons, Return accepts the name, arrows still move on the grid and Escape cancels.

How: input.keyboard_walk config + row; GameDeveloperMenuRequested also takes the debug_menu host press; CGamePad::UpDate handles mode_debug_menu; options::Capturing() blocks the shortcuts during a rebind; port/src/nameregi.cpp overrides NameRegistKey to apply typed characters the way KeyStep applies grid presses, using NameRegiMenuPtr/NameRegistMax exposed through port/include/stubs/nameregi.hpp. ps2/src is untouched. Docs updated in PC.md and DEBUG.md.

Holding Walk (Left Shift) makes keyboard movement walk; PC SETTINGS >
Controls > Keyboard movement swaps walking and running (#49).
The Debug menu binding (F1) opens the developer menu like
Start+Select when debug controls are enabled (#63).
The name entry screen accepts typed letters, digits and grid symbols,
with Backspace, Delete and Return, outside Japanese (#121).
Bumps Kazarov for the walk action and text entry.
The mode_debug_menu binding (F2) turns DebugFlag on and presses R3 once,
opening the town, dungeon or menu debug menu from the keyboard (#63).
The developer menu (F1 or Start+Select) and F2 do nothing while PC
SETTINGS waits for a key to bind or that key is still held.
@drkm9743 drkm9743 changed the title Keyboard: walk key, debug menu keyboard support and typing in name entry (#49, #63, #121) Port: Keyboard fixes for walk, debug menu and typing in keyboard pages (Granny Rosa, C7 boss fight quiz...) (#49, #63, #121) Oct 23, 2026
@Adubbz
Adubbz merged commit 544015b into TheMoonPeople:master Oct 23, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keyboard menu lacks physical keyboard support Can't open debug/developer menus on keyboard Keyboard users can get softlocked

2 participants