prompts: PlayStation and keyboard button prompts (upstream afaf44d, 59c42b7, 1a7c970) #75
No reviewers
Labels
No labels
accessibility
amd
bug
crash
device-removed
documentation
duplicate
enhancement
feature-request
good first issue
help wanted
input
invalid
launcher
memory
needs-logs
nvidia
off-topic
performance
question
shaders
stutter
visuals
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/VGLALALA--ReVictory-RDNA3!75
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-75"
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?
@Kal0s-design on GitHub · 2026-12-05 20:14 UTC · original
Kal0s-design:port/playstation-prompts→main· +5035 −26 · 17 files · 3 commits · merged 2026-12-05 22:27 UTCFrom upstream ReVIctory (afaf44d and 59c42b7 from their PR #53, and the launcher selector 1a7c970, authors kept). It goes with the DualSense support that just went in, since with a PlayStation pad the game still shows Xbox button pictures.
The title asks its UI runtime for one icon movie and picks a control's picture by icon number, and it only has Xbox pictures. With VICTORY_PROMPTS=playstation that movie is redrawn before it loads, A/B/X/Y become cross, circle, square and triangle in the title's own discs, the shoulders and triggers get L1/R1/L2/R2 tags, the stick clicks L3/R3, View the touchpad, Menu Options, and the d-pad four arrows. VICTORY_PROMPTS=keyboard installs key caps instead. The hook answers only that one request and leaves every other alone, it touches only the supported retail build (any other is refused with a log line), and nothing changes unless the variable is set. The launcher gets a "Button prompts" dropdown in Settings, Game & Cache (Xbox stock, PlayStation, keyboard), saved with the other launcher choices and kept by Restore defaults.
It brings a GFx reader and writer in victory-formats, the stand-in pad's control table in victory-core (gameinput now takes its fallback keys from it, with the same values), and pointer-slot accessors in the loader. No new dependencies, only workspace crates.
Porting notes. The first two applied as they are. The launcher one needed its widget count and the Game & Cache badge set for this fork (54 widgets, 7 in the tab), and this fork's Restore defaults has no VRAM defaults step, so it only gained keeping the chosen prompts. #68 adds a button to the same tab, so whichever goes in second needs the count and badge bumped by one, which I'll do.
Rebased on current main (with the DualSense change and #76), clippy -D warnings is clean in both of the Lint workflow's runs and the tests of victory, victory-formats, victory-core, victory-hle and victory-loader pass. I haven't seen the redrawn icons in game here.
AI-assisted: yes
🤖 Generated with Claude Code
ab4bef8c80tof176c1b102