Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ English (US) release notes, mirroring CHANGELOG.md (Brazilian Portuguese). Befor
## [Unreleased]
### Changes
- Home: clicking a launcher (or pressing A on it) only picks what will open; **Play now** is what starts. Before, the click went straight into console mode, so picking looked like opening. With a controller or the keyboard, the focus moves down to **Play now** after the pick, so a second A plays. (#193)
- Guided tour: each stop moves on by itself once there has been time to read it (7 to 16 s), with a bar under the card showing how long is left, and the last one closes the tour. Nobody is stuck on a stop if the controller doesn't answer (reported with a PS5 controller). **A** goes on at once and **B** skips, as before. (#194)
### Fixes
- System and Session: picking an option from a list (resolution, audio output, how to turn the other screens off...) or closing it with B leaves the focus on the same row. Before, it went back to the category or the first screen, and you had to scroll down all over again. (#196)

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Notas em português do Brasil; a versão em inglês (Estados Unidos) fica em `CH
## [Unreleased]
### Mudanças
- Início: clicar num iniciador (ou apertar A nele) só escolhe o que vai abrir; quem começa é **Jogar agora**. Antes o clique já entrava no modo console, e escolher parecia abrir sozinho. No controle e no teclado, o foco desce para **Jogar agora** depois da escolha, então um segundo A joga. (#193)
- Tour guiado: cada parada avança sozinha depois do tempo de ler o texto (de 7 a 16 s), com uma barra embaixo do cartão mostrando quanto falta, e a última fecha o tour. Ninguém fica preso numa parada se o controle não responder (houve relato com controle de PS5). **A** avança na hora e **B** pula, como antes. (#194)
### Correções
- Sistema e Sessão: escolher uma opção numa lista (resolução, saída de áudio, como desligar as outras telas...) ou fechá-la com B deixa o foco na mesma linha. Antes ele voltava para a categoria ou para a primeira tela, e era preciso descer tudo de novo. (#196)

Expand Down
2 changes: 1 addition & 1 deletion docs/GUIDE.de-DE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Die **Tastenkombination für „Aktive Anwendungen“** macht mit dem Controller

## Die Oberfläche

Console Mode hat eine einzige Oberfläche, gestaltet wie die einer Konsole: Sie füllt den Bildschirm und funktioniert mit einem Xbox- oder PlayStation-Controller, der Maus oder der Tastatur (klicke auf eine Registerkarte oder nutze Bild auf / Bild ab; Eingabe und Esc wirken wie A und B). Beim ersten Öffnen führt dich eine Tour durch die Registerkarten, die Launcher, die Spielen-Schaltfläche, die Bildschirme, die Schnelleinstellungen und die Controller-Tastenkombinationen; **A** geht weiter, **B** überspringt sie. Um sie erneut zu sehen: **System → App → Tutorial**. Während die App lädt, zeigt sie ein Intro mit dem Logo und einem Startsound; jede Taste überspringt es, ab und zu kommt als Überraschung eines im Stil der Xbox 360 oder der PS4 mit dem Sound der Konsole; unter **System → App** wählst du einen Stil (damit enden die Überraschungen), siehst es sofort an und schaltest das Intro oder nur seinen Sound aus.
Console Mode hat eine einzige Oberfläche, gestaltet wie die einer Konsole: Sie füllt den Bildschirm und funktioniert mit einem Xbox- oder PlayStation-Controller, der Maus oder der Tastatur (klicke auf eine Registerkarte oder nutze Bild auf / Bild ab; Eingabe und Esc wirken wie A und B). Beim ersten Öffnen führt dich eine Tour durch die Registerkarten, die Launcher, die Spielen-Schaltfläche, die Bildschirme, die Schnelleinstellungen und die Controller-Tastenkombinationen; jeder Schritt geht von selbst weiter, sobald Zeit zum Lesen war (der Balken unter der Karte zeigt, wie lange noch), **A** geht sofort weiter, **B** überspringt sie. Um sie erneut zu sehen: **System → App → Tutorial**. Während die App lädt, zeigt sie ein Intro mit dem Logo und einem Startsound; jede Taste überspringt es, ab und zu kommt als Überraschung eines im Stil der Xbox 360 oder der PS4 mit dem Sound der Konsole; unter **System → App** wählst du einen Stil (damit enden die Überraschungen), siehst es sofort an und schaltest das Intro oder nur seinen Sound aus.

Unter **System → Controller** wählst du das Tastenlayout: **Automatisch**, **Xbox** oder **PlayStation**. Vorschau und Tastenbeschriftungen richten sich nach dieser Wahl, die beim Schließen der App gespeichert wird. Das ändert nur die angezeigten Symbole; die Eingaben des Controllers behalten ihre bisherige Belegung.

Expand Down
2 changes: 1 addition & 1 deletion docs/GUIDE.es-ES.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ El **atajo de la vista de tareas** hace desde el mando lo que hace Win + Tab: ab

## La interfaz

Console Mode tiene una sola interfaz, hecha como la de una consola: ocupa toda la pantalla y funciona con un mando de Xbox o PlayStation, el ratón o el teclado (haz clic en una pestaña o usa Re Pág / Av Pág; Intro y Esc hacen de A y B). La primera vez que la abres, un recorrido guiado pasa por las pestañas, los lanzadores, el botón de jugar, las pantallas, los ajustes rápidos y los atajos del mando; **A** avanza y **B** lo salta. Para volver a verlo: **Sistema → Aplicación → Tutorial**. Mientras carga, la aplicación muestra una apertura con el logotipo y un sonido de entrada; cualquier botón la salta, de vez en cuando, por sorpresa, es una inspirada en la Xbox 360 o en la PS4, con el sonido de la consola; **Sistema → Aplicación** elige un estilo (lo que acaba con las sorpresas), la muestra al momento y desactiva la apertura o solo su sonido.
Console Mode tiene una sola interfaz, hecha como la de una consola: ocupa toda la pantalla y funciona con un mando de Xbox o PlayStation, el ratón o el teclado (haz clic en una pestaña o usa Re Pág / Av Pág; Intro y Esc hacen de A y B). La primera vez que la abres, un recorrido guiado pasa por las pestañas, los lanzadores, el botón de jugar, las pantallas, los ajustes rápidos y los atajos del mando; cada parada avanza sola cuando ha habido tiempo de leerla (la barra bajo la tarjeta muestra cuánto falta), **A** avanza al momento y **B** lo salta. Para volver a verlo: **Sistema → Aplicación → Tutorial**. Mientras carga, la aplicación muestra una apertura con el logotipo y un sonido de entrada; cualquier botón la salta, de vez en cuando, por sorpresa, es una inspirada en la Xbox 360 o en la PS4, con el sonido de la consola; **Sistema → Aplicación** elige un estilo (lo que acaba con las sorpresas), la muestra al momento y desactiva la apertura o solo su sonido.

En **Sistema → Mando**, elige el diseño de botones: **Automático**, **Xbox** o **PlayStation**. La vista previa y las etiquetas de los atajos siguen esa elección, que se guarda al cerrar la aplicación. Esto solo cambia los símbolos que se muestran; las entradas del mando mantienen su asignación.

Expand Down
2 changes: 1 addition & 1 deletion docs/GUIDE.fr-FR.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Le **raccourci de l'affichage des tâches** fait à la manette ce que fait Win +

## L'interface

Console Mode a une seule interface, conçue comme celle d'une console : elle occupe tout l'écran et marche avec une manette Xbox ou PlayStation, la souris ou le clavier (cliquez sur un onglet ou utilisez Page précédente / Page suivante ; Entrée et Échap font office de A et B). À la première ouverture, une visite guidée passe par les onglets, les lanceurs, le bouton Jouer, les écrans, les réglages rapides et les raccourcis manette ; **A** avance, **B** la passe. Pour la revoir : **Système → Application → Tutoriel**. Pendant le chargement, l'application affiche une ouverture avec son logo et un son d'entrée ; n'importe quel bouton la passe, de temps en temps, par surprise, c'est une inspirée de la Xbox 360 ou de la PS4, avec le son de la console ; **Système → Application** choisit un style (ce qui met fin aux surprises), la montre tout de suite et désactive l'ouverture ou seulement son son.
Console Mode a une seule interface, conçue comme celle d'une console : elle occupe tout l'écran et marche avec une manette Xbox ou PlayStation, la souris ou le clavier (cliquez sur un onglet ou utilisez Page précédente / Page suivante ; Entrée et Échap font office de A et B). À la première ouverture, une visite guidée passe par les onglets, les lanceurs, le bouton Jouer, les écrans, les réglages rapides et les raccourcis manette ; chaque étape avance seule une fois le temps de la lire écoulé (la barre sous la carte montre ce qu'il reste), **A** avance tout de suite, **B** la passe. Pour la revoir : **Système → Application → Tutoriel**. Pendant le chargement, l'application affiche une ouverture avec son logo et un son d'entrée ; n'importe quel bouton la passe, de temps en temps, par surprise, c'est une inspirée de la Xbox 360 ou de la PS4, avec le son de la console ; **Système → Application** choisit un style (ce qui met fin aux surprises), la montre tout de suite et désactive l'ouverture ou seulement son son.

Dans **Système → Manette**, choisissez la disposition des boutons : **Automatique**, **Xbox** ou **PlayStation**. L'aperçu et les libellés des raccourcis suivent ce choix, qui est enregistré à la fermeture de l'application. Seuls les symboles affichés changent ; les entrées de la manette gardent leur correspondance actuelle.

Expand Down
2 changes: 1 addition & 1 deletion docs/GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The **Task View shortcut** does from the controller what Win + Tab does: it open

## The interface

Console Mode has one interface, made like a console's: it fills the screen and works with an Xbox or PlayStation controller, the mouse or the keyboard (click a tab or use Page Up / Page Down; Enter and Esc work as A and B). The first time you open it, a guided tour walks through the tabs, the launchers, the play button, the screens, the quick settings and the controller shortcuts; **A** goes on, **B** skips it. To see it again: **System → App → Tutorial**. While the app loads it shows an opening with its logo and an entrance sound; any button skips it, now and then it is, as a surprise, one inspired by the Xbox 360 or the PS4, with that console's sound; **System → App** picks a style (which ends the surprises), plays it right away, and turns it off, or just its sound.
Console Mode has one interface, made like a console's: it fills the screen and works with an Xbox or PlayStation controller, the mouse or the keyboard (click a tab or use Page Up / Page Down; Enter and Esc work as A and B). The first time you open it, a guided tour walks through the tabs, the launchers, the play button, the screens, the quick settings and the controller shortcuts; each stop moves on by itself once there has been time to read it (the bar under the card shows how long is left), **A** goes on at once, **B** skips it. To see it again: **System → App → Tutorial**. While the app loads it shows an opening with its logo and an entrance sound; any button skips it, now and then it is, as a surprise, one inspired by the Xbox 360 or the PS4, with that console's sound; **System → App** picks a style (which ends the surprises), plays it right away, and turns it off, or just its sound.

**Home** puts your launchers in a row at the top (Steam Big Picture, Playnite, Xbox mode): **A** on one picks what opens, and **Play now** below starts it. The line under the name says where you will play and what changes (audio, resolution, FPS, HDR, VRR); the round button next to Play now opens **Session**, with the screens and quick settings.

Expand Down
2 changes: 1 addition & 1 deletion docs/GUIDE.pt-BR.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ O **atalho da visão de tarefas** faz pelo controle o que o Win + Tab faz: abre

## A interface

O Console Mode tem uma interface só, feita como a de um console: ocupa a tela toda e funciona com controle Xbox ou PlayStation, mouse ou teclado (clique numa aba ou use Page Up / Page Down; Enter e Esc fazem o papel de A e B). Na primeira vez que você abre, um tour guiado passa pelas abas, pelos iniciadores, pelo botão de jogar, pelas telas, pelos ajustes rápidos e pelos atalhos do controle; **A** avança e **B** pula. Para ver de novo: **Sistema → App → Tutorial**. Enquanto carrega, o app mostra uma abertura com o logo e um som de entrada; qualquer botão pula, de vez em quando, de surpresa, vem uma inspirada no Xbox 360 ou no PS4, com o som do console; **Sistema → App** escolhe um estilo (o que acaba com as surpresas), mostra a abertura na hora e desliga a abertura ou só o som.
O Console Mode tem uma interface só, feita como a de um console: ocupa a tela toda e funciona com controle Xbox ou PlayStation, mouse ou teclado (clique numa aba ou use Page Up / Page Down; Enter e Esc fazem o papel de A e B). Na primeira vez que você abre, um tour guiado passa pelas abas, pelos iniciadores, pelo botão de jogar, pelas telas, pelos ajustes rápidos e pelos atalhos do controle; cada parada avança sozinha depois do tempo de ler (a barra embaixo do cartão mostra quanto falta), **A** avança na hora e **B** pula. Para ver de novo: **Sistema → App → Tutorial**. Enquanto carrega, o app mostra uma abertura com o logo e um som de entrada; qualquer botão pula, de vez em quando, de surpresa, vem uma inspirada no Xbox 360 ou no PS4, com o som do console; **Sistema → App** escolhe um estilo (o que acaba com as surpresas), mostra a abertura na hora e desliga a abertura ou só o som.

O **Início** mostra os seus iniciadores numa fileira no topo (Steam Big Picture, Playnite, modo Xbox): **A** num deles escolhe o que abre, e **Jogar agora** logo abaixo começa. A linha embaixo do nome diz onde você vai jogar e o que muda (áudio, resolução, FPS, HDR, VRR); o botão redondo ao lado de Jogar agora abre a **Sessão**, com as telas e os ajustes rápidos.

Expand Down
2 changes: 1 addition & 1 deletion docs/GUIDE.ru-RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

## Интерфейс

У Console Mode один интерфейс, устроенный как у консоли: он занимает весь экран и работает с геймпадом Xbox или PlayStation, мышью или клавиатурой (щёлкните по вкладке или используйте Page Up / Page Down; Enter и Esc работают как A и B). При первом запуске обзор проводит по вкладкам, лаунчерам, кнопке «Играть», экранам, быстрым настройкам и сочетаниям геймпада; **A** — дальше, **B** — пропустить. Чтобы посмотреть его снова: **«Система» → «Приложение» → «Обучение»**. Пока приложение загружается, показывается заставка с логотипом и звуком; любая кнопка её пропускает, иногда для сюрприза показывается заставка в духе Xbox 360 или PS4 со звуком консоли; в **«Система» → «Приложение»** можно выбрать стиль (после этого сюрпризов не будет), сразу посмотреть её и выключить заставку или только её звук.
У Console Mode один интерфейс, устроенный как у консоли: он занимает весь экран и работает с геймпадом Xbox или PlayStation, мышью или клавиатурой (щёлкните по вкладке или используйте Page Up / Page Down; Enter и Esc работают как A и B). При первом запуске обзор проводит по вкладкам, лаунчерам, кнопке «Играть», экранам, быстрым настройкам и сочетаниям геймпада; каждый шаг переходит к следующему сам, когда было время его прочитать (полоска под карточкой показывает, сколько осталось), **A** — дальше сразу, **B** — пропустить. Чтобы посмотреть его снова: **«Система» → «Приложение» → «Обучение»**. Пока приложение загружается, показывается заставка с логотипом и звуком; любая кнопка её пропускает, иногда для сюрприза показывается заставка в духе Xbox 360 или PS4 со звуком консоли; в **«Система» → «Приложение»** можно выбрать стиль (после этого сюрпризов не будет), сразу посмотреть её и выключить заставку или только её звук.

В разделе **«Система» → «Геймпад»** выберите раскладку кнопок: **«Автоматически»**, **Xbox** или **PlayStation**. Предпросмотр и подписи сочетаний следуют выбору, который сохраняется при закрытии приложения. Меняются только отображаемые символы; назначение кнопок геймпада остаётся прежним.

Expand Down
7 changes: 7 additions & 0 deletions docs/TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,13 @@ Pré-condições: a opção **Tirar o ponteiro do mouse do caminho** ligada (é
- [ ] Sessão: Saída de áudio e Resolução, escolhendo um valor ou fechando com B: o foco volta para o ajuste, não para a primeira tela. Resultado: ______
- [ ] Com o mouse: clicar numa opção, escolher um valor; a lista fecha e a página não pula. Resultado: ______

## Tour que avança sozinho (#194)

- [ ] Sem tocar em nada, o tour passa por todas as paradas sozinho: cada uma fica o tempo de ler (de 7 a 16 s), a barra embaixo do cartão enche nesse tempo, e a última fecha o tour e volta para o Início (reabrir o app não mostra o tour de novo). Resultado: ______
- [ ] A (ou ✕), Voltar e um clique em Próximo agem na hora, e a parada nova começa a barra do zero. B (ou ○) e Pular tutorial fecham o tour e a barra para. Resultado: ______
- [ ] Com o app em segundo plano (Alt + Tab para outra janela), a parada não avança; ao voltar, ela conta o tempo de novo. Resultado: ______
- [ ] Com controle de PS5: o tour avança sozinho mesmo que os botões não respondam nele. Anotar se ✕ e ○ funcionam no tour. Resultado: ______

## Interface única e tour guiado (1.7.0)

Pré-condições: um `config.json` sem `consoleTourDone` (vale para quem atualiza de uma versão anterior, mesmo tendo visto o tutorial antigo). Teste com controle, só com mouse e só com teclado.
Expand Down
11 changes: 11 additions & 0 deletions src/ConsoleMode/Services/ConsoleTour.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@ public static class ConsoleTour
/// </summary>
public static bool ShouldOffer(bool tourDone, bool sessionActive) => !tourDone && !sessionActive;

/// <summary>
/// How long a stop stays before the tour moves on by itself: time to read its texts (about 16 characters a
/// second, from across the room), never under 7 s or over 16 s. So the tour never depends on the pad answering:
/// with a controller it doesn't hear (reported with a PlayStation pad), nobody is left stuck on a stop.
/// </summary>
public static TimeSpan DwellTime(string title, string body)
{
var seconds = 3 + (title.Length + body.Length) / 16.0;
return TimeSpan.FromSeconds(Math.Clamp(seconds, 7, 16));
}

/// <summary>The stop after (step 1) or before (-1) this one, or null past either end.</summary>
public static int? Step(int index, int step)
{
Expand Down
4 changes: 4 additions & 0 deletions src/ConsoleMode/Views/ConsoleHomeView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -1215,6 +1215,10 @@
<TextBlock Text="{x:Bind ViewModel.Texts.SkipTour, Mode=OneWay}" VerticalAlignment="Center" FontSize="15"/>
</StackPanel>
</StackPanel>
<!-- The stop's time running out: the tour moves on by itself when it fills (ConsoleTour.DwellTime) -->
<Grid Height="4" CornerRadius="2" Background="#26FFFFFF" Margin="0,4,0,0">
<Border x:Name="TourTimeBar" CornerRadius="2" Background="{ThemeResource AccentFillColorDefaultBrush}"/>
</Grid>
</StackPanel>
</Border>
</Grid>
Expand Down
Loading
Loading