2021-04-14 03:28:43 -07:00
|
|
|
|
namespace Ryujinx.Common.Configuration.Hid
|
2020-05-02 19:00:53 -07:00
|
|
|
|
{
|
|
|
|
|
public class InputConfig
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2021-04-14 03:28:43 -07:00
|
|
|
|
/// The current version of the input file format
|
2020-05-02 19:00:53 -07:00
|
|
|
|
/// </summary>
|
2021-04-14 03:28:43 -07:00
|
|
|
|
public const int CurrentVersion = 1;
|
2020-05-02 19:00:53 -07:00
|
|
|
|
|
2021-04-14 03:28:43 -07:00
|
|
|
|
public int Version { get; set; }
|
2020-05-02 19:00:53 -07:00
|
|
|
|
|
2021-04-14 03:28:43 -07:00
|
|
|
|
public InputBackendType Backend { get; set; }
|
2020-09-29 14:32:42 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2021-04-14 03:28:43 -07:00
|
|
|
|
/// Controller id
|
2020-09-29 14:32:42 -07:00
|
|
|
|
/// </summary>
|
2021-04-14 03:28:43 -07:00
|
|
|
|
public string Id { get; set; }
|
2020-09-29 14:32:42 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2021-04-14 03:28:43 -07:00
|
|
|
|
/// Controller's Type
|
2020-09-29 14:32:42 -07:00
|
|
|
|
/// </summary>
|
2021-04-14 03:28:43 -07:00
|
|
|
|
public ControllerType ControllerType { get; set; }
|
2020-09-29 14:32:42 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2021-04-14 03:28:43 -07:00
|
|
|
|
/// Player's Index for the controller
|
2020-09-29 14:32:42 -07:00
|
|
|
|
/// </summary>
|
2021-04-14 03:28:43 -07:00
|
|
|
|
public PlayerIndex PlayerIndex { get; set; }
|
2020-05-02 19:00:53 -07:00
|
|
|
|
}
|
2021-04-14 03:28:43 -07:00
|
|
|
|
}
|