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