mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-05-01 16:27:42 +02:00
Compare commits
1 commit
c01f5ac68f
...
9b0b2766bd
Author | SHA1 | Date | |
---|---|---|---|
![]() |
9b0b2766bd |
1 changed files with 7 additions and 9 deletions
|
@ -349,6 +349,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
|
|||
ConfigViewModel = new ControllerInputViewModel(this, new GamepadInputConfig(controllerInputConfig), VisualStick);
|
||||
}
|
||||
|
||||
FindPairedDeviceInConfigFile();
|
||||
}
|
||||
|
||||
private void FindPairedDeviceInConfigFile()
|
||||
|
@ -945,12 +946,9 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
|
|||
|
||||
public void RevertChanges()
|
||||
{
|
||||
LoadConfiguration(); // configuration preload is required if the paired gamepad was disconnected but was changed to another gamepad
|
||||
Device = Devices.ToList().FindIndex(d => d.Id == RevertDeviceId);
|
||||
|
||||
LoadDevice();
|
||||
LoadConfiguration();
|
||||
|
||||
OnPropertyChanged();
|
||||
IsModified = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue