* Add per-session orientation preferences
* Apply orientation preference for active session
* Use session-specific orientation for output following
* Test independent session orientation preferences
* Map run sessions to Steam orientation preference
* Add separate Steam and desktop orientation controls
* Cover session mode orientation mapping
* Persist in-session orientation by session mode
* Refresh inherited orientation settings after global change
* Resolve window and portrait orientation by session mode
* Use session orientation for output sizing and window behavior
* Test mode-specific window and portrait orientation
* Refresh session orientation choices on resume
* Refresh session orientation choices on resume
* Use Compose lifecycle owner import
* Trigger CI
* fix(input): the middle of a crossed on-screen D-pad presses the nearest arm
Four direction buttons laid out as a cross left an empty square in the
middle, so a touch there fell through to the mouse. A touch inside the
cross now picks the arm on that side, for the stock pad and any custom
layout with the same shape.
* fix(input): take the D-pad middle for hand-placed arms that are not exactly centred
* fix(input): limit the D-pad fallback to its middle and find the cross among duplicate arms
* fix(input): D-pad middle picks the nearest arm and needs overlapping opposite arms
* fix(input): D-pad middle measures the distance to each arm itself
* fix(input): D-pad middle weighs every matching arm set
Edit tabs only opens from the More page, and More left the bar once no
tab was shelved in it. Hiding or moving every shelved tab therefore
removed the only way back into the tab editor. More now always stays on
the bar; with nothing shelved it opens to the Edit tabs button.
* feat(drawer): fold session menu groups into summarized sections and regroup pages
* chore(drawer): drop unused strings
* fix(drawer): observe controller state, drop stale achievements, stable section keys
* feat(agent): connect the agent on Quest, which has no pairing screen
Quest hides Android's Wireless debugging pairing, so the agent's connection
step could not be completed there. On a Quest the step's action is now Allow:
DroidDeck connects to adbd on 127.0.0.1:5555 (after a one-time `adb tcpip 5555`
from a computer) and the headset asks "Allow debugging?" for DroidDeck's key.
Wireless debugging accepts a key allowed that way, so the saved loopback
connection then works like a pairing.
DroidDeck also declares WRITE_SECURE_SETTINGS. When it is granted over adb,
DroidDeck turns Wireless debugging on itself before looking for its port.
* fix(agent): keep the Quest setup hint visible and report a declined prompt correctly
A late connection lookup no longer overwrites an Allow that is running.
On a Quest, the connection row shows its status above the full hint, which
holds the one-time commands. The failure message no longer claims port 5555
was silent, since a declined or unanswered prompt fails the same way.
* fix(agent): connection checks from before an Allow no longer overwrite it
A check started before Allow could land after it and mark the step as not
done, or replace the prompt instructions while Allow was still waiting.
Each Allow now starts a new generation, and older connection results are
dropped, as are results that land while Allow is running.
* ci: rerun after the Maven 429 rate limit
* fix(quest): turn Wireless debugging on by itself only on Quest
Other devices keep exactly their pairing flow even if WRITE_SECURE_SETTINGS
is granted. Once connected, the Quest agent row shows its usual short hint
instead of the setup instructions.
* fix(quest): connect after a reboot without a second Allow
After a reboot, turning Wireless debugging on makes the Quest ask again to
allow it on this network, and the 2 s wait ran out before that was
answered, so the row showed Allow. Allow then failed, since port 5555 is
closed after a reboot. The lookup now keeps trying for up to 30 s after
turning Wireless debugging on, and Allow first tries the already-trusted
key over Wireless debugging before asking on port 5555.
* ci: rerun after download timeouts in the Python tests
---------
Co-authored-by: FryMcNugget <358046012+FryMcNugget@users.noreply.github.com>
A game storage folder saved as a raw volume path is opened through the volume's /storage path when only that one is usable, and its private directories are kept under either path. Battle.net is only given a library folder when the configured one is attached, so a missing card no longer moves its install folder to internal storage.
Keep the Steam install picker state out of the Steam engine object
The picker state lived on SteamStore, which is first touched from the
background stores refresh thread. On the Compose runtime in use, a state
object created outside a snapshot while the composition holds an open
snapshot is unreadable inside it, so the front end crashed on startup
with "Reading a state that was created after the snapshot was taken".
The state now lives on StoresState next to the other UI-facing store
state, and SteamStore holds no Compose state.
* fix(desktop): Log Out returns to DroidDeck, Return to Gaming Mode opens Steam
Both ended Plasma through the same logout call and the desktop script always
started Steam afterwards. Return to Gaming Mode now leaves a request that the
script reads; a plain Log Out ends the desktop. The app ships the shortcut
with the script so both always change together.
* Wait for the logout reply so a cold Shutdown service still gets the request
* Forget the return to gaming mode when the logout request fails
The Steam copy (AppID 12100) died on "Start new game" at 0042A703: FEX's reduced x87 precision turns a float into a bad pointer. GameEnvironment.knownGames sets FEX_X87REDUCEDPRECISION=0 for it, above the shared settings and below the game's own, and picking a FEX preset for the game keeps the fix.
Co-authored-by: Unixcision <14082251+Unixcision@users.noreply.github.com>
Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
Prepare the rootfs before a native program starts outside a session
The linker and libc are patched for Android's seccomp filter only when a
session starts. A helper started between sessions, after a runtime
update and before the first session, ran the unpatched linker and died
of SIGSYS (exit code 159). The shared native process builder now
prepares the rootfs itself when no session is running.
* fix(mali): Auto respects Venus turned off and picks the bridge on Mali-G2-Ultra
With GPU drivers on Auto, Mali (Venus) was turned back on after the user turned it off. Auto now respects that choice, and picks the bridge on Mali-G2-Ultra, where Steam's web helper dies on its first window through Venus (#2879). When Auto itself turns Venus off it clears the stored key, so its own decision does not read as the user's later.
* fix(mali): clear Auto-owned Venus preference when fallback ends
---------
Co-authored-by: Unixcision <14082251+Unixcision@users.noreply.github.com>
Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
## Changes
- Add vertical page scrolling using the controller's right stick.
> Reuse existing right stick axis detection for better controller
compatibility.
> Convert stick movement into scroll events for Compose scrollable
components.
> Add a dead zone threshold and rate limiting to prevent unintended
scrolling.
## Compatibility
- Supports controllers with different right stick axis layouts.
- Scroll behavior depends on the page's handling of scroll events.
Suggest by _corcse on discord
UwU
* Open the session menu on the first back tap instead of after the double-tap window
* Hold the GPU clock up while a session panel is open over the game
* Keep the double back tap working after the first tap opens the menu
The first tap opens the menu at once, and opening the menu cleared the
pending tap, so a second tap closed the menu instead of opening Steam's
quick menu. The tap that opened the menu now keeps its window, and a
second back press inside it goes to the double-tap action.
Outside Steam both taps toggle the menu, so a double tap no longer opens
and then closes it.
* fix(session): drop pending back taps on focus loss and departure
* fix(session): drop pending back taps when the drawer closes or another panel opens
* fix(session): drop the quick-menu input's pending tap when the drawer closes
* fix(session): keep a back press already down when the drawer closes
* fix(input): a captured touchpad drives the pointer
Android reports a captured touchpad's events as SOURCE_TOUCHPAD with the
finger positions on the pad and the movement in AXIS_RELATIVE_X/Y. The
capture handler only accepted SOURCE_MOUSE_RELATIVE, so every captured
touchpad event was dropped and the touchpad stopped working in a session.
Read the relative axes for a captured touchpad, and count a touchpad as
an attached pointer for the Auto relative mouse choice and for pointer
capture. A touchpad that declares SOURCE_TOUCHPAD is not captured for the
whole session, so Android keeps its cursor and gestures until a game holds
the pointer.
* fix(input): keep captured touchpad motion without relative axes
Some builds do not provide AXIS_RELATIVE_X/Y for a captured touchpad
(the AOSP include_relative_axis_values_for_captured_touchpads flag can
leave them out). Fall back to the movement between the pointer's
successive absolute positions, tracked per pointer id, and clear the
positions when capture changes or the pointer ends.
* fix(input): key captured touchpad positions by device too
A pointer id is only unique within its device, so the fallback positions
could collide between two touchpads or a replaced device. Key them by
device id and pointer id, and cover it with a test.
* fix(input): end only the touchpad that lifted
ACTION_UP and ACTION_CANCEL cleared every device's fallback positions.
Forget only the device that ended, so a second touchpad keeps its
baseline; a capture change still resets all of them.
* Give a captured touchpad taps, two-finger scroll and clickpad presses
* Keep captured touchpad clicks apart from mouse buttons
A tap's synthetic release shared the mouse's held-button owner, so it
could release a mouse button that was still held. Captured touchpad
presses now use their own owner, released when capture ends. A physical
pad press also keeps a later second finger from turning into a
right-click tap.
* Keep physical touchpad buttons on the mouse owner
A press made before capture was released under the captured owner and
stayed held. Physical buttons now always use the mouse owner, and only
gesture clicks use the touchpad owner. A physical press also releases a
pending tap click first, so the two never merge.
---------
Co-authored-by: maxjivi05 <maxjividen@gmail.com>
* fix(input): hold to right-click is the default for direct touch again
* Cancel a pending direct-touch hold when the window loses focus
* Cancel two-finger gestures when the window loses focus
* Focus loss cancels touch gestures through the shared helper
* perf(ui): the idle home screen draws 30 frames a second
* test(ui): the idle frame gate draws 30 frames a second
* fix(home): the settled mark keeps full elapsed time at faster animation scales
* Advance the home mark in steps of at most 50 ms
* Skip the home mark step when animations are switched off mid-frame
* Bound the home mark advance for very small animation scales
* perf(input): controller readers wake when input lands instead of polling
* fix(input): an idle controller read stays a cancellation point
* Keep the cancellation point out of builds without thread cancellation