Repository navigation
Fold the debug host layer's left stick onto the D-pad for digital pads - #764
Merged
Merged
Conversation
set_input layer=host is a default-mapped gamepad; a real one folds ls_* onto the D-pad in digital mode, the layer dropped the stick. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The debug host input layer (
set_input {layer:host}) is documented as a default-mapped gamepad, but in digital mode it dropped the left stick, while a real default-mapped controller folds it onto the D-pad. A stick test against a digital-only game (Ore! Tomba, Japan) therefore showed no movement even though a physical controller works.psx_stick_fold.h: the default map's per-axis fold (samev > dztest ascontroller_source_pressed_h), unit-tested inpsx_stick_fold_test.capture_host_layer_padapplies it for digital P1 only (not the title transform's raw host view).Debug-tools builds only (
PSX_NO_DEBUG_TOOLScompiles the layer out). Verified: psx-runtime builds, new test passes, registration guard 436/436; Japanese Tomba now walks right from the stick (x 132.5 -> 211.2).🤖 Generated with Claude Code