steam-deck-tools/FanControl/Settings.cs
2023-01-12 23:04:32 +01:00

32 lines
725 B
C#

using CommonHelpers;
namespace FanControl
{
internal sealed class Settings : BaseSettings
{
public static readonly Settings Default = new Settings();
public Settings() : base("Settings")
{
TouchSettings = true;
}
public FanMode FanMode
{
get { return Get<FanMode>("FanMode", CommonHelpers.FanMode.Default); }
set { Set("FanMode", value); }
}
public bool AlwaysOnTop
{
get { return Get<bool>("AlwaysOnTop", true); }
set { Set("AlwaysOnTop", value); }
}
public bool EnableExperimentalFeatures
{
get { return Instance.IsDEBUG; }
}
}
}