mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Matrix logging
This commit is contained in:
1
app/Fans.Designer.cs
generated
1
app/Fans.Designer.cs
generated
@@ -427,6 +427,7 @@ namespace GHelper
|
|||||||
labelFansResult.Size = new Size(760, 32);
|
labelFansResult.Size = new Size(760, 32);
|
||||||
labelFansResult.TabIndex = 41;
|
labelFansResult.TabIndex = 41;
|
||||||
labelFansResult.TextAlign = ContentAlignment.TopRight;
|
labelFansResult.TextAlign = ContentAlignment.TopRight;
|
||||||
|
labelFansResult.Visible = false;
|
||||||
//
|
//
|
||||||
// Fans
|
// Fans
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ Global
|
|||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{D6138BB1-8FDB-4835-87EF-2FE41A3DD604}.Debug|Any CPU.ActiveCfg = Debug|x64
|
{D6138BB1-8FDB-4835-87EF-2FE41A3DD604}.Debug|Any CPU.ActiveCfg = Debug|x64
|
||||||
{D6138BB1-8FDB-4835-87EF-2FE41A3DD604}.Debug|Any CPU.Build.0 = Debug|x64
|
{D6138BB1-8FDB-4835-87EF-2FE41A3DD604}.Debug|Any CPU.Build.0 = Debug|x64
|
||||||
{D6138BB1-8FDB-4835-87EF-2FE41A3DD604}.Debug|x64.ActiveCfg = Debug|x64
|
{D6138BB1-8FDB-4835-87EF-2FE41A3DD604}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
{D6138BB1-8FDB-4835-87EF-2FE41A3DD604}.Debug|x64.Build.0 = Debug|x64
|
{D6138BB1-8FDB-4835-87EF-2FE41A3DD604}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
{D6138BB1-8FDB-4835-87EF-2FE41A3DD604}.Release|Any CPU.ActiveCfg = Release|x64
|
{D6138BB1-8FDB-4835-87EF-2FE41A3DD604}.Release|Any CPU.ActiveCfg = Release|x64
|
||||||
{D6138BB1-8FDB-4835-87EF-2FE41A3DD604}.Release|Any CPU.Build.0 = Release|x64
|
{D6138BB1-8FDB-4835-87EF-2FE41A3DD604}.Release|Any CPU.Build.0 = Release|x64
|
||||||
{D6138BB1-8FDB-4835-87EF-2FE41A3DD604}.Release|x64.ActiveCfg = Release|x64
|
{D6138BB1-8FDB-4835-87EF-2FE41A3DD604}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
|||||||
6
app/Keyboard.Designer.cs
generated
6
app/Keyboard.Designer.cs
generated
@@ -189,11 +189,11 @@ namespace GHelper
|
|||||||
groupLight.Dock = DockStyle.Top;
|
groupLight.Dock = DockStyle.Top;
|
||||||
groupLight.Location = new Point(10, 252);
|
groupLight.Location = new Point(10, 252);
|
||||||
groupLight.Name = "groupLight";
|
groupLight.Name = "groupLight";
|
||||||
groupLight.Size = new Size(840, 390);
|
groupLight.Size = new Size(840, 395);
|
||||||
groupLight.TabIndex = 1;
|
groupLight.TabIndex = 1;
|
||||||
groupLight.TabStop = false;
|
groupLight.TabStop = false;
|
||||||
groupLight.Text = Properties.Strings.KeyboardBacklight;
|
groupLight.Text = Properties.Strings.KeyboardBacklight;
|
||||||
groupLight.AutoSize = true;
|
//groupLight.AutoSize = true;
|
||||||
//
|
//
|
||||||
// labelBrightness
|
// labelBrightness
|
||||||
//
|
//
|
||||||
@@ -207,7 +207,7 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
trackBrightness.Location = new Point(228, 294);
|
trackBrightness.Location = new Point(228, 294);
|
||||||
trackBrightness.Name = "trackBrightness";
|
trackBrightness.Name = "trackBrightness";
|
||||||
trackBrightness.Size = new Size(600, 70);
|
trackBrightness.Size = new Size(600, 30);
|
||||||
trackBrightness.TabIndex = 1;
|
trackBrightness.TabIndex = 1;
|
||||||
trackBrightness.Minimum = 0;
|
trackBrightness.Minimum = 0;
|
||||||
trackBrightness.Maximum = 3;
|
trackBrightness.Maximum = 3;
|
||||||
|
|||||||
@@ -417,11 +417,13 @@ namespace GHelper
|
|||||||
}
|
}
|
||||||
|
|
||||||
StartMatrixTimer();
|
StartMatrixTimer();
|
||||||
|
Logger.WriteLine("Matrix GIF " + fileName);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mat.GenerateFrame(image);
|
mat.GenerateFrame(image);
|
||||||
mat.Present();
|
mat.Present();
|
||||||
|
Logger.WriteLine("Matrix " + fileName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -499,6 +501,7 @@ namespace GHelper
|
|||||||
if (brightness == 0 || (auto && SystemInformation.PowerStatus.PowerLineStatus != PowerLineStatus.Online))
|
if (brightness == 0 || (auto && SystemInformation.PowerStatus.PowerLineStatus != PowerLineStatus.Online))
|
||||||
{
|
{
|
||||||
mat.SetDisplayState(false);
|
mat.SetDisplayState(false);
|
||||||
|
Logger.WriteLine("Matrix Off");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -513,9 +516,11 @@ namespace GHelper
|
|||||||
case 3:
|
case 3:
|
||||||
mat.SetBuiltInAnimation(false);
|
mat.SetBuiltInAnimation(false);
|
||||||
StartMatrixTimer(1000);
|
StartMatrixTimer(1000);
|
||||||
|
Logger.WriteLine("Matrix Clock");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
mat.SetBuiltInAnimation(true, animation);
|
mat.SetBuiltInAnimation(true, animation);
|
||||||
|
Logger.WriteLine("Matrix builtin "+animation.AsByte);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -916,6 +921,11 @@ namespace GHelper
|
|||||||
customPower = limit_cpu;
|
customPower = limit_cpu;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Program.wmi.DeviceGet(ASUSWmi.PPT_APUC2) >= 0)
|
||||||
|
{
|
||||||
|
Program.wmi.DeviceSet(ASUSWmi.PPT_APUC2, 87, "PowerLimit C2");
|
||||||
|
}
|
||||||
|
|
||||||
Program.settingsForm.BeginInvoke(SetPerformanceLabel);
|
Program.settingsForm.BeginInvoke(SetPerformanceLabel);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user