mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Single Color
This commit is contained in:
@@ -300,7 +300,7 @@ public static class AppConfig
|
|||||||
|
|
||||||
public static bool IsSingleColor()
|
public static bool IsSingleColor()
|
||||||
{
|
{
|
||||||
return ContainsModel("GA401") || ContainsModel("X13");
|
return ContainsModel("GA401");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool IsStrix()
|
public static bool IsStrix()
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ namespace GHelper
|
|||||||
{
|
{
|
||||||
timer.Elapsed += Timer_Elapsed;
|
timer.Elapsed += Timer_Elapsed;
|
||||||
|
|
||||||
isSingleColor = AppConfig.IsSingleColor();
|
isSingleColor = AppConfig.ContainsModel("GA401") || AppConfig.ContainsModel("X13"); // Mono Color
|
||||||
|
|
||||||
var device = GetDevice(AURA_HID_ID);
|
var device = GetDevice(AURA_HID_ID);
|
||||||
if (device is not null && device.Attributes.Version == 22 && AppConfig.ContainsModel("GA402X")) isSingleColor = true;
|
if (device is not null && device.Attributes.Version == 22 && AppConfig.ContainsModel("GA402X")) isSingleColor = true;
|
||||||
|
|||||||
2
app/Properties/Strings.Designer.cs
generated
2
app/Properties/Strings.Designer.cs
generated
@@ -565,7 +565,7 @@ namespace GHelper.Properties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Download Update.
|
/// Looks up a localized string similar to Download.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static string DownloadUpdate {
|
internal static string DownloadUpdate {
|
||||||
get {
|
get {
|
||||||
|
|||||||
@@ -286,7 +286,7 @@
|
|||||||
<value>Discharging</value>
|
<value>Discharging</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DownloadUpdate" xml:space="preserve">
|
<data name="DownloadUpdate" xml:space="preserve">
|
||||||
<value>Download Update</value>
|
<value>Download</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DriverAndSoftware" xml:space="preserve">
|
<data name="DriverAndSoftware" xml:space="preserve">
|
||||||
<value>Drivers and Software</value>
|
<value>Drivers and Software</value>
|
||||||
|
|||||||
@@ -633,7 +633,7 @@ namespace GHelper
|
|||||||
comboKeyboard.SelectedValueChanged += ComboKeyboard_SelectedValueChanged;
|
comboKeyboard.SelectedValueChanged += ComboKeyboard_SelectedValueChanged;
|
||||||
|
|
||||||
|
|
||||||
if (AsusUSB.isSingleColor)
|
if (AppConfig.IsSingleColor())
|
||||||
{
|
{
|
||||||
panelColor.Visible = false;
|
panelColor.Visible = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user