fix(bottom): quieter Quick Access move handles, instant reopen, Decky tab after a cold start

This commit is contained in:
Kurt Himebauch committed 2026-11-26 23:39:44 -05:00
1 parent f7ef60917f
commit 692c3d1d2b
38 files changed
+70 -63

No files matched your search

@@ -67,7 +67,13 @@ object SteamQam {
c.EnsureCorrectComposition?.();
return;
}
if (m.m_eOpenSideMenu === 0) { m.OpenQuickAccessMenu(g.__ddQamTab ?? undefined); c.EnsureCorrectComposition?.(); }
const decky = !!g.DeckyPluginLoader?.tabsHook?.qamBrowserViewPatch;
if (m.m_eOpenSideMenu === QAM && decky && !g.__ddQamDecky) m.CloseSideMenus();
if (m.m_eOpenSideMenu === 0) {
m.OpenQuickAccessMenu(g.__ddQamTab ?? undefined);
g.__ddQamDecky = decky;
c.EnsureCorrectComposition?.();
}
if (m.m_eOpenSideMenu !== QAM) return;
if (m.m_eQuickAccessTab != null) g.__ddQamTab = m.m_eQuickAccessTab;
if (!g.__ddQamOn) { g.__ddQamOn = true; c.EnsureCorrectComposition?.(); }
@@ -3,17 +3,22 @@ package com.droiddeck.launcher.ui
import android.graphics.BitmapFactory
import android.util.Base64
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.LocalIndication
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.clickable
import androidx.compose.foundation.hoverable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.BoxWithConstraints
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.AlignHorizontalCenter
import androidx.compose.material.icons.outlined.AlignHorizontalLeft
import androidx.compose.material.icons.outlined.AlignHorizontalRight
import androidx.compose.material.icons.filled.ChevronLeft
import androidx.compose.material.icons.filled.ChevronRight
import androidx.compose.material3.Icon
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.runtime.DisposableEffect
import androidx.compose.runtime.LaunchedEffect
@@ -24,17 +29,22 @@ import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.FilterQuality
import androidx.compose.ui.graphics.ImageBitmap
import androidx.compose.ui.graphics.asAndroidBitmap
import androidx.compose.ui.graphics.asImageBitmap
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.input.pointer.PointerEventType
import androidx.compose.ui.input.pointer.pointerInput
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.platform.LocalDensity
import androidx.compose.ui.platform.testTag
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.semantics.Role
import androidx.compose.ui.semantics.contentDescription
import androidx.compose.ui.semantics.semantics
import androidx.compose.ui.unit.IntOffset
import androidx.compose.ui.unit.IntSize
import androidx.compose.ui.unit.dp
@@ -79,16 +89,30 @@ internal object QamLayout {
}
private const val TICK_MS = 1_000L
private const val FAST_TICK_MS = 150L
/** The last frame shown, so returning to the panel shows the menu at once while the live stream reconnects. */
private object QamCache {
@Volatile var image: ImageBitmap? = null
@Volatile var shape: FloatArray? = null
}
@Composable
internal fun SteamQamPanel() {
val context = LocalContext.current.applicationContext
var image by remember { mutableStateOf<ImageBitmap?>(null) }
var shape by remember { mutableStateOf<FloatArray?>(null) }
var image by remember { mutableStateOf(QamCache.image) }
var shape by remember { mutableStateOf(QamCache.shape) }
var failed by remember { mutableStateOf(false) }
var slow by remember { mutableStateOf(false) }
LaunchedEffect(Unit) {
delay(2_500)
slow = true
}
var align by remember { mutableIntStateOf(SessionPrefs.quickAccessAlign(context)) }
val holder = remember { arrayOfNulls<CdpPage>(1) }
val relay = remember { intArrayOf(0) }
val live = remember { java.util.concurrent.atomic.AtomicBoolean(false) }
val show = { frame: ImageBitmap -> image = frame; QamCache.image = frame; live.set(true) }
DisposableEffect(Unit) {
onDispose {
val page = holder[0]
@@ -106,7 +130,7 @@ internal fun SteamQamPanel() {
while (isActive) {
// Holding the menu before Steam's first frame keeps gamescope from presenting it.
if (SessionState.phase != SessionPhase.READY) {
delay(TICK_MS)
delay(FAST_TICK_MS)
continue
}
val open = SteamQam.hold(context)
@@ -115,13 +139,14 @@ internal fun SteamQamPanel() {
var page = holder[0]
if (page == null || page.closed) {
page?.close()
live.set(false)
page = SteamQam.target(context)?.let { t ->
relay[0] = t.port
runCatching {
CdpPage(t.port, t.path) { method, params ->
if (method == "Page.screencastFrame") {
holder[0]?.send("Page.screencastFrameAck", JSONObject().put("sessionId", params.optInt("sessionId")))
decodeFrame(params.optString("data"))?.let { image = it }
decodeFrame(params.optString("data"))?.let(show)
}
}
}.onFailure { android.util.Log.w("SteamQam", "devtools connect: $it") }.getOrNull()
@@ -132,19 +157,19 @@ internal fun SteamQamPanel() {
.put("maxWidth", 1920).put("maxHeight", 1440))
}
// The screencast sends frames only when the menu repaints, so a still menu needs one screenshot.
if (image == null) {
if (!live.get()) {
page?.call("Page.captureScreenshot", JSONObject().put("format", "jpeg").put("quality", 85))
?.optJSONObject("result")?.optString("data")?.let(::decodeFrame)?.let { image = it }
?.optJSONObject("result")?.optString("data")?.let(::decodeFrame)?.let(show)
}
(page?.evaluate(QamLayout.CONTENT_SCRIPT) as? String)?.let { text ->
runCatching {
val a = JSONArray(text)
val layout = floatArrayOf(a.getDouble(0).toFloat(), a.getDouble(1).toFloat(), a.getDouble(2).toFloat(), a.getDouble(3).toFloat())
if (!layout.contentEquals(shape)) shape = layout
if (!layout.contentEquals(shape)) { shape = layout; QamCache.shape = layout }
}
}
}
delay(TICK_MS)
delay(if (live.get()) TICK_MS else FAST_TICK_MS)
}
}
}
@@ -154,7 +179,7 @@ internal fun SteamQamPanel() {
if (img != null && l != null && l[0] > 0f) QamFrame(img, l[0], l[1], l[3].coerceIn(l[0] * 0.25f, l[0])) else null
}
if (f == null) {
PanelNote(stringResource(if (failed) R.string.bottom_qam_unavailable else R.string.achievements_reading))
if (slow) PanelNote(stringResource(if (failed) R.string.bottom_qam_unavailable else R.string.achievements_reading))
return
}
BoxWithConstraints(Modifier.fillMaxSize().background(f.fill)) {
@@ -197,27 +222,36 @@ internal fun SteamQamPanel() {
}
val width = f.contentRight * scale
val gap = with(density) { 64.dp.toPx() }
val choose = { a: Int -> align = a; SessionPrefs.setQuickAccessAlign(context, a) }
val move = { step: Int -> align = (align + step).coerceIn(-1, 1); SessionPrefs.setQuickAccessAlign(context, align) }
if (left >= gap) {
AlignButtons((-1 until align).toList(), choose, Modifier.align(Alignment.CenterStart).width(with(density) { left.toDp() }))
Box(Modifier.align(Alignment.CenterStart).width(with(density) { left.toDp() }), contentAlignment = Alignment.Center) {
MoveHandle(stringResource(R.string.bottom_qam_align_left), Icons.Filled.ChevronLeft, Modifier.testTag("qam-move-left")) { move(-1) }
}
}
if (boxW - left - width >= gap) {
AlignButtons((align + 1..1).toList(), choose, Modifier.align(Alignment.CenterEnd).width(with(density) { (boxW - left - width).toDp() }))
Box(Modifier.align(Alignment.CenterEnd).width(with(density) { (boxW - left - width).toDp() }), contentAlignment = Alignment.Center) {
MoveHandle(stringResource(R.string.bottom_qam_align_right), Icons.Filled.ChevronRight, Modifier.testTag("qam-move-right")) { move(1) }
}
}
}
}
@Composable
private fun AlignButtons(targets: List<Int>, choose: (Int) -> Unit, modifier: Modifier) {
Column(modifier, horizontalAlignment = Alignment.CenterHorizontally, verticalArrangement = Arrangement.spacedBy(12.dp)) {
for (a in targets) {
val (label, icon) = when (a) {
-1 -> R.string.bottom_qam_align_left to Icons.Outlined.AlignHorizontalLeft
0 -> R.string.bottom_qam_align_center to Icons.Outlined.AlignHorizontalCenter
else -> R.string.bottom_qam_align_right to Icons.Outlined.AlignHorizontalRight
}
BarButton(stringResource(label), Modifier.testTag("qam-align-$a"), vector = icon) { choose(a) }
}
private fun MoveHandle(description: String, icon: ImageVector, modifier: Modifier, onClick: () -> Unit) {
val colors = MaterialTheme.colorScheme
val pal = LocalPalette.current
val src = remember { MutableInteractionSource() }
val hot = rememberHot(src)
val shape = RoundedCornerShape(22.dp)
Box(
contentAlignment = Alignment.Center,
modifier = modifier.size(width = 44.dp, height = 112.dp).semantics { contentDescription = description }
.clip(shape)
.background(if (hot) pal.signal.copy(alpha = 0.14f) else Color.White.copy(alpha = 0.04f))
.glideBorder(hot, shape, pal.signal)
.hoverable(src).clickable(interactionSource = src, indication = LocalIndication.current, role = Role.Button, onClick = onClick),
) {
Icon(icon, contentDescription = null, tint = if (hot) pal.signal else colors.onSurfaceVariant, modifier = Modifier.size(28.dp))
}
}
-1
View File
@@ -2245,7 +2245,6 @@
<string name="bottom_companion_radio">الراديو</string>
<string name="bottom_qam_title">الوصول السريع</string>
<string name="bottom_qam_align_left">نقل إلى اليسار</string>
<string name="bottom_qam_align_center">نقل إلى الوسط</string>
<string name="bottom_qam_align_right">نقل إلى اليمين</string>
<string name="bottom_qam_unavailable">قائمة الوصول السريع في Steam غير متاحة بعد.</string>
<string name="bottom_page_telemetry">إحصاءات داخل اللعبة</string>
@@ -2240,7 +2240,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Acceso rápido</string>
<string name="bottom_qam_align_left">Mover a la izquierda</string>
<string name="bottom_qam_align_center">Mover al centro</string>
<string name="bottom_qam_align_right">Mover a la derecha</string>
<string name="bottom_qam_unavailable">El menú de acceso rápido de Steam aún no está disponible.</string>
<string name="bottom_page_telemetry">Estadísticas del juego</string>
-1
View File
@@ -2145,7 +2145,6 @@
<string name="bottom_companion_radio">Радио</string>
<string name="bottom_qam_title">Бърз достъп</string>
<string name="bottom_qam_align_left">Премести вляво</string>
<string name="bottom_qam_align_center">Премести в центъра</string>
<string name="bottom_qam_align_right">Премести вдясно</string>
<string name="bottom_qam_unavailable">Менюто за бърз достъп на Steam още не е налично.</string>
<string name="bottom_page_telemetry">Статистика в играта</string>
-1
View File
@@ -2195,7 +2195,6 @@
<string name="bottom_companion_radio">Rádio</string>
<string name="bottom_qam_title">Rychlý přístup</string>
<string name="bottom_qam_align_left">Přesunout doleva</string>
<string name="bottom_qam_align_center">Přesunout na střed</string>
<string name="bottom_qam_align_right">Přesunout doprava</string>
<string name="bottom_qam_unavailable">Nabídka rychlého přístupu Steamu zatím není k dispozici.</string>
<string name="bottom_page_telemetry">Statistiky ve hře</string>
-1
View File
@@ -2145,7 +2145,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Hurtig adgang</string>
<string name="bottom_qam_align_left">Flyt til venstre</string>
<string name="bottom_qam_align_center">Flyt til midten</string>
<string name="bottom_qam_align_right">Flyt til højre</string>
<string name="bottom_qam_unavailable">Steams menu til hurtig adgang er ikke tilgængelig endnu.</string>
<string name="bottom_page_telemetry">Statistik i spillet</string>
-1
View File
@@ -2137,7 +2137,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Schnellzugriff</string>
<string name="bottom_qam_align_left">Nach links verschieben</string>
<string name="bottom_qam_align_center">In die Mitte verschieben</string>
<string name="bottom_qam_align_right">Nach rechts verschieben</string>
<string name="bottom_qam_unavailable">Das Schnellzugriffsmenü von Steam ist noch nicht verfügbar.</string>
<string name="bottom_page_telemetry">Spielstatistiken</string>
-1
View File
@@ -2145,7 +2145,6 @@
<string name="bottom_companion_radio">Ραδιόφωνο</string>
<string name="bottom_qam_title">Γρήγορη πρόσβαση</string>
<string name="bottom_qam_align_left">Μετακίνηση αριστερά</string>
<string name="bottom_qam_align_center">Μετακίνηση στο κέντρο</string>
<string name="bottom_qam_align_right">Μετακίνηση δεξιά</string>
<string name="bottom_qam_unavailable">Το μενού γρήγορης πρόσβασης του Steam δεν είναι ακόμη διαθέσιμο.</string>
<string name="bottom_page_telemetry">Στατιστικά παιχνιδιού</string>
-1
View File
@@ -2170,7 +2170,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Acceso rápido</string>
<string name="bottom_qam_align_left">Mover a la izquierda</string>
<string name="bottom_qam_align_center">Mover al centro</string>
<string name="bottom_qam_align_right">Mover a la derecha</string>
<string name="bottom_qam_unavailable">El menú de acceso rápido de Steam aún no está disponible.</string>
<string name="bottom_page_telemetry">Estadísticas del juego</string>
-1
View File
@@ -2145,7 +2145,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Pikavalikko</string>
<string name="bottom_qam_align_left">Siirrä vasemmalle</string>
<string name="bottom_qam_align_center">Siirrä keskelle</string>
<string name="bottom_qam_align_right">Siirrä oikealle</string>
<string name="bottom_qam_unavailable">Steamin pikavalikko ei ole vielä käytettävissä.</string>
<string name="bottom_page_telemetry">Pelinsisäiset tilastot</string>
-1
View File
@@ -2169,7 +2169,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Accès rapide</string>
<string name="bottom_qam_align_left">Déplacer à gauche</string>
<string name="bottom_qam_align_center">Déplacer au centre</string>
<string name="bottom_qam_align_right">Déplacer à droite</string>
<string name="bottom_qam_unavailable">Le menu d’accès rapide de Steam n’est pas encore disponible.</string>
<string name="bottom_page_telemetry">Statistiques en jeu</string>
-1
View File
@@ -2145,7 +2145,6 @@
<string name="bottom_companion_radio">रेडियो</string>
<string name="bottom_qam_title">क्विक एक्सेस</string>
<string name="bottom_qam_align_left">बाईं ओर ले जाएँ</string>
<string name="bottom_qam_align_center">बीच में ले जाएँ</string>
<string name="bottom_qam_align_right">दाईं ओर ले जाएँ</string>
<string name="bottom_qam_unavailable">Steam का क्विक एक्सेस मेनू अभी उपलब्ध नहीं है।</string>
<string name="bottom_page_telemetry">इन-गेम आंकड़े</string>
-1
View File
@@ -2145,7 +2145,6 @@
<string name="bottom_companion_radio">Rádió</string>
<string name="bottom_qam_title">Gyorselérés</string>
<string name="bottom_qam_align_left">Áthelyezés balra</string>
<string name="bottom_qam_align_center">Áthelyezés középre</string>
<string name="bottom_qam_align_right">Áthelyezés jobbra</string>
<string name="bottom_qam_unavailable">A Steam gyorselérési menüje még nem érhető el.</string>
<string name="bottom_page_telemetry">Játékon belüli statisztikák</string>
-1
View File
@@ -2121,7 +2121,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Akses Cepat</string>
<string name="bottom_qam_align_left">Pindahkan ke kiri</string>
<string name="bottom_qam_align_center">Pindahkan ke tengah</string>
<string name="bottom_qam_align_right">Pindahkan ke kanan</string>
<string name="bottom_qam_unavailable">Menu Akses Cepat Steam belum tersedia.</string>
<string name="bottom_page_telemetry">Statistik dalam gim</string>
-1
View File
@@ -2161,7 +2161,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Accesso rapido</string>
<string name="bottom_qam_align_left">Sposta a sinistra</string>
<string name="bottom_qam_align_center">Sposta al centro</string>
<string name="bottom_qam_align_right">Sposta a destra</string>
<string name="bottom_qam_unavailable">Il menu di accesso rapido di Steam non è ancora disponibile.</string>
<string name="bottom_page_telemetry">Statistiche di gioco</string>
-1
View File
@@ -2121,7 +2121,6 @@
<string name="bottom_companion_radio">ラジオ</string>
<string name="bottom_qam_title">クイックアクセス</string>
<string name="bottom_qam_align_left">左へ移動</string>
<string name="bottom_qam_align_center">中央へ移動</string>
<string name="bottom_qam_align_right">右へ移動</string>
<string name="bottom_qam_unavailable">Steam のクイックアクセスメニューはまだ使えません。</string>
<string name="bottom_page_telemetry">ゲーム内統計</string>
-1
View File
@@ -2121,7 +2121,6 @@
<string name="bottom_companion_radio">라디오</string>
<string name="bottom_qam_title">빠른 메뉴</string>
<string name="bottom_qam_align_left">왼쪽으로 이동</string>
<string name="bottom_qam_align_center">가운데로 이동</string>
<string name="bottom_qam_align_right">오른쪽으로 이동</string>
<string name="bottom_qam_unavailable">Steam 빠른 메뉴를 아직 사용할 수 없습니다.</string>
<string name="bottom_page_telemetry">게임 내 통계</string>
-1
View File
@@ -2121,7 +2121,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Akses Pantas</string>
<string name="bottom_qam_align_left">Alih ke kiri</string>
<string name="bottom_qam_align_center">Alih ke tengah</string>
<string name="bottom_qam_align_right">Alih ke kanan</string>
<string name="bottom_qam_unavailable">Menu Akses Pantas Steam belum tersedia.</string>
<string name="bottom_page_telemetry">Statistik dalam permainan</string>
-1
View File
@@ -2145,7 +2145,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Hurtigtilgang</string>
<string name="bottom_qam_align_left">Flytt til venstre</string>
<string name="bottom_qam_align_center">Flytt til midten</string>
<string name="bottom_qam_align_right">Flytt til høyre</string>
<string name="bottom_qam_unavailable">Steams hurtigtilgangsmeny er ikke tilgjengelig ennå.</string>
<string name="bottom_page_telemetry">Statistikk i spillet</string>
-1
View File
@@ -2145,7 +2145,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Snelle toegang</string>
<string name="bottom_qam_align_left">Naar links verplaatsen</string>
<string name="bottom_qam_align_center">Naar het midden verplaatsen</string>
<string name="bottom_qam_align_right">Naar rechts verplaatsen</string>
<string name="bottom_qam_unavailable">Het menu Snelle toegang van Steam is nog niet beschikbaar.</string>
<string name="bottom_page_telemetry">In-game statistieken</string>
-1
View File
@@ -2195,7 +2195,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Szybki dostęp</string>
<string name="bottom_qam_align_left">Przesuń w lewo</string>
<string name="bottom_qam_align_center">Przesuń na środek</string>
<string name="bottom_qam_align_right">Przesuń w prawo</string>
<string name="bottom_qam_unavailable">Menu szybkiego dostępu Steam nie jest jeszcze dostępne.</string>
<string name="bottom_page_telemetry">Statystyki w grze</string>
@@ -2175,7 +2175,6 @@
<string name="bottom_companion_radio">Rádio</string>
<string name="bottom_qam_title">Acesso rápido</string>
<string name="bottom_qam_align_left">Mover para a esquerda</string>
<string name="bottom_qam_align_center">Mover para o centro</string>
<string name="bottom_qam_align_right">Mover para a direita</string>
<string name="bottom_qam_unavailable">O menu de acesso rápido do Steam ainda não está disponível.</string>
<string name="bottom_page_telemetry">Estatísticas no jogo</string>
-1
View File
@@ -2183,7 +2183,6 @@
<string name="bottom_companion_radio">Rádio</string>
<string name="bottom_qam_title">Acesso rápido</string>
<string name="bottom_qam_align_left">Mover para a esquerda</string>
<string name="bottom_qam_align_center">Mover para o centro</string>
<string name="bottom_qam_align_right">Mover para a direita</string>
<string name="bottom_qam_unavailable">O menu de acesso rápido do Steam ainda não está disponível.</string>
<string name="bottom_page_telemetry">Estatísticas no jogo</string>
-1
View File
@@ -2170,7 +2170,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Acces rapid</string>
<string name="bottom_qam_align_left">Mută la stânga</string>
<string name="bottom_qam_align_center">Mută în centru</string>
<string name="bottom_qam_align_right">Mută la dreapta</string>
<string name="bottom_qam_unavailable">Meniul de acces rapid Steam nu este încă disponibil.</string>
<string name="bottom_page_telemetry">Statistici în joc</string>
-1
View File
@@ -2196,7 +2196,6 @@
<string name="bottom_companion_radio">Радио</string>
<string name="bottom_qam_title">Быстрый доступ</string>
<string name="bottom_qam_align_left">Сдвинуть влево</string>
<string name="bottom_qam_align_center">Сдвинуть в центр</string>
<string name="bottom_qam_align_right">Сдвинуть вправо</string>
<string name="bottom_qam_unavailable">Меню быстрого доступа Steam пока недоступно.</string>
<string name="bottom_page_telemetry">Игровая статистика</string>
-1
View File
@@ -2145,7 +2145,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Snabbåtkomst</string>
<string name="bottom_qam_align_left">Flytta till vänster</string>
<string name="bottom_qam_align_center">Flytta till mitten</string>
<string name="bottom_qam_align_right">Flytta till höger</string>
<string name="bottom_qam_unavailable">Steams snabbåtkomstmeny är inte tillgänglig än.</string>
<string name="bottom_page_telemetry">Statistik i spelet</string>
-1
View File
@@ -2121,7 +2121,6 @@
<string name="bottom_companion_radio">วิทยุ</string>
<string name="bottom_qam_title">เข้าถึงด่วน</string>
<string name="bottom_qam_align_left">ย้ายไปทางซ้าย</string>
<string name="bottom_qam_align_center">ย้ายไปตรงกลาง</string>
<string name="bottom_qam_align_right">ย้ายไปทางขวา</string>
<string name="bottom_qam_unavailable">เมนูเข้าถึงด่วนของ Steam ยังไม่พร้อมใช้งาน</string>
<string name="bottom_page_telemetry">สถิติในเกม</string>
-1
View File
@@ -2137,7 +2137,6 @@
<string name="bottom_companion_radio">Radyo</string>
<string name="bottom_qam_title">Hızlı Erişim</string>
<string name="bottom_qam_align_left">Sola taşı</string>
<string name="bottom_qam_align_center">Ortaya taşı</string>
<string name="bottom_qam_align_right">Sağa taşı</string>
<string name="bottom_qam_unavailable">Steam Hızlı Erişim menüsü henüz kullanılamıyor.</string>
<string name="bottom_page_telemetry">Oyun içi istatistikler</string>
-1
View File
@@ -2195,7 +2195,6 @@
<string name="bottom_companion_radio">Радіо</string>
<string name="bottom_qam_title">Швидкий доступ</string>
<string name="bottom_qam_align_left">Перемістити ліворуч</string>
<string name="bottom_qam_align_center">Перемістити в центр</string>
<string name="bottom_qam_align_right">Перемістити праворуч</string>
<string name="bottom_qam_unavailable">Меню швидкого доступу Steam ще недоступне.</string>
<string name="bottom_page_telemetry">Ігрова статистика</string>
-1
View File
@@ -2121,7 +2121,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Truy cập nhanh</string>
<string name="bottom_qam_align_left">Chuyển sang trái</string>
<string name="bottom_qam_align_center">Chuyển vào giữa</string>
<string name="bottom_qam_align_right">Chuyển sang phải</string>
<string name="bottom_qam_unavailable">Menu Truy cập nhanh của Steam chưa sẵn sàng.</string>
<string name="bottom_page_telemetry">Thông số trong game</string>
@@ -2198,7 +2198,6 @@
<string name="bottom_companion_radio">收音机</string>
<string name="bottom_qam_title">快速访问</string>
<string name="bottom_qam_align_left">移到左侧</string>
<string name="bottom_qam_align_center">移到中间</string>
<string name="bottom_qam_align_right">移到右侧</string>
<string name="bottom_qam_unavailable">Steam 快速访问菜单暂不可用。</string>
<string name="bottom_page_telemetry">游戏内数据</string>
@@ -2120,7 +2120,6 @@
<string name="bottom_companion_radio">收音機</string>
<string name="bottom_qam_title">快速存取</string>
<string name="bottom_qam_align_left">移到左側</string>
<string name="bottom_qam_align_center">移到中間</string>
<string name="bottom_qam_align_right">移到右側</string>
<string name="bottom_qam_unavailable">Steam 快速存取選單暫時無法使用。</string>
<string name="bottom_page_telemetry">遊戲內數據</string>
@@ -2120,7 +2120,6 @@
<string name="bottom_companion_radio">收音機</string>
<string name="bottom_qam_title">快速存取</string>
<string name="bottom_qam_align_left">移到左側</string>
<string name="bottom_qam_align_center">移到中間</string>
<string name="bottom_qam_align_right">移到右側</string>
<string name="bottom_qam_unavailable">Steam 快速存取選單暫時無法使用。</string>
<string name="bottom_page_telemetry">遊戲內數據</string>
-1
View File
@@ -2428,7 +2428,6 @@
<string name="bottom_companion_radio">Radio</string>
<string name="bottom_qam_title">Quick Access</string>
<string name="bottom_qam_align_left">Move to the left</string>
<string name="bottom_qam_align_center">Move to the center</string>
<string name="bottom_qam_align_right">Move to the right</string>
<string name="bottom_qam_unavailable">Steam\'s Quick Access menu is not available yet.</string>
<string name="bottom_page_telemetry">In-game stats</string>
+2 -2
View File
@@ -173,10 +173,10 @@ Plugin loaders expose Steam's CEF DevTools so the menu can be viewed in a deskto
- The menu's browser view is placed just outside the Big Picture window through its own `SetBounds`, so it keeps rendering but never shows on top, including while Steam slides it wider for Friends and chat.
- A timer inside Steam keeps this state every 250 ms, so the menu comes back, on the tab it was showing, as soon as Steam's main menu or a full-screen page such as Decky's store closes. It runs on a 5 s lease that the panel renews each second: if the app stops, Steam returns to normal by itself.
- The hold starts only once the session is ready: holding the menu before Steam's first frame kept gamescope from presenting anything.
- `droiddeck-qam-relay` relays the app to the DevTools port, which only answers clients inside the guest. The panel streams the menu with `Page.startScreencast`, scales its content to the panel and fills the rest with the menu's own background, and forwards touches on the menu with `Input.dispatchTouchEvent`. When the menu is narrower than the panel, buttons in the free space move it left, centre or right; the choice is kept.
- `droiddeck-qam-relay` relays the app to the DevTools port, which only answers clients inside the guest. The panel streams the menu with `Page.startScreencast`, scales its content to the panel and fills the rest with the menu's own background, and forwards touches on the menu with `Input.dispatchTouchEvent`. When the menu is narrower than the panel, a chevron in the free space on each side steps it left, centre or right; the choice is kept. Returning to the panel shows the last frame at once while the stream reconnects, and the first frame after a cold start takes about 1.4 s.
- Leaving the panel closes the menu and turns the patches off; the Steam button and the normal Quick Access button then work as before. Opening Steam's main menu replaces the Quick Access menu for as long as it is open, as on a Deck.
Checked with Decky Loader 3.3.1 enabled: its tab renders and takes touch, and its store opens full screen on top with the controller, then returns to the Decky tab below.
Checked with Decky Loader 3.3.1 enabled: its tab renders and takes touch, and its store opens full screen on top with the controller, then returns to the Decky tab below. Decky hooks the menu after Steam starts, so the panel reopens it once when that happens.
Limits: it relies on Steam's minified UI stores and method names, so a client update can break it; the panel then shows that the menu is not available.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 75 KiB