From 03083e72be2054c884f66461db8f27242257d49a Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Fri, 23 Feb 2024 20:33:24 -0500 Subject: [PATCH] Move ButtonValueType to seperate file --- src/Ryujinx.Input/ButtonValue.cs | 2 -- src/Ryujinx.Input/ButtonValueType.cs | 9 +++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 src/Ryujinx.Input/ButtonValueType.cs diff --git a/src/Ryujinx.Input/ButtonValue.cs b/src/Ryujinx.Input/ButtonValue.cs index d1c6efa1e..f34bbc9c3 100644 --- a/src/Ryujinx.Input/ButtonValue.cs +++ b/src/Ryujinx.Input/ButtonValue.cs @@ -2,8 +2,6 @@ using System; namespace Ryujinx.Input { - public enum ButtonValueType { Key, GamepadButtonInputId, StickId } - public readonly struct ButtonValue { public readonly ButtonValueType Type; diff --git a/src/Ryujinx.Input/ButtonValueType.cs b/src/Ryujinx.Input/ButtonValueType.cs new file mode 100644 index 000000000..13869869d --- /dev/null +++ b/src/Ryujinx.Input/ButtonValueType.cs @@ -0,0 +1,9 @@ +namespace Ryujinx.Input +{ + public enum ButtonValueType + { + Key, + GamepadButtonInputId, + StickId + } +}