Compare commits

..

1 Commits

Author SHA1 Message Date
Vladimir Sokolov
2c30ebc84f Merge 299f2144c8 into e104ee6be3 2025-03-02 09:08:08 +00:00

View File

@@ -465,11 +465,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
await Dispatcher.UIThread.InvokeAsync(() =>
{
LoadDevices();
IsModified = true;
LoadSavedConfiguration();
FindPairedDevice();
_isChangeTrackingActive = true;
return System.Threading.Tasks.Task.CompletedTask;
});
@@ -478,6 +474,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
private async void HandleOnGamepadConnected(string id)
{
_isChangeTrackingActive = false;
await Dispatcher.UIThread.InvokeAsync(() =>
{
LoadDevices();
@@ -488,6 +485,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
IsModified = true;
LoadSavedConfiguration();
}
_isChangeTrackingActive = true;
});
}
@@ -849,8 +847,6 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
{
_isLoaded = false;
config.Id = null; // ignore device IDs (there is no longer a need to store device IDs for presets due to their independence from devices)
LoadConfiguration(config);
// This line of code hard-links profiles to controllers, the commented line allows profiles to be applied to all controllers