mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-09 07:58:32 +00:00
ba95ee54ab
This reverts commit 4ce4299ca2
.
39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
using System.ComponentModel;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Ryujinx.Common.Configuration.Hid
|
|
{
|
|
public class InputConfig : INotifyPropertyChanged
|
|
{
|
|
/// <summary>
|
|
/// The current version of the input file format
|
|
/// </summary>
|
|
public const int CurrentVersion = 1;
|
|
|
|
public int Version { get; set; }
|
|
|
|
public InputBackendType Backend { get; set; }
|
|
|
|
/// <summary>
|
|
/// Controller id
|
|
/// </summary>
|
|
public string Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Controller's Type
|
|
/// </summary>
|
|
public ControllerType ControllerType { get; set; }
|
|
|
|
/// <summary>
|
|
/// Player's Index for the controller
|
|
/// </summary>
|
|
public PlayerIndex PlayerIndex { get; set; }
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
|
|
{
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
}
|
|
} |