Flicker-free dimming slider for OLED models (#2109)

* Gamma Init

* Cleanup

* Show flicker-free dimming only on supported models

* Gamma ramp tweaks

* Gamma improvements

* Stronger dimming

* Added OLED model detection
This commit is contained in:
Serge
2024-02-24 11:41:41 +01:00
committed by GitHub
parent 034b46e557
commit 285cd81509
10 changed files with 408 additions and 42 deletions

View File

@@ -395,6 +395,11 @@ public static class AppConfig
return ContainsModel("GA503") || IsSlash();
}
public static bool IsOLED()
{
return ContainsModel("OLED") || IsSlash() || ContainsModel("UX64") || ContainsModel("UX34") || ContainsModel("K360") || ContainsModel("X150");
}
public static bool IsStrix()
{
return ContainsModel("Strix") || ContainsModel("Scar") || ContainsModel("G703G");