Ally controller wake up tweaks

This commit is contained in:
Serge
2024-01-17 17:22:32 +01:00
parent b3b0b512d2
commit 736cad7ff5
3 changed files with 53 additions and 38 deletions

View File

@@ -21,7 +21,6 @@ namespace GHelper.Input
HidStream? input = AsusHid.FindHidStream(AsusHid.INPUT_ID);
// Fallback
int count = 0;
while (input == null && count++ < 5)
@@ -39,8 +38,6 @@ namespace GHelper.Input
Logger.WriteLine($"Input: {input.Device.DevicePath}");
if (AppConfig.IsAlly()) AllyControl.ApplyMode();
try
{
while (!cancellationTokenSource.Token.IsCancellationRequested)