Initial implementation of analog stick visualization.

This commit is contained in:
MutantAura
2024-05-30 01:01:18 +01:00
committed by Evan Husted
parent 9b6afa0ea2
commit d2bb580aea
3 changed files with 145 additions and 7 deletions

View File

@@ -884,6 +884,8 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
_mainWindow.InputManager.GamepadDriver.OnGamepadConnected -= HandleOnGamepadConnected;
_mainWindow.InputManager.GamepadDriver.OnGamepadDisconnected -= HandleOnGamepadDisconnected;
(ConfigViewModel as ControllerInputViewModel)._pollTokenSource?.Cancel();
_mainWindow.ViewModel.AppHost?.NpadManager.UnblockInputUpdates();
SelectedGamepad?.Dispose();