Stick Visualizer #579

Merged
GreemDev merged 28 commits from xeyes into master 2025-03-03 02:43:31 +00:00
Showing only changes of commit 75c7a29278 - Show all commits

View File

@ -31,7 +31,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
private (float, float) _uiStickRight;
internal CancellationTokenSource _pollTokenSource = new();
private CancellationToken _pollToken;
private readonly CancellationToken _pollToken;
private bool _isLeft;
public bool IsLeft
@ -148,7 +148,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
UiStickRight = _selectedGamepad.GetStick(StickInputId.Right);
}
await Task.Delay(StickUiPollMs);
await Task.Delay(StickUiPollMs, token);
}
_pollTokenSource.Dispose();