mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-10 04:07:49 +02:00
Fix missing string enum converters for the config (#4634)
* Fix missing string enum converters for the config * Revert changing KeyboardHotkeys to struct This needs to be done because Avalonia's TwoWay Binding breaks otherwise.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
namespace Ryujinx.Common.Configuration.Hid.Controller
|
||||
using Ryujinx.Common.Utilities;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Ryujinx.Common.Configuration.Hid.Controller
|
||||
{
|
||||
[JsonConverter(typeof(TypedStringEnumConverter<GamepadInputId>))]
|
||||
public enum GamepadInputId : byte
|
||||
{
|
||||
Unbound,
|
||||
@@ -51,4 +55,4 @@
|
||||
|
||||
Count
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user