mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 06:43:49 +00:00
Add initial support for Performance Overlay
This commit is contained in:
parent
c3a3cb4640
commit
059d64827f
19 changed files with 1252 additions and 1 deletions
29
PerformanceOverlay/Program.cs
Normal file
29
PerformanceOverlay/Program.cs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
using RTSSSharedMemoryNET;
|
||||
|
||||
namespace PerformanceOverlay
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
ApplicationConfiguration.Initialize();
|
||||
|
||||
try
|
||||
{
|
||||
foreach (var entry in RTSSSharedMemoryNET.OSD.GetOSDEntries())
|
||||
{
|
||||
Console.WriteLine("Entry: {0}", entry.Owner);
|
||||
Console.WriteLine("\t", entry.Text);
|
||||
}
|
||||
}
|
||||
catch(SystemException)
|
||||
{ }
|
||||
|
||||
using (var controller = new Controller())
|
||||
{
|
||||
Application.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue