mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-08 15:54:00 +00:00
parent
a561153521
commit
8abc01e8e3
3 changed files with 18 additions and 12 deletions
|
|
@ -71,10 +71,10 @@ namespace FanControl
|
|||
FanMode.Silent, new FanSensor.Profile()
|
||||
{
|
||||
Type = FanSensor.Profile.ProfileType.Exponential,
|
||||
MinInput = 55,
|
||||
MaxInput = 93,
|
||||
MinInput = 40,
|
||||
MaxInput = 95,
|
||||
A = 1.28f,
|
||||
B = 60f,
|
||||
B = Settings.Default.Silent4000RPMTemp - 28,
|
||||
C = 3000f
|
||||
}
|
||||
},
|
||||
|
|
@ -107,10 +107,10 @@ namespace FanControl
|
|||
FanMode.Silent, new FanSensor.Profile()
|
||||
{
|
||||
Type = FanSensor.Profile.ProfileType.Exponential,
|
||||
MinInput = 55,
|
||||
MaxInput = 93,
|
||||
MinInput = 40,
|
||||
MaxInput = 95,
|
||||
A = 1.28f,
|
||||
B = 60f,
|
||||
B = Settings.Default.Silent4000RPMTemp - 28,
|
||||
C = 3000f
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -23,9 +23,20 @@ namespace FanControl
|
|||
set { Set("AlwaysOnTop", value); }
|
||||
}
|
||||
|
||||
public int Silent4000RPMTemp
|
||||
{
|
||||
get { return ClampSilent4000RPMTemp(Get("Silent4000RPMTemp", 85)); }
|
||||
set { Set("Silent4000RPMTemp", ClampSilent4000RPMTemp(value)); }
|
||||
}
|
||||
|
||||
public bool EnableExperimentalFeatures
|
||||
{
|
||||
get { return Instance.IsDEBUG; }
|
||||
}
|
||||
|
||||
private int ClampSilent4000RPMTemp(int value)
|
||||
{
|
||||
return Math.Clamp(value, 70, 90);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue