Feat: toggle to show hud only in a game (#2970)

* Add HUD visibility toggle for active games

* Add HUD visibility translations for all languages

* Fix HUD game visibility and Turkish strings

* Support compositor-only HUD game detection

* Fix HUD activity reconciliation and Steam focus

* Clear stale Gamescope focus metadata

* Clear stale Steam focus when metadata is unavailable

* Prevent HUD flicker on metadata read failures

* Prevent HUD visibility flicker

* Fix HUD visibility during compositor activity

* Fix HUD visibility during compositor activity

* Prevent Steam SHM frames activating HUD

* Fix HUD activity detection when Steam is focused

* Remove HUD detection comments

* Fix HUD game activity detection

* Fix HUD compositor activity detection

* Use Gamescope frames for HUD activity detection

* Restore fullscreen SHM frame statistics callback

* Restore fullscreen SHM frame statistics callback

* Fix HUD SHM frame reporting

* Prevent Steam focus from activating game-only HUD

* Fix SHM frame freshness guard and test harness

* Used suggestion code from rabbit

* Ignore Steam UI frames for game-only HUD

* Keep default HUD stats updating over Steam UI

* Isolate Steam fallback frame statistics

* Isolate Steam fallback frame statistics

* Trigger HUD APK build
This commit is contained in:
LunaDL authored and GitHub committed 2026-11-24 14:19:42 -05:00
1 parent e709e1c454
commit f920aad104
43 files changed
+190 -11

No files matched your search

+2
View File
@@ -4077,4 +4077,6 @@
<string name="theme_custom_signal">Επισημάνσεις</string>
<string name="theme_custom_good">Επιτυχία</string>
<string name="theme_custom_error">Σφάλμα</string>
<string name="hud_only_during_game">Εμφάνιση HUD μόνο κατά τη διάρκεια παιχνιδιού</string>
<string name="hud_only_during_game_hint">Απόκρυψη HUD όταν δεν ανιχνεύονται καρέ παιχνιδιού.</string>
</resources>