mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-02-11 01:54:24 +01:00
Silent Fan profile added (v3.0)
This commit is contained in:
parent
525b7d53e2
commit
98ab74219d
|
|
@ -1,9 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace CommonHelpers
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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.Silent4000RPMThreshold - 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.Silent4000RPMThreshold - 28,
|
||||
C = 3000f
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -23,6 +23,12 @@ namespace FanControl
|
|||
set { Set("AlwaysOnTop", value); }
|
||||
}
|
||||
|
||||
public int Silent4000RPMThreshold
|
||||
{
|
||||
get { return Get("Silent4000RPMThreshold", 85); }
|
||||
set { Set("Silent4000RPMThreshold", Math.Min(Math.Max(80, value), 90)); }
|
||||
}
|
||||
|
||||
public bool EnableExperimentalFeatures
|
||||
{
|
||||
get { return Instance.IsDEBUG; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue