diff options
Diffstat (limited to 'Ryujinx.Ava/Ui/Windows/ControllerSettingsWindow.axaml.cs')
-rw-r--r-- | Ryujinx.Ava/Ui/Windows/ControllerSettingsWindow.axaml.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Ava/Ui/Windows/ControllerSettingsWindow.axaml.cs b/Ryujinx.Ava/Ui/Windows/ControllerSettingsWindow.axaml.cs index 82ef75ca..8f2afc1d 100644 --- a/Ryujinx.Ava/Ui/Windows/ControllerSettingsWindow.axaml.cs +++ b/Ryujinx.Ava/Ui/Windows/ControllerSettingsWindow.axaml.cs @@ -104,11 +104,11 @@ namespace Ryujinx.Ava.Ui.Windows var device = ViewModel.Devices[ViewModel.Device]; - if (device.Type == Models.DeviceType.Keyboard) + if (device.Type == DeviceType.Keyboard) { assigner = new KeyboardKeyAssigner((IKeyboard)ViewModel.SelectedGamepad); } - else if (device.Type == Models.DeviceType.Controller) + else if (device.Type == DeviceType.Controller) { assigner = new GamepadButtonAssigner(ViewModel.SelectedGamepad, (ViewModel.Config as StandardControllerInputConfig).TriggerThreshold, forStick); } |