fix(prompts): auto picks the steam deck face for a steam controller #2448
No reviewers
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
testing wanted
wontfix
No milestone
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Hookshot!2448
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/steam-controller-prompts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
auto matched "steam deck" only, so a steam controller (sdl3 names it "Steam Controller") fell through to the xbox face. its buttons are named as the deck's, so it gets the deck's face now. under steam, steam input's stand-in pad for a steam controller has the same name, so it gets the deck's face too. a pad named "Steam Virtual Gamepad" stays on the xbox face.
Tested on a 2026 Steam Controller (wireless puck) on Linux (CachyOS, SDL 3.4): the game's log shows
prompts: auto: controller "Steam Controller": steamdeck, run from Steam.python -I -B tests/test_prompt_auto_face.pypasses.Looks good.
face_of_name(host/prompts.c:83) now matches "steam controller" next to "steam deck".containsignores case, so SDL's "Steam Controller" gets the Deck's face. "Steam Virtual Gamepad" still falls through to the Xbox face, which is right because any pad can be behind it. Both callers,choose_faceat the start andlive_facefor the menu's live row, go throughface_of_name, so both get the fix.The new
tests/test_prompt_auto_face.pycutscontainsandface_of_nameout of the source and compiles them, as the other prompt checks do. It covers the new name, the Deck's names, the virtual pad and the other vendors. I ran it locally at the PR's head and it passes. So far only the title check has run on this PR. The source checks still need a maintainer to approve the workflow run, but nothing here should change their result.github-sync referenced this pull request2026-11-12 06:22:54 +00:00