From 86fdd76013fdcb0bf8466bb7e7e72632602c20c9 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Fri, 19 May 2023 09:02:07 -0400 Subject: [PATCH] Crimes are here to stay --- src/Ryujinx.Ava/UI/Helpers/KeyValueConverter.cs | 1 - src/Ryujinx.Ava/UI/Views/Input/ControllerInputView.axaml.cs | 1 - src/Ryujinx.Ava/UI/Views/Input/KeyboardInputView.axaml.cs | 1 - 3 files changed, 3 deletions(-) diff --git a/src/Ryujinx.Ava/UI/Helpers/KeyValueConverter.cs b/src/Ryujinx.Ava/UI/Helpers/KeyValueConverter.cs index 1d8def0b8..e066da29e 100644 --- a/src/Ryujinx.Ava/UI/Helpers/KeyValueConverter.cs +++ b/src/Ryujinx.Ava/UI/Helpers/KeyValueConverter.cs @@ -1,5 +1,4 @@ using Avalonia.Data.Converters; -using DynamicData.Kernel; using Ryujinx.Ava.Common.Locale; using Ryujinx.Common.Configuration.Hid; using Ryujinx.Common.Configuration.Hid.Controller; diff --git a/src/Ryujinx.Ava/UI/Views/Input/ControllerInputView.axaml.cs b/src/Ryujinx.Ava/UI/Views/Input/ControllerInputView.axaml.cs index 11149af0d..d9c80cb2e 100644 --- a/src/Ryujinx.Ava/UI/Views/Input/ControllerInputView.axaml.cs +++ b/src/Ryujinx.Ava/UI/Views/Input/ControllerInputView.axaml.cs @@ -70,7 +70,6 @@ namespace Ryujinx.Ava.UI.Views.Input var viewModel = (DataContext as ControllerInputViewModel); viewModel.parentModel.IsModified = true; - // This is a crime against code but I can't think of anything better rn switch (button.Name) { case "ButtonZl": diff --git a/src/Ryujinx.Ava/UI/Views/Input/KeyboardInputView.axaml.cs b/src/Ryujinx.Ava/UI/Views/Input/KeyboardInputView.axaml.cs index ffbe55fe0..04e76bb32 100644 --- a/src/Ryujinx.Ava/UI/Views/Input/KeyboardInputView.axaml.cs +++ b/src/Ryujinx.Ava/UI/Views/Input/KeyboardInputView.axaml.cs @@ -68,7 +68,6 @@ namespace Ryujinx.Ava.UI.Views.Input var viewModel = (DataContext as KeyboardInputViewModel); viewModel.parentModel.IsModified = true; - // More crimes against humanity incoming switch (button.Name) { case "ButtonZl":