Skip to content

Fix built-in Xbox and Nintendo button layouts - #224

Open
jmarti326 wants to merge 2 commits into
armada-os:mainfrom
jmarti326:fix/controller-button-layout
Open

Fix built-in Xbox and Nintendo button layouts#224
jmarti326 wants to merge 2 commits into
armada-os:mainfrom
jmarti326:fix/controller-button-layout

Conversation

@jmarti326

Copy link
Copy Markdown

What this changes

This is an attempt to address #67.

Armada now:

  • records whether the built-in controller has Xbox or Nintendo button labels
  • uses Nintendo as the default for Retroid devices
  • adds Automatic, Xbox, and Nintendo options in Armada Control
  • applies the choice through Steam's controller API
  • avoids applying the setting to an external controller when emulation changes

The existing position-based input mapping is left unchanged to avoid swapping buttons twice.

Checks

  • controller layout policy test
  • controller recreation tests
  • Armada Control build

Closes #67

Detect the built-in handheld legend style, persist an automatic or manual layout policy, and apply it through Steam's per-controller API.

Copilot-Session: 3b05c009-9e48-4f5b-8d40-e68cb9a64118
Match Steam controllers by the expected virtual target type and wait for a newly created controller during emulation changes so external controllers are not selected.

Copilot-Session: 3b05c009-9e48-4f5b-8d40-e68cb9a64118
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.

Bug: A/B button mapping is inconsistent in SteamOS UI

1 participant