Crimes are here to stay

This commit is contained in:
Isaac Marovitz 2023-05-19 09:02:07 -04:00 committed by Isaac Marovitz
parent b005814c72
commit 86fdd76013
3 changed files with 0 additions and 3 deletions

View file

@ -1,5 +1,4 @@
using Avalonia.Data.Converters; using Avalonia.Data.Converters;
using DynamicData.Kernel;
using Ryujinx.Ava.Common.Locale; using Ryujinx.Ava.Common.Locale;
using Ryujinx.Common.Configuration.Hid; using Ryujinx.Common.Configuration.Hid;
using Ryujinx.Common.Configuration.Hid.Controller; using Ryujinx.Common.Configuration.Hid.Controller;

View file

@ -70,7 +70,6 @@ namespace Ryujinx.Ava.UI.Views.Input
var viewModel = (DataContext as ControllerInputViewModel); var viewModel = (DataContext as ControllerInputViewModel);
viewModel.parentModel.IsModified = true; viewModel.parentModel.IsModified = true;
// This is a crime against code but I can't think of anything better rn
switch (button.Name) switch (button.Name)
{ {
case "ButtonZl": case "ButtonZl":

View file

@ -68,7 +68,6 @@ namespace Ryujinx.Ava.UI.Views.Input
var viewModel = (DataContext as KeyboardInputViewModel); var viewModel = (DataContext as KeyboardInputViewModel);
viewModel.parentModel.IsModified = true; viewModel.parentModel.IsModified = true;
// More crimes against humanity incoming
switch (button.Name) switch (button.Name)
{ {
case "ButtonZl": case "ButtonZl":