diff --git a/src/Ryujinx/UI/Models/Input/HotkeyConfig.cs b/src/Ryujinx/UI/Models/Input/HotkeyConfig.cs index 02fd84b83..e7e537500 100644 --- a/src/Ryujinx/UI/Models/Input/HotkeyConfig.cs +++ b/src/Ryujinx/UI/Models/Input/HotkeyConfig.cs @@ -115,6 +115,17 @@ namespace Ryujinx.Ava.UI.Models.Input } } + private bool _turboWhileHeld; + public bool TurboWhileHeld + { + get => _turboWhileHeld; + set + { + _turboWhileHeld = value; + OnPropertyChanged(); + } + } + public HotkeyConfig(KeyboardHotkeys config) { if (config != null) @@ -129,6 +140,7 @@ namespace Ryujinx.Ava.UI.Models.Input VolumeUp = config.VolumeUp; VolumeDown = config.VolumeDown; ToggleTurbo = config.ToggleTurbo; + TurboWhileHeld = config.TurboWhileHeld; } } @@ -146,7 +158,8 @@ namespace Ryujinx.Ava.UI.Models.Input VolumeUp = VolumeUp, VolumeDown = VolumeDown, ToggleTurbo = ToggleTurbo, - }; + TurboWhileHeld = TurboWhileHeld, + }; return config; } diff --git a/src/Ryujinx/UI/Views/Settings/SettingsHotkeysView.axaml b/src/Ryujinx/UI/Views/Settings/SettingsHotkeysView.axaml index 4a1c75b47..d0479ee19 100644 --- a/src/Ryujinx/UI/Views/Settings/SettingsHotkeysView.axaml +++ b/src/Ryujinx/UI/Views/Settings/SettingsHotkeysView.axaml @@ -107,7 +107,7 @@ @@ -115,7 +115,7 @@ - +