mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-05 22:35:38 +00:00
Shortcut to reset to default
This commit is contained in:
parent
b672c4e9c3
commit
d7ad2f1d71
5 changed files with 51 additions and 5 deletions
|
|
@ -53,6 +53,7 @@ namespace PowerControl
|
|||
{
|
||||
Name = "Refresh Rate",
|
||||
ApplyDelay = 1000,
|
||||
ResetValue = () => { return Helpers.PhysicalMonitorBrightnessController.GetRefreshRates().Max(); },
|
||||
OptionsValues = delegate()
|
||||
{
|
||||
return Helpers.PhysicalMonitorBrightnessController.GetRefreshRates().Select(item => (object)item).ToArray();
|
||||
|
|
@ -72,6 +73,7 @@ namespace PowerControl
|
|||
{
|
||||
Name = "FPS Limit",
|
||||
ApplyDelay = 500,
|
||||
ResetValue = () => { return "Off"; },
|
||||
OptionsValues = delegate()
|
||||
{
|
||||
var refreshRate = Helpers.PhysicalMonitorBrightnessController.GetRefreshRate();
|
||||
|
|
@ -121,6 +123,7 @@ namespace PowerControl
|
|||
Name = "TDP",
|
||||
Options = { "Auto", "3W", "4W", "5W", "6W", "7W", "8W", "10W", "12W", "15W" },
|
||||
ApplyDelay = 1000,
|
||||
ResetValue = () => { return "Auto"; },
|
||||
ApplyValue = delegate(object selected)
|
||||
{
|
||||
int mW = 15000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue