feat(controller): a controller moves through the launcher, and Steam's Gaming Mode gets a full-screen TV view #209
No reviewers
Labels
No labels
area/build
area/install
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!209
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/LongshotLauncher:feat/controller-tv"
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?
On a ROG Ally or Steam Deck in Steam's Gaming Mode the launcher can only be used with a mouse or the touchscreen, and on a TV its small window sits in the middle with black corners (MagicBeanDev/Longshot#1186). This lets a controller drive the whole launcher, gives Gaming Mode and Big Picture a full-screen TV view, and gives the window its platform's corners.
Controller
c:Pad.Back="True", on every page and dialog but the home). LB/RB step through the focus order. Right stick scrolls.KeyDeviceType.Gamepad), so Avalonia 12's own directional focus (XYFocus) and the controls do the rest./dev/input, skipping the ones Steam hides (SDL_GAMECONTROLLER_IGNORE_DEVICES). Two copies of one press (Steam's virtual pad and the real one) count once.TV view
Turned on by
SteamGamepadUI/SteamTenfoot(Gaming Mode, Big Picture) or a gamescope session. The window goes full screen and scales the pages up to the screen, with square corners and no Minimize. F11 toggles full screen anywhere.LONGSHOT_LAUNCHER_TV=1forces it on,=0off.Corners
The fixed 18 px corners become the platform's: 8 px on Windows 11, square on Windows 10, 12 px on GNOME, 8 px on other Linux desktops, square in gamescope. They are square with no border when the window is full screen or maximized, or when the desktop can't draw a see-through window (that was where the black corners came from).
Screenshots
The TV view of the home after a controller's first press:
tools/screenshotshas new scenes:tv-home,tv-settings(focus moved onto the channel cards without changing the selection) andtv-dialog(opens on Decline, and focus stays in the dialog).Tests
tests/launcher_core/PadChecks.cscovers the repeat timing, dead zones, merging two copies of one controller, Steam's hidden-device list, evdev and XInput decoding, TV detection, the corner sizes, and that every page and dialog has ac:Pad.Backbutton.test_release.pypasses. The app builds with no warnings.test_launcher_core.py: 2246 checks pass.BuildReportChecks("The home folder taken out before a line is cut…") fails here exactly as it does on unchangedmain.🤖 Generated with Claude Code
Possibly related, for context:
WIP: feat(controller): a controller moves through the launcher, and Steam's Gaming Mode gets a full-screen TV viewto feat(controller): a controller moves through the launcher, and Steam's Gaming Mode gets a full-screen TV view