upload
This commit is contained in:
commit
1c7a8cf25f
579 files changed
+83196
No files matched your search
@@ -0,0 +1,24 @@
|
||||
namespace VibranceHud;
|
||||
|
||||
public interface IGammaRamp
|
||||
{
|
||||
int DeviceWrites => 0;
|
||||
|
||||
bool LastApplyFailed => false;
|
||||
|
||||
GammaDelivery LastDelivery => GammaDelivery.Full;
|
||||
|
||||
void Apply(ushort[] ramp);
|
||||
|
||||
void Reset();
|
||||
|
||||
string? ApplyAllOrNothing(ushort[] ramp)
|
||||
{
|
||||
Apply(ramp);
|
||||
if (!LastApplyFailed)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return "Windows refused the Dark Boost ramp";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user