Added cycling through aura modes by FN+F4

This commit is contained in:
seerge
2023-02-19 19:40:49 +01:00
parent 2632a1b46d
commit 15112cb5c8
4 changed files with 98 additions and 48 deletions

View File

@@ -429,11 +429,10 @@ public class Aura
static byte[] MESSAGE_APPLY = { 0x5d, 0xb4 };
public const int Static = 0;
public const int Breathe = 0;
public const int Strobe = 0;
public const int Rainbow = 0;
public const int Breathe = 1;
public const int Strobe = 2;
public const int Rainbow = 3;
public const int SpeedSlow = 0;
public const int SpeedMedium = 1;
public const int SpeedHigh = 2;
@@ -559,6 +558,12 @@ namespace GHelper
settingsForm.CyclePerformanceMode();
});
return;
case 179: // FN+F4
settingsForm.BeginInvoke(delegate
{
settingsForm.CycleAuraMode();
});
return;
case 87: // Battery
settingsForm.BeginInvoke(delegate
{