mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-03-29 08:55:02 +02:00
36 lines
717 B
C#
36 lines
717 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace CommonHelpers
|
|
{
|
|
public enum KernelDriversLoaded : uint
|
|
{
|
|
Yes = 4363232,
|
|
No
|
|
}
|
|
|
|
public enum OverlayMode : uint
|
|
{
|
|
FPS = 10032,
|
|
FPSWithBattery,
|
|
Battery,
|
|
Minimal,
|
|
Detail,
|
|
Full
|
|
}
|
|
|
|
public enum OverlayEnabled : uint
|
|
{
|
|
Yes = 378313,
|
|
No
|
|
}
|
|
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public struct OverlayModeSetting
|
|
{
|
|
public OverlayMode Current, Desired;
|
|
public OverlayEnabled CurrentEnabled, DesiredEnabled;
|
|
public KernelDriversLoaded KernelDriversLoaded;
|
|
public KernelDriversLoaded DesiredKernelDriversLoaded;
|
|
}
|
|
}
|