Repository navigation
Conversation
With the controller type on Xbox One, the host now gets the Switch's face buttons by label: A is the Xbox A, B is B, X is X and Y is Y, so the button a game names is the one with that letter in hand. Before, the wire went by position, and a game asking for A wanted the button labelled B. Only what reaches the host turns. The shortcuts, the dial and the console's menus keep reading the pad by position, so Minus + A and A to confirm stay where they were. Nintendo types already agree by label, and PlayStation types have shapes, so they stay positional. `nx.face_layout: "position"` in the settings document keeps the Xbox type positional. No screen sets it; the tester manual says how to add it by hand. Closes #34 Co-Authored-By: Claude Opus 5.5 <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.
Closes #34.
With the controller type on Xbox One, the host gets the Switch's face buttons by label:
Every other type is unchanged: Automatic, Switch Pro and Joy-Con pair already agree by label, and the PlayStation types have shapes, so position is the only rule there.
Only what reaches the host turns. The shortcuts (Minus + A, the exit hold), the dial and the console's menus keep reading the pad by position. Changing the type from the dial mid-stream lets go of held buttons by the old layout and presses by the new.
"nx.face_layout": "position"in thesettingsblock ofsettings.jsonkeeps the Xbox type positional. No screen sets it, since the settings screen comes from the main repository;docs/tester.mdsays how to add it by hand. The stream logsface layout: Autoorface layout: Position.Checked
cargo test --workspace,cargo clippy --workspace --all-targets -D warningsandcargo fmt --checkpass in the dev box.positionturning it off, Automatic staying positional, the dial still opening on Minus + A, and a mid-stream replug.